[gst-devel] GStreamer RTSP Server Multicast RTP Question

Robert Krakora rob.krakora at messagenetsystems.com
Tue Mar 2 18:23:29 CET 2010


Hello,

I can successfully capture and send unicast video and audio data from
a v4l2 webcam and microphone via gst-rtsp RTSP server when requested
by an RTSP client.  However, I cannot seem to figure out how to send
multicast video and audio data.  I am using the test-launch example
provided with gst-rtsp in both cases.  However, case (2) below yeilds
nothing when an RTSP client request arrives.  What am I doing wrong?
Thanks in advance.  ;-)

Case 1 (Unicast)

/home/silentm/MessageNet/totem/gst-rtsp-0.10.5/examples/test-launch
--gst-debug=255 "( v4l2src device=/dev/video0 ! ffmpegcolorspace !
video/x-raw-yuv,width=640,height=480,framerate=30/1 ! theoraenc
quality=10 bitrate=6000 speed-level=2 ! rtptheorapay pt=96 name=pay0
alsasrc device="hw:0,0" ! audioconvert ! vorbisenc ! rtpvorbispay
pt=97 name=pay1 )"

Case 2 (Multicast?)

/home/silentm/MessageNet/totem/gst-rtsp-0.10.5/examples/test-launch
--gst-debug=255 "( gstrtpbin name=rtpbin v4l2src ! ffmpegcolorspace !
theoraenc ! rtptheorapay ! rtpbin.send_rtp_sink_0
rtpbin.send_rtp_src_0 ! udpsink port=5000 host=224.2.8.13
rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=224.2.8.13 sync=false
async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0 alsasrc
device="hw:0,0" ! audioconvert ! vorbisenc ! rtpvorbispay !
rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 ! udpsink port=5002
host=224.2.8.13 rtpbin.send_rtcp_src_1 ! udpsink port=5003
host=224.2.8.13 sync=false async=false  )"

Best Regards,

--
Rob Krakora
Senior Software Engineer
MessageNet Systems
101 East Carmel Dr. Suite 105
Carmel, IN 46032
(317)566-1677 Ext. 206
(317)663-0808 Fax



--
Rob Krakora
Senior Software Engineer
MessageNet Systems
101 East Carmel Dr. Suite 105
Carmel, IN 46032
(317)566-1677 Ext. 206
(317)663-0808 Fax




More information about the gstreamer-devel mailing list