harry 3 anni fa
parent
commit
02d4d5fb0d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      BFRecordScreenKit/Classes/BFRecordExport.swift.swift

+ 1 - 1
BFRecordScreenKit/Classes/BFRecordExport.swift.swift

@@ -113,7 +113,7 @@ public class BFRecordExport {
             
             for stick in mStickers {
                 if stick.type == StickerType.VIDEO.rawValue {
-                    let asset = AVURLAsset(url: URL(fileURLWithPath: documensDirectory + stick.locationPath), options: avAssertOptions)
+                    let asset = AVURLAsset(url: URL(fileURLWithPath: stick.locationPath), options: avAssertOptions)
                     
                     let cbr = asset.tracks(withMediaType: .video).first?.estimatedDataRate
                     if Int(cbr ?? 0) > orgeBitRate {