catch dtmf from audio port

amar sontakke amar.sontakke1988 at gmail.com
Tue Dec 10 22:01:34 PST 2013


Hi Olivier,

Thank you for response from you. It works fine for me to setup
requested caps on the incoming pad.

Thanks,
Amar.

On 12/7/13, Olivier Crête <olivier.crete at collabora.com> wrote:
> On Fri, 2013-12-06 at 11:32 +0530, amar wrote:
>
>> Note Caps using for udpsrc0 (for audio source) :
>> "application/x-rtp,media=(string)audio,payload=(int)96,clock-rate=(int)8000,encoding-name=(string)X-GST,caps=(string)FAKE"
>>
>
> The caps on your udpsrc should be "application/x-rtp". The other caps
> you listen to rtpbin's "request-pt-map" single with the caps for this
> specific payload type.
>
>> I am watching the above pipeline for incoming DTMF event
>> (GST_MESSAGE_ELEMENT) . I want to catch the DTMF value coming from the
>> sender(SIP PHONE).
>
> When you get a new pad from rtpbin, look at the payload type, and then
> you can link the right depayloader.
>
>> Any Help/pointer appreciated....
>
> You may want to have a look at Farstream, which include a higher-level
> element (fsrtpconference) which does much of a that for you with a nice
> API.
>
> --
> Olivier Crête
> olivier.crete at collabora.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>


-- 
-- 

Thanks & Regards,
Amar S. Sontakke
**


More information about the gstreamer-devel mailing list