<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I have the following 2 pipelines for streaming (send/receive) audio:<br>
<br>
<b>producer:</b><br>
<tt>gst-launch -v gstrtpbin name=rtpbin \<br>
filesrc location=filesrc location=~/Desktop/video.mp4 ! decodebin
name=dec \<br>
dec. ! queue ! audioresample ! audioconvert ! alawenc ! rtppcmapay !
rtpbin.send_rtp_sink_1 \<br>
rtpbin.send_rtp_src_1 ! udpsink port=5002 host=127.0.0.1 ts-offset=0&nbsp; \<br>
rtpbin.send_rtcp_src_1 ! udpsink port=5003 host=127.0.0.1 sync=false
async=false&nbsp; \<br>
udpsrc port=5007 ! rtpbin.recv_rtcp_sink_1</tt><br>
<br>
<b>consumer:</b><tt><br>
gst-launch -v gstrtpbin name=rtpbin latency=200 \<br>
udpsrc
caps="application/x-rtp,media=(string)audio,clock-rate=(int)8000,encoding-name=(string)PCMA"
port=5002 ! rtpbin.recv_rtp_sink_1 \<br>
rtpbin. ! rtppcmadepay ! decodebin ! audioconvert ! audioresample !
alsasink \<br>
udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1 \<br>
rtpbin.send_rtcp_src_1 ! udpsink port=5007 host=127.0.0.1 sync=false
async=false</tt><br>
<br>
If I start the consumer and then the producer, the stream if fine. But
if I then restart the producer, the consumer drops with the following
message:<br>
<tt><br>
/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpJitterBuffer:rtpjitterbuffer1.GstPad:src:
caps = application/x-rtp, media=(string)audio, clock-rate=(int)8000,
encoding-name=(string)PCMA<br>
/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpJitterBuffer:rtpjitterbuffer1.GstPad:sink:
caps = application/x-rtp, media=(string)audio, clock-rate=(int)8000,
encoding-name=(string)PCMA<br>
/GstPipeline:pipeline0/GstRtpBin:rtpbin/GstRtpPtDemux:rtpptdemux1.GstPad:sink:
caps = application/x-rtp, media=(string)audio, clock-rate=(int)8000,
encoding-name=(string)PCMA<br>
/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:recv_rtp_src_1_1517622516_8:
caps = application/x-rtp, media=(string)audio, clock-rate=(int)8000,
encoding-name=(string)PCMA, payload=(int)8<br>
/GstPipeline:pipeline0/GstRtpBin:rtpbin.GstGhostPad:recv_rtp_src_1_1517622516_8.GstProxyPad:proxypad6:
caps = application/x-rtp, media=(string)audio, clock-rate=(int)8000,
encoding-name=(string)PCMA, payload=(int)8<br>
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal
data flow error.<br>
Additional debug info:<br>
gstbasesrc.c(2330): gst_base_src_loop ():
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0:<br>
streaming task paused, reason not-linked (-1)<br>
Execution ended after 31686734760 ns.<br>
</tt><br>
Is this expected behaviour? <br>
<br>
Can I somehow fix this, so I can start/stop the producer?<br>
<br>
Help is very much appreciated!<br>
<br>
Best, Dirk<br>
<br>
</body>
</html>