سؤال

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

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top