Post

Replies

Boosts

Views

Activity

[iOS 16] AVAggregateAssetDownloadTask reports CoreMediaErrorDomain Code=-12640
I'm trying to download HLS assets using AVAggregateAssetDownloadTask. It's pretty stable on iOS < 16.0. But after updating to iOS 16 I'm getting randomly following error: Task <DB57343C-5D3A-4500-A886-A30FD16AD2C3>.<3> finished with error [-12640] Error Domain=CoreMediaErrorDomain Code=-12640 "(null)" UserInfo={_NSURLErrorRelatedURLSessionTaskErrorKey=(     "BackgroundAVAssetDownloadTask <DB57343C-5D3A-4500-A886-A30FD16AD2C3>.<3>" ), _NSURLErrorFailingURLSessionTaskErrorKey=BackgroundAVAssetDownloadTask <DB57343C-5D3A-4500-A886-A30FD16AD2C3>.<3>} Few retry attempts usually solve the issue. I have compared requests made by the app using proxy server and .m3u8 playlist does not differ between successful and failed download attempts. This is the network traffic when download fails. It stops on ...Audio_Selector.m3u8 playlist. And this is the network traffic when download successfully continues: Thanks!
4
3
2.5k
Oct ’22
[tvOS] AVPlayerViewController displays time period label for Live stream
During Live Stream playback on tvOS using AVPlayerViewController we noticed strange time period label: 12:30 PM - 1:00 PM next to the live indicator. It seems that during the start of the playback, the value is set to a 30-minute time period. Questions: What does 12:30 PM - 1:00 PM mean? Can we hide this label or manipulate it using tags in HLS playlist? We do not understand where this value (12:30 PM - 1:00 PM) comes from. Here is an example of our playlist: #EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:3 #EXT-X-MEDIA-SEQUENCE:9091 #EXT-X-PROGRAM-DATE-TIME:2023-02-21T12:39:06.640Z As you can see it's not a EXT-X-PROGRAM-DATE-TIME Thanks!
0
0
607
Mar ’23