haikieu / iOS-Video-Player

iOS ultimate video player, compatible to ipad as well as iphone with very cool UI themes
Apache License 2.0
76 stars 14 forks source link

How to support the RTMP, RTSP protocol live? #1

Open xhzengAIB opened 9 years ago

xhzengAIB commented 9 years ago

@haikieu Hi!

HLS Support is very good. But RTMP / RTSP protocal streaming not support playing.

Jack

haikieu commented 9 years ago

Hi Zeng,

I'm sorry to say that this feature hasn't been implemented yet.

Basically, In order to playing video, the player needs to be provided a URL link to mp4 file/ m3u8 file. Basing on that mechanism, to support RTMP/RTSP, we could use ffmpeg library to fetch video data, then export them as mp4 file so that the player could play.

Best regards, Hai Kieu : ;

xhzengAIB commented 9 years ago

Thank you for your kind reply, can you describe the process in detail?

haikieu commented 9 years ago

The first, make familiar with ffmpeg at the below link.

https://www.ffmpeg.org/download.html#build-mac

Compiling ffmpeg may take certain time, then learn to use it... I'm sure you will get the answer there.