Top |
#define | GST_RTP_PAYLOAD_IS_DYNAMIC() |
const GstRTPPayloadInfo * | gst_rtp_payload_info_for_name () |
const GstRTPPayloadInfo * | gst_rtp_payload_info_for_pt () |
#define GST_RTP_PAYLOAD_IS_DYNAMIC(pt) ((pt) >= 96 && (pt) <= 127)
Check if pt
is a dynamic payload type.
const GstRTPPayloadInfo * gst_rtp_payload_info_for_name (const gchar *media
,const gchar *encoding_name
);
Get the GstRTPPayloadInfo for media
and encoding_name
. This function is
mostly used to get the default clock-rate and bandwidth for dynamic payload
types specified with media
and encoding
name.
The search for encoding_name
will be performed in a case insensitve way.
const GstRTPPayloadInfo *
gst_rtp_payload_info_for_pt (guint8 payload_type
);
Get the GstRTPPayloadInfo for payload_type
. This function is
mostly used to get the default clock-rate and bandwidth for static payload
types specified with payload_type
.
Standard predefined fixed payload types.
The official list is at: http://www.iana.org/assignments/rtp-parameters
Audio: reserved: 19 unassigned: 20-23,
Video: unassigned: 24, 27, 29, 30, 35-71, 77-95 Reserved for RTCP conflict avoidance: 72-76
ITU-T G.711. mu-law audio (RFC 3551) |
||
RFC 3551 says reserved |
||
RFC 3551 says reserved |
||
GSM audio |
||
ITU G.723.1 audio |
||
IMA ADPCM wave type (RFC 3551) |
||
IMA ADPCM wave type (RFC 3551) |
||
experimental linear predictive encoding |
||
ITU-T G.711 A-law audio (RFC 3551) |
||
ITU-T G.722 (RFC 3551) |
||
stereo PCM |
||
mono PCM |
||
EIA & TIA standard IS-733 |
||
Comfort Noise (RFC 3389) |
||
Audio MPEG 1-3. |
||
ITU-T G.728 Speech coder (RFC 3551) |
||
IMA ADPCM wave type (RFC 3551) |
||
IMA ADPCM wave type (RFC 3551) |
||
ITU-T G.729 Speech coder (RFC 3551) |
||
See RFC 2029 |
||
ISO Standards 10918-1 and 10918-2 (RFC 2435) |
||
nv encoding by Ron Frederick |
||
ITU-T Recommendation H.261 (RFC 2032) |
||
Video MPEG 1 & 2 (RFC 2250) |
||
MPEG-2 transport stream (RFC 2250) |
||
Video H263 (RFC 2190) |
struct GstRTPPayloadInfo { guint8 payload_type; const gchar *media; const gchar *encoding_name; guint clock_rate; const gchar *encoding_parameters; guint bitrate; };
Structure holding default payload type information.
guint8 |
payload type, -1 means dynamic |
|
const gchar * |
the media type(s), usually "audio", "video", "application", "text", "message". |
|
const gchar * |
the encoding name of |
|
guint |
default clock rate, 0 = unknown/variable |
|
const gchar * |
encoding parameters. For audio this is the number of channels. NULL = not applicable. |
|
guint |
the bitrate of the media. 0 = unknown/variable. |