Post

Replies

Boosts

Views

Activity

AVAssetResourceLoaderDelegate and TS files error: Error Domain=CoreMediaErrorDomain Code=-12881 "custom url not redirect"
Hello,I've used AVAssetResourceLoaderDelegate and sucessfully implemented ways to store mp3 and mp4 files.The problem starts when I try to implement the same thing for HLS. The master playlists (m3u8) are working perfectly fine but when I try the same for .ts files (video segments) I get this error: Error Domain=CoreMediaErrorDomain Code=-12881 "custom url not redirect"I've tried everything and even using the redirect approach to a filepath URL fails.The only possible solution is to have an internal HTTP server but that doesn't make sense to me. If I'm implementing AVAssetResourceLoaderDelegate then I should be apple to feed AVFoundation the data needed to play a video, right?Thanks in advance.Help for this would be much appreciated.
20
0
8.5k
Jan ’19