2. add the following external source inside crtmpserver config file
{
uri="rtsp://127.0.0.1:2323/test.sdp",
localStreamName="gigi"
},
3. Start the crtmpserver
4. You can now access the stream:
rtmp://localhost/live/gigi
METHOD 2 WITH ffmpeg:
1. Start the crtmpserver (it is already configure to listen on 6666 for inbound live FLV. Bare in mind: THIS IS NOT RTMP)
2. Start ffmpeg:
ffmpeg -i ~/work/crtmpserver-trunk/media/tbs.mp4 -acodec copy -vcodec copy -re -f flv -metadata streamName=gigi "tcp://localhost:6666"
3. You can now access the stream:
rtmp://localhost/live/gigi
Cheers,
Andrei
On Jul 23, 2011, at 3:38 PM, jay wrote:
> I would like to have this feature too.
>
> You received this message because you are subscribed to "C++ RTMP Server" mailing list.
> To post to this group, send email to c-rtmp...@googlegroups.com
> To unsubscribe from this group, send email to
> c-rtmp-serve...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/c-rtmp-server?hl=en
------
Eugen-Andrei Gavriloaie
Web: http://www.rtmpd.com
50.0Kb 100Kb 150Kb
200Kb 250Kb
└───────────────┴───────────────┴───────────────┴───────────────┴───────────────
host1.testonly.com => client ip address 103Kb 100Kb 99.4Kb
<= 200Kb
193Kb 192Kb
As a general rule, make sure you properly filter the traffic before measuring it. In RTSP you have either one connection (RTP over RTSP) or 2 or more connections (one TCP connection for RTSP and one UDP connection for each audio/video track inside sdp)
Also, I ***strongly*** suggest not to paste this kind of stuff here because it is badly formatted (I can't understand a thing because word wrap). Please use pastebin.com or a similar service
Cheers,
Andrei