Pregunta

i try to save .m3u8 & .ts file on local ,then using AVplayer to play it, but player always loading fail. Have any way to play it , or i have to set small http server on device to put the file then play it?

Thanks all

¿Fue útil?

Solución

Yes, you'll need to setup a http server to server the file. check cocoahttpserver

Or, you can try to convert the .ts file to .mp4, with TS2MP4

I personally suggest using CocoaHttpServer, it's just simple.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top