Closed drew-512 closed 1 year ago
Playback of a local m3u8 file is not supported by Apple, and therefore we're unable to support it. You will need to host your files on a web server, this can be running locally though (we use nginx here for testing purposes).
So a GET of a m3u8 file is supported but a local read of a file isn't, correct? For my own knowledge, this is just a matter of feeding a m3u8 (and mimetype) via http GET to AVPro, correct? Not getting how it's related to Apple.
On a related note -- I did have a question around IRandomAccessStream support since it unfortunately is Windows-specific (which would also trivially address this issue):
https://github.com/RenderHeads/UnityPlugin-AVProVideo/issues/1408
Thanks for your consideration, Drew
The Apple part is because AVFoundation does not support loading of local m3u8 files. For HLS playback, the m3u8 and associated files have to come from an HTTP server.
Thanks mate, ttya before long...
Describe the issue A local m3u8 file fed to
MediaPlayer
viaMediaPath
results in an error.Your Setup (please complete the following information):
To Reproduce
Path
[AVProVideo] Error: Loading failed. File not found, codec not supported, video resolution too high or insufficient system resources.