Post

Replies

Boosts

Views

Activity

Reply to AVAssetExportSession fails to export videos downloaded from iCloud
Hey, I've run into this problem and I've found that using let strongReferenceToDelegate = ResourceLoaderDelegate() let asset = /* some AVAsset */ (asset as? AVURLAsset)?.resourceLoader.setDelegate(strongReferenceToDelegate, queue: .main) where ResourceLoaderDelegate is simply: extension ResourceLoaderDelegate: AVAssetResourceLoaderDelegate { } resolved the issue for me. Unfortunately I couldn't tell you why this works, I suspect it's a bug with the implementation. If this works for you, and you can figure out whats going on, please let us know as I'd like to understand this as well.
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’21
Reply to AVPlayer instances failing and cutting to black screen
Thanks, I've raised FB9750875 Is there anything I can do to react to this kind of media service reset? I can observe AVAudioSession.mediaServicesWereResetNotification but this doesn't seem to be posted when this issue occurs
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to SF Symbols
If you're after a UIImage representation of SF Symbols, it's just UIImage(systemName: "some_sf_symbol_name")
Replies
Boosts
Views
Activity
May ’21
Reply to AVAssetExportSession fails to export videos downloaded from iCloud
Hey, I've run into this problem and I've found that using let strongReferenceToDelegate = ResourceLoaderDelegate() let asset = /* some AVAsset */ (asset as? AVURLAsset)?.resourceLoader.setDelegate(strongReferenceToDelegate, queue: .main) where ResourceLoaderDelegate is simply: extension ResourceLoaderDelegate: AVAssetResourceLoaderDelegate { } resolved the issue for me. Unfortunately I couldn't tell you why this works, I suspect it's a bug with the implementation. If this works for you, and you can figure out whats going on, please let us know as I'd like to understand this as well.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’21