<div dir="ltr">The easiest way to reuse ports is to let udpsrc allocate a port when it goes to PAUSED, then you use the "used-socket" property on udpsrc to get the socket and set this as the "socket" property on udpsink.<div>
<br></div><div>Wim</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 27 November 2013 11:54, amar <span dir="ltr"><<a href="mailto:asontakke@phonologies.com" target="_blank">asontakke@phonologies.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>I am developing a media stack for a SIP communication. In that, I want to receive/catch DTMF on the port from which I am sending the audio (PCMU) media. I am trying to build this functionality using following pipelines :<br>

<br></div>In first pipeline: I am binding port to socket with SO_REUSEADDR from which I want to stream audio and assign socket to udpsink. <br><br>In second pipeline: I am using udpsrc for catching the dtmf signal. For receiving dtmf I am using same port which is bind in first pipeline to stream audio from it.<br>

<br></div>In above operation as I change the state of second pipeline GST_STATE_PLAYING. Ii throws error GST_STATE_CHANGE_FAILURE.<br><br></div>Please, Tell me What is going wrong in above implementation? or Is there any other way to use same port for sending audio and receiving dtmf on same port ?<br>

<br></div>Any help/pointer appreciable...<br><br></div>Thanks<br><br></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>