Asterisk - The Open Source Telephony Project GIT-master-85241bd
Data Fields
ast_rtp_payload_type Struct Reference

#include <rtp_engine.h>

Collaboration diagram for ast_rtp_payload_type:
Collaboration graph
[legend]

Data Fields

int asterisk_format
 
struct ast_formatformat
 
int payload
 
unsigned int primary_mapping:1
 
int rtp_code
 
unsigned int sample_rate
 
struct timeval when_retired
 

Detailed Description

Structure that represents a payload

Definition at line 300 of file rtp_engine.h.

Field Documentation

◆ asterisk_format

int asterisk_format

◆ format

struct ast_format* format

◆ payload

int payload

◆ primary_mapping

unsigned int primary_mapping

TRUE if this is the primary mapping to the format.

Definition at line 311 of file rtp_engine.h.

Referenced by payload_mapping_rx_clear_primary(), and rtp_payload_type_alloc().

◆ rtp_code

int rtp_code

◆ sample_rate

unsigned int sample_rate

◆ when_retired

struct timeval when_retired

When the payload type became non-primary.

Definition at line 313 of file rtp_engine.h.


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