medeeiros / react-native-videocore

A React Native bridge for the VideoCore iOS library
42 stars 12 forks source link

Question about RTMP #3

Open nvcken opened 8 years ago

nvcken commented 8 years ago
VideoCore.startStreaming('rtmp://104.155.71.82:1935/live' ...

Could you please explain this rtmp://104.155.71.82:1935/live, the pattern of mine is iOS device use camera to feed video (react-native-videocore ) to --> Server -> server serves broadcast to multi iOS devices via HLS playlist?

olivierlesnicki commented 8 years ago
nvcken commented 8 years ago

ok thanks. Could you please help me any hints about RTSP ?

olivierlesnicki commented 8 years ago

Note yet supported by VideoCore (see https://github.com/jgh-/VideoCore/issues/95) which is the underlaying library used by react-native-videocore.

ghost commented 8 years ago

@nvcken Chiming in as I created that issue a while back. I was unable to open-source the code as it's owned by a former employer, although it isn't too hard to adapt VCSimpleSession to use a protocol supported by Live555's liveMedia. Really you'll have to just override the last two components in the streaming pipeline, and use timing information compatible with Live555's public API. From what I remember, you'll have to:

Basically you write a shim for VideoCore or add classes to the library.

bhaveshtandel commented 8 years ago

@Zintinio Hi, I am trying upload video using RTSP. How do i import Live555 library in my project using cocoapod? any steps which i need to follow? i am using "live555-latest.tar.gz" file from Source code.(http://www.live555.com/liveMedia/public/)

ghost commented 8 years ago

Compile it and make a pod or use the outdated version on my github page.

On Thursday, April 14, 2016, bhaveshtandel notifications@github.com wrote:

@Zintinio https://github.com/Zintinio Hi, I am trying upload video using RTSP. How do i import Live555 library in my project using cocoapod? any steps which i need to follow? i am using "live555-latest.tar.gz" file from [Source code].(http://www.live555.com/liveMedia/public/)

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/GuilhermeMedeiros/react-native-videocore/issues/3#issuecomment-209849249