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

#include <rtp_engine.h>

Collaboration diagram for ast_rtp_codecs:
Collaboration graph
[legend]

Data Fields

ast_rwlock_t codecs_lock
 
unsigned int framing
 
struct {
   size_t   current
 
   struct ast_rtp_payload_type **   elems
 
   size_t   max
 
payload_mapping_rx
 
struct {
   size_t   current
 
   struct ast_rtp_payload_type **   elems
 
   size_t   max
 
payload_mapping_tx
 
struct ast_formatpreferred_format
 

Detailed Description

Structure that represents codec and packetization information

Definition at line 753 of file rtp_engine.h.

Field Documentation

◆ codecs_lock

ast_rwlock_t codecs_lock

RW lock that protects elements in this structure

Definition at line 755 of file rtp_engine.h.

Referenced by ast_rtp_codecs_payloads_copy(), and ast_rtp_codecs_payloads_xover().

◆ current

size_t current

Definition at line 757 of file rtp_engine.h.

◆ elems

struct ast_rtp_payload_type* * elems

Definition at line 757 of file rtp_engine.h.

◆ framing

unsigned int framing

The framing for this media session

Definition at line 761 of file rtp_engine.h.

Referenced by ast_rtp_codecs_payloads_copy(), and ast_rtp_codecs_payloads_xover().

◆ max

size_t max

Definition at line 757 of file rtp_engine.h.

◆ 

struct { ... } payload_mapping_rx

Rx payload type mapping exceptions

Referenced by rtp_codecs_payloads_copy_rx().

◆ 

struct { ... } payload_mapping_tx

◆ preferred_format

struct ast_format* preferred_format

The preferred format, as the mappings are numerically sorted

Definition at line 763 of file rtp_engine.h.

Referenced by ast_rtp_codecs_payloads_copy(), and ast_rtp_codecs_payloads_xover().


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