Post

Replies

Boosts

Views

Activity

HLS text track captions displaying at the wrong time
I have a video player application and while playing an HLS video on AVPlayer, I noticed that the muxed VTT subtitles are not showing up at the correct time. For example, using AVPlayerItemLegibleOutput I can see that a text that was supposed to show at 24:37.107 is actually displaying at 24:36.406. What I would like to know is if there's anything that I can do to identify why that is happening and what would cause AVPlayer to lose sync for the embedded captions.
0
0
754
Jul ’21
AVAssetDownloadTask not working in iOS 13 beta
I have an app that supports Offline HLS playback. The download was implemented based on Apple's guide at https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/MediaPlaybackGuide/Contents/Resources/en.lproj/HTTPLiveStreaming/HTTPLiveStreaming.htmlThis feature is working fine, except on iOS 13 beta. When trying to download an HLS playlist using iOS 13, the download fails almost immediately. The error is:Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedDescription=The operation could not be completed, _NSURLErrorFailingURLSessionTaskErrorKey=BackgroundAVAssetDownloadTask <AFDCA3CC-FA49-488B-AB16-C74425345EE4>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "BackgroundAVAssetDownloadTask <AFDCA3CC-FA49-488B-AB16-C74425345EE4>.<1>"), NSLocalizedFailureReason=An unknown error occurred (-16654)}Does anyone know what could be the cause for this error? Thanks!
15
0
6.9k
Aug ’19