<div dir="ltr"><div><p>Hi,</p><p>I am not using gstreamer to send dtmf. Dtmf come from SIP phone.</p>
<p>For receiving i am catching audio from one port and video from other 
port using udpsrc. On same audio port dtmf also come. I am using rtpbin 
to connect input audio or dtmf for specific depayloader using pad_added 
call back. It works well for audio but when dtmf comes, it gives data 
flow error. Please see the following flow which give idea of my pipeline
 for receiving :</p>
<br><br></div>                           pad_added    payload==101--->rtpdtmfdepay--<div dir="ltr">->fakesink<br><div><div> udpsrc0 -----> rtpbin -------------><br></div><div> audio port                               payload ==0---->rtppcmudepay-->mulawdec---I<br>

                                                                                                                 |<br></div><div>                                                                                                                 v<br>

</div><div>udpsrc1------------> rtph263pdepay---------->avdec_h263------------------------matroskamux<br></div><div>video port                                                                                           |<br>

</div><div>                                                                                                         v<br></div><div>                                                                                                    filesink<br>

<br></div><div>Note Caps using for udpsrc0 (for audio source) : <b>"application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H263-1998,payload=(int)96") <br><br></b></div><div>I
 am watching the above pipeline for incoming DTMF event 
(GST_MESSAGE_ELEMENT) . I want to catch the DTMF value comming from the 
sender(SIP PHONE).</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 3, 2013 at 3:24 PM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Di, 2013-12-03 at 11:27 +0530, amar wrote:<br>
> Hi,<br>
><br>
> I am writing a pipeline which is receiving rtp PCMU on one port and rtp<br>
> H263p on other port and mux it into a .mpg file. Up to this part its<br>
> working fine.<br>
> I want to catch rtp DTMF which come on the same port which used to receive<br>
> PCMU. I wrote bus watch function for catching GST_MESSAGE_ELEMENT singnal,<br>
> But I am unable to get it.<br>
> How can I catch the DTMF value come on audio port ?<br>
<br>
</div></div>How are you building your pipeline for the receiver, and if GStreamer is<br>
used on the sender... how does your pipeline look there?<br>
<br>
You should get a GST_MESSAGE_ELEMENT on the bus of the receiver<br>
pipeline, with a "dtmf-event" message. This is emitted by the DTMF<br>
depayloader. Is that payloader in the pipeline?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Sebastian Dröge <<a href="mailto:sebastian@centricular.com">sebastian@centricular.com</a>><br>
Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
Expertise, Straight from the Source<br>
</font></span><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></div>