ast_rtp_mime_type Struct Reference

Collaboration diagram for ast_rtp_mime_type:

Collaboration graph
[legend]

Data Fields

struct ast_rtp_payload_type payload_type
 A mapping object between the Asterisk codec and this RTP payload.
unsigned int sample_rate
 Expected sample rate of the /c subtype.
char subtype [64]
 The format type.
char type [16]
 The media type.

Detailed Description

The following array defines the MIME Media type (and subtype) for each of our codecs, or RTP-specific data type.

Definition at line 205 of file rtp_engine.c.


Field Documentation

A mapping object between the Asterisk codec and this RTP payload.

Definition at line 207 of file rtp_engine.c.

Referenced by ast_rtp_codecs_payloads_set_rtpmap_type_rate(), ast_rtp_lookup_mime_subtype2(), ast_rtp_lookup_sample_rate2(), and set_next_mime_type().

unsigned int sample_rate

Expected sample rate of the /c subtype.

Definition at line 213 of file rtp_engine.c.

Referenced by ast_rtp_codecs_payloads_set_rtpmap_type_rate(), ast_rtp_lookup_sample_rate2(), and set_next_mime_type().

char subtype[64]

The format type.

Definition at line 211 of file rtp_engine.c.

Referenced by ast_rtp_codecs_payloads_set_rtpmap_type_rate(), and ast_rtp_lookup_mime_subtype2().

char type[16]

The media type.

Definition at line 209 of file rtp_engine.c.

Referenced by ast_rtp_codecs_payloads_set_rtpmap_type_rate().


The documentation for this struct was generated from the following file:

Generated on Thu Apr 16 06:35:29 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6