Well you're missing some args in udpsink /udpsrc<br>
<br>
Should be like udpsink host=localhost port=7777<br>
<br>
udpsrc port=7777<br>
&nbsp;<br>
the rest seems ok at 1st glance...<br>
<br>
Regards<br>
<br>
Antoine<br>
<br><br><div><span class="gmail_quote">On 6/6/06, <b class="gmail_sendername">Bebjak, Michal</b> &lt;<a href="mailto:michal.bebjak@siemens.com">michal.bebjak@siemens.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hi,<br><br>I'm
developing an client-server aplication which should use GStreamer. I
want to endcode the audio into MP3 and send it oved RTP to the client.
I first tried to run this following commands:<br><br>server terminal:&nbsp;&nbsp;gst-launch-0.10 -v audiotestsrc ! lame ! rtpmpapay ! udpsink<br>client
terminal:&nbsp;&nbsp;gst-launch-0.10 -v udpsrc ! 'application/x-rtp,
media=audio, payload=96, media=(string)audio, clock-rate=(int)90000,
encoding-name=(string)MPA' !<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rtpmpadepay
! 'audio/mpeg,mpegversion=1,layer=3,channels=1,rate=44100' ! mad ! audioconvert ! volume volume=0.2 ! autoaudiosink<br><br><br>They both work independently but when I try to send the audio from server to client the client crashes. The terminal output is:
<br><br><br>$
gst-launch-0.10 -v udpsrc ! 'application/x-rtp, media=audio,
payload=96, media=(string)audio, clock-rate=(int)90000,
encoding-name=(string)MPA' !<br>rtpmpadepay ! 'audio/mpeg,mpegversion=1,layer=3,channels=1,rate=44100' ! mad ! audioconvert ! volume volume=0.2 ! autoaudiosink<br>Setting pipeline to PAUSED ...<br>Pipeline is live and does not need PREROLL ...
<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br>/pipeline0/capsfilter0.sink:
caps = application/x-rtp, media=(string)audio, payload=(int)96,
clock-rate=(int)90000, encoding-name=(string)MPA<br>/pipeline0/capsfilter0.src:
caps = application/x-rtp, media=(string)audio, payload=(int)96,
clock-rate=(int)90000, encoding-name=(string)MPA<br>/pipeline0/rtpmpadepay0.sink:
caps = application/x-rtp, media=(string)audio, payload=(int)96,
clock-rate=(int)90000, encoding-name=(string)MPA<br>ERROR: from element /pipeline0/udpsrc0: Internal data flow error.<br>Additional debug info:<br>gstbasesrc.c(1318): gst_base_src_loop (): /pipeline0/udpsrc0:<br>streaming task paused, reason error
<br>Execution ended after 1513470000 ns.<br>Setting pipeline to PAUSED ...<br>Setting pipeline to READY ...<br>/pipeline0/rtpmpadepay0.sink: caps = NULL<br>/pipeline0/capsfilter0.sink: caps = NULL<br>/pipeline0/capsfilter0.src: caps = NULL
<br>Setting pipeline to NULL ...<br>FREEING pipeline ...<br><br>Can someone please help me to make it work?? Thanks a lot!!<br><br>Michael<br><br><br>_______________________________________________<br>gstreamer-devel mailing list
<br><a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
</a><br></blockquote></div><br>