rtpdtmfdepay
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:
-
type
(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 specified 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.
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstRTPBaseDepayload ╰──rtpdtmfdepay
Factory details
Authors: – Youness Alaoui
Classification: – Codec/Depayloader/Network
Rank – marginal
Plugin – gstdtmf
Package – GStreamer Good Plug-ins
Pad Templates
sink
application/x-rtp:
media: audio
payload: [ 96, 127 ]
clock-rate: [ 0, 2147483647 ]
encoding-name: TELEPHONE-EVENT
src
audio/x-raw:
format: S16LE
rate: [ 1, 2147483647 ]
channels: 1
Properties
max-duration
“max-duration” guint
The maxumimum duration (ms) of the outgoing soundpacket. (0 = no limit)
Flags : Read / Write
Default value : 0
max-reorder
“max-reorder” gint
Max seqnum reorder before assuming sender has restarted
Flags : Read / Write
Default value : 100
source-info
“source-info” gboolean
Add RTP source information as buffer meta
Flags : Read / Write
Default value : false
stats
“stats” GstStructure *
Various statistics
Flags : Read
Default value :
application/x-rtp-depayload-stats, clock_rate=(uint)0, npt-start=(guint64)0, npt-stop=(guint64)18446744073709551615, play-speed=(double)1, play-scale=(double)1, running-time-dts=(guint64)18446744073709551615, running-time-pts=(guint64)18446744073709551615, seqnum=(uint)0, timestamp=(uint)0;
unit-time
“unit-time” guint
The smallest unit (ms) the duration must be a multiple of (0 disables it)
Flags : Read / Write
Default value : 0
The results of the search are