Welcome! Log In Create A New Profile

Advanced

Rtmp Module and LibRtmp

June 13, 2014 07:37AM
Hello.

I am seeking advice and suggestions for this issue with nginx and the rtmp module

I have been working with RTMP. Previously i have worked with cRtmpServer, however nginx seems better for extending the service later on, further down the line.

I am using nginx from this source, which works with my flash player.
http://nginx-win.ecsds.eu/

It seem Nginx and libRtmp can work together.

http://stackoverflow.com/questions/23629913/capture-camera-and-publish-video-with-librtmp

Nginx config, this works with my flash test player for both applications.

http://pastebin.com/j2eVWzEg

I wish to connect with librtmp, and i am using the setopt functions so that librtmp has a url, port, app, playpath. Currently, my code connects and also connects to the stream. However, only about 9bytes are returned when reading a packet.

Here is my libRtmp C++ code.

https://groups.google.com/forum/#!topic/c-rtmp-server/HMYfrrs0Bus

LibRTMP page with param list.

http://rtmpdump.mplayerhq.hu/librtmp.3.html

So that's the first issue. Connecting properly, so that we can read a file.

Now, for the next part... recording. The solution to the first part, may result in both working.

I would also like to record to the server with librtmp. The first link, above, shows how to record using libRtmp to nginx when the params are correct for connecting. How do i configure the server to publish a live stream, so that many clients can access it?? Ideally, we don't want to record video to the server just transport it.

Any help moving forward would be good. Suggestions, advice, anything that anyone can recommend trying.
Subject Author Posted

Rtmp Module and LibRtmp

MrDaniel June 13, 2014 07:37AM

Re: Rtmp Module and LibRtmp

MrDaniel June 13, 2014 10:26AM

Re: Rtmp Module and LibRtmp

itpp2012 June 13, 2014 10:49AM

Re: Rtmp Module and LibRtmp

MrDaniel June 14, 2014 10:17PM

Re: Rtmp Module and LibRtmp

itpp2012 June 15, 2014 07:31AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 315
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready