[gst-devel] RTSP_SERVER

vaisakhn7 vaisakh.n at nestgroup.net
Thu May 7 10:12:06 CEST 2009




GST-RTSP-SERVER

Any body please tell me How can i receive an mp3 stream
using the rtsp server ?
In the server side

gst_rtsp_media_factory_set_launch (factory, "(" "filesrc location=1.mp3 !"
"mad ! audioconvert !  rtpL16pay name=pay0 pt=96 "")");


In receiver side i run the pipeline like this 
./gst-launch -v  rtspsrc location=rtsp://localhost:1554/test latency=10  !
rtpL16depay ! audioconvert ! osssink

After Runing the server ,In client side  i ran this pipeline but it give
error like this
/*****************************************************************************************/
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_2987692106_96.GstProxyPad:proxypad3:
caps = application/x-rtp, media=(string)audio, payload=(int)96,
clock-rate=(int)11025, encoding-name=(string)L16,
clock-base=(guint)2719849740, seqnum-base=(guint)18554,
npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
ERROR: from element
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: Internal data
flow error.
Additional debug info:
gstbasesrc.c(2330): gst_base_src_loop ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-negotiated (-4)
/****************************************************************************************************/





 
Also in the  server side it gives messages like this 
./gst-rtsp-server
Message: added new client 0x953cdb0 ip 127.0.0.1 with fd 6
** Message: found media 0x95f3720 for url abspath /test
** Message: constructed media 0x9640068 for url /test
** Message: found media 0x95f3720 for url abspath /test
** Message: constructed media 0x963e048 for url /test
** Message: receive failed -11 (Received end-of-file), disconnect client
0x953cdb0






-- 
View this message in context: http://www.nabble.com/RTSP_SERVER-tp23422180p23422180.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.





More information about the gstreamer-devel mailing list