Asterisk - The Open Source Telephony Project GIT-master-a358458
Data Fields
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. More...
 
unsigned int sample_rate
 Expected sample rate of the /c subtype. More...
 
char subtype [64]
 The format type. More...
 
char type [16]
 The media type. More...
 

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 250 of file rtp_engine.c.

Field Documentation

◆ payload_type

struct ast_rtp_payload_type payload_type

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

Definition at line 252 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().

◆ sample_rate

unsigned int sample_rate

Expected sample rate of the /c subtype.

Definition at line 258 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().

◆ subtype

char subtype[64]

The format type.

Definition at line 256 of file rtp_engine.c.

Referenced by ast_rtp_codecs_payloads_set_rtpmap_type_rate(), and ast_rtp_lookup_mime_subtype2().

◆ type

char type[16]

The media type.

Definition at line 254 of file rtp_engine.c.

Referenced by ast_rtp_codecs_payloads_set_rtpmap_type_rate(), and Property::load().


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