catch dtmf from audio port

amar sontakke amar.sontakke1988 at gmail.com
Thu Dec 5 01:35:51 PST 2013


Hi,

I am not using gstreamer to send dtmf. Dtmf come from SIP phone.

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 :


                           pad_added
payload==101--->rtpdtmfdepay--->fakesink
 udpsrc0 -----> rtpbin ------------->
 audio port                               payload
==0---->rtppcmudepay-->mulawdec---I

|

v
udpsrc1------------>
rtph263pdepay---------->avdec_h263------------------------matroskamux
video
port
|

v

filesink

Note Caps using for udpsrc0 (for audio source) :

*"application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H263-1998,payload=(int)96")
*
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).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131205/a2abb9cd/attachment.html>


More information about the gstreamer-devel mailing list