<div dir="ltr"><div><div><div><div>Hi Wim,<br><br>Thank you for help. Its working for me.<br></div>I have one more problem. I am writing a pipeline which is receiving rtp PCMU on one port and rtp H263p on other port and mux it into a .mpg file. Up to this part its working fine. <br>
I want to catch rtp DTMF which come on the same port which used to receive PCMU. I wrote bus watch function for catching GST_MESSAGE_ELEMENT singnal, But I am unable to get it. <br>How can I catch the DTMF value come on audio port ?<br>
</div><br></div>Thanks,<br></div>Amar<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 27, 2013 at 4:35 PM, Wim Taymans <span dir="ltr"><<a href="mailto:wim.taymans@gmail.com" target="_blank">wim.taymans@gmail.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">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"><div><div class="h5">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>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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></div></div>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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>
<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>