문제

I need to play an RTMP streaming in a website.

I want to run on iOS devices, but I know RTMP does not run on it.

So, my idea is to convert RTMP to some audio file (mp4, for example) and send it to the user and to play with HTML5. Do you have a better idea to do this work? I have PHP5 at server, but I have no idea about how to convert a continuous data (streaming) in a HTML5 compatible audio. For now, it's only an idea I have...

Thanks in advance.

도움이 되었습니까?

해결책

There is currently no live format that works with html 5 . Mp4 can not be used as a live source as it is not a streaming format. The only built in support for Live audio/video on iOS is HLS.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top