Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about RTMP #3

Open
nvcken opened this issue Mar 15, 2016 · 6 comments
Open

Question about RTMP #3

nvcken opened this issue Mar 15, 2016 · 6 comments

Comments

@nvcken
Copy link

nvcken commented Mar 15, 2016

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?

  • 104.155.71.82:1935 : is this IP & port of server ??
  • Could I use RTSP instead of RTMP ??
    Thanks
@olivierlesnicki
Copy link

  • 104.155.71.82 is IP and 1935 is port (replace them with your actual server IP and PORT)
  • You need to use RTMP

@nvcken
Copy link
Author

nvcken commented Mar 15, 2016

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

@olivierlesnicki
Copy link

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

@ghost
Copy link

ghost commented Mar 16, 2016

@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:

  • implement your own version of RTMPSession, RTMPTypes, H264Packetizer, and AACPacketizer using Live555
  • convert CMTime to a format Live555 expects
  • parse the stream to get the sps and pps NAL units, as well as the asc to create an SDP file.
  • Make a cocoapod/package for Live555 as a static library

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

@bhaveshtandel
Copy link

@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
Copy link

ghost commented Apr 14, 2016

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

On Thursday, April 14, 2016, bhaveshtandel [email protected] 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
#3 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants