Asterisk - The Open Source Telephony Project
18.5.0
|
#include <rtp_engine.h>
Data Fields | |
int | asterisk_format |
struct ast_format * | format |
int | payload |
unsigned int | primary_mapping:1 |
int | rtp_code |
struct timeval | when_retired |
Structure that represents a payload
Definition at line 275 of file rtp_engine.h.
int asterisk_format |
Is this an Asterisk value
Definition at line 280 of file rtp_engine.h.
Referenced by ast_rtp_codecs_get_payload_format(), ast_rtp_codecs_get_stream_type(), ast_rtp_codecs_payload_code(), ast_rtp_codecs_payload_code_tx(), ast_rtp_codecs_payload_formats(), ast_rtp_codecs_payload_replace_format(), ast_rtp_codecs_payloads_set_m_type(), ast_rtp_codecs_payloads_set_rtpmap_type_rate(), ast_rtp_codecs_payloads_xover(), payload_mapping_rx_clear_primary(), payload_mapping_tx_is_present(), rtp_codecs_payloads_copy_rx(), rtp_codecs_payloads_copy_tx(), rtp_payload_type_alloc(), and set_next_mime_type().
struct ast_format* format |
If asterisk_format is set, this is the internal asterisk format represented by the payload
Definition at line 278 of file rtp_engine.h.
Referenced by ast_rtp_codecs_get_payload_format(), ast_rtp_codecs_get_stream_type(), ast_rtp_codecs_payload_code(), ast_rtp_codecs_payload_code_tx(), ast_rtp_codecs_payload_formats(), ast_rtp_codecs_payload_replace_format(), ast_rtp_codecs_payloads_set_m_type(), ast_rtp_codecs_payloads_set_rtpmap_type_rate(), ast_rtp_codecs_payloads_xover(), payload_mapping_rx_clear_primary(), payload_mapping_tx_is_present(), rtp_codecs_payloads_copy_rx(), rtp_codecs_payloads_copy_tx(), rtp_payload_type_alloc(), rtp_payload_type_dtor(), and set_next_mime_type().
int payload |
Actual payload number
Definition at line 284 of file rtp_engine.h.
Referenced by add_static_payload(), ast_rtp_codecs_find_payload_code(), ast_rtp_codecs_get_stream_type(), ast_rtp_codecs_payload_code(), ast_rtp_codecs_payload_code_tx(), ast_rtp_codecs_payload_replace_format(), ast_rtp_codecs_payloads_set_rtpmap_type_rate(), find_static_payload_type(), payload_mapping_tx_is_present(), rtp_codecs_assign_payload_code_rx(), rtp_payload_type_alloc(), and rtp_payload_type_dtor().
unsigned int primary_mapping |
TRUE if this is the primary mapping to the format.
Definition at line 286 of file rtp_engine.h.
Referenced by ast_rtp_codecs_payload_code(), ast_rtp_codecs_payload_replace_format(), ast_rtp_codecs_payloads_set_rtpmap_type_rate(), ast_rtp_codecs_payloads_xover(), payload_mapping_rx_clear_primary(), rtp_codecs_find_non_primary_dynamic_rx(), and rtp_payload_type_alloc().
int rtp_code |
Actual internal RTP specific value of the payload
Definition at line 282 of file rtp_engine.h.
Referenced by ast_rtp_codecs_payload_code(), ast_rtp_codecs_payload_code_tx(), ast_rtp_codecs_payload_formats(), ast_rtp_codecs_payloads_set_m_type(), ast_rtp_codecs_payloads_set_rtpmap_type_rate(), ast_rtp_codecs_payloads_xover(), ast_rtp_lookup_mime_subtype2(), ast_rtp_lookup_sample_rate2(), find_static_payload_type(), payload_mapping_rx_clear_primary(), payload_mapping_tx_is_present(), rtp_codecs_payloads_copy_rx(), rtp_codecs_payloads_copy_tx(), rtp_payload_type_alloc(), and set_next_mime_type().
struct timeval when_retired |
When the payload type became non-primary.
Definition at line 288 of file rtp_engine.h.
Referenced by payload_mapping_rx_clear_primary(), and rtp_codecs_find_non_primary_dynamic_rx().