diff --git a/gst/dtmf/gstdtmfsrc.c b/gst/dtmf/gstdtmfsrc.c index 1ccad697f7..8c5485b177 100644 --- a/gst/dtmf/gstdtmfsrc.c +++ b/gst/dtmf/gstdtmfsrc.c @@ -28,6 +28,7 @@ /** * SECTION:element-dtmfsrc * @short_description: Generates DTMF packets + * @see_also: rtpdtmsrc, rtpdtmfmuxx * * The DTMFSrc element generates DTMF (ITU-T Q.23 Specification) tone packets on request * from application. The application communicates the beginning and end of a diff --git a/gst/dtmf/gstrtpdtmfdepay.c b/gst/dtmf/gstrtpdtmfdepay.c index 3b2097a4a5..237792b382 100644 --- a/gst/dtmf/gstrtpdtmfdepay.c +++ b/gst/dtmf/gstrtpdtmfdepay.c @@ -19,6 +19,67 @@ * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ +/** + * SECTION:element-rtpdtmfdepay + * @short_description: Transforms RFC 4733/2833 RTP dtmf packets into sound + * @see_also: rtpdtmfsrc, rtpdtmfmux + * + * This element takes RTP DTMF packets and produces sound. It also emits a + * message on the #GstBus. + * + * The message is called "dtmf-event" and has the following fields + * + * + * + * + * + * + * + * + * Name + * GType + * Possible values + * Purpose + * + * + * + * + * + * G_TYPE_INT + * 0-1 + * 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 currently only recognizes events. + * Do not confuse with "method" which specified the output. + * + * + * + * number + * G_TYPE_INT + * 0-16 + * The event number. + * + * + * volume + * G_TYPE_INT + * 0-36 + * This field describes the power level of the tone, expressed in dBm0 + * after dropping the sign. Power levels range from 0 to -63 dBm0. The range of + * valid DTMF is from 0 to -36 dBm0. + * + * + * + * method + * G_TYPE_INT + * 1 + * This field will always been 1 (ie RTP event) from this element. + * + * + * + * + * + */ #ifdef HAVE_CONFIG_H # include "config.h" diff --git a/gst/dtmf/gstrtpdtmfsrc.c b/gst/dtmf/gstrtpdtmfsrc.c index fa1841da61..3efa460241 100644 --- a/gst/dtmf/gstrtpdtmfsrc.c +++ b/gst/dtmf/gstrtpdtmfsrc.c @@ -26,6 +26,7 @@ /** * SECTION:element-rtpdtmfsrc * @short_description: Generates RTP DTMF packets + * @see_also: dtmfsrc, rtpdtmfdepay, rtpdtmfmux * * The RTPDTMFSrc element generates RTP DTMF (RFC 2833) event packets on request * from application. The application communicates the beginning and end of a