dtmfdetect

dtmfdetect — Detects DTMF tones

Synopsis

                    GstDtmfDetect;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBaseTransform
                     +----GstDtmfDetect

Description

This element will detect DTMF tones and emit messages

The message is called "dtmf-event" and has the following fields

Name GType Possible values Purpose
type G_TYPE_INT 0-1 The application uses this field to specify which of the two methods specified in RFC 2833 to use. The value should be 0 for tones and 1 for named events. Tones are specified by their frequencies and events are specied by their number. This element can only take events as input. Do not confuse with "method" which specified the output.
number G_TYPE_INT 0-16 The event number.
method G_TYPE_INT 2 This field will always been 2 (ie sound) from this element.

Details

GstDtmfDetect

typedef struct _GstDtmfDetect GstDtmfDetect;