Asterisk - The Open Source Telephony Project
21.4.1
|
#include <rtp_engine.h>
Data Fields | |
int | asterisk_format |
struct ast_format * | format |
int | payload |
unsigned int | primary_mapping:1 |
int | rtp_code |
unsigned int | sample_rate |
struct timeval | when_retired |
Structure that represents a payload
Definition at line 303 of file rtp_engine.h.
int asterisk_format |
Is this an Asterisk value
Definition at line 308 of file rtp_engine.h.
Referenced by ast_rtp_codecs_get_payload_format(), ast_rtp_codecs_get_stream_type(), ast_rtp_codecs_payload_code_sample_rate(), ast_rtp_codecs_payload_code_tx_sample_rate(), 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(), and ast_rtp_codecs_payloads_xover().
struct ast_format* format |
If asterisk_format is set, this is the internal asterisk format represented by the payload
Definition at line 306 of file rtp_engine.h.
Referenced by ast_rtp_codecs_get_payload_format(), ast_rtp_codecs_get_stream_type(), ast_rtp_codecs_payload_code_sample_rate(), ast_rtp_codecs_payload_code_tx_sample_rate(), 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_unset(), and ast_rtp_codecs_payloads_xover().
int payload |
Actual payload number
Definition at line 312 of file rtp_engine.h.
Referenced by ast_rtp_codecs_find_payload_code(), ast_rtp_codecs_get_stream_type(), ast_rtp_codecs_payload_code_sample_rate(), ast_rtp_codecs_payload_code_tx_sample_rate(), ast_rtp_codecs_payload_replace_format(), and ast_rtp_codecs_payloads_set_rtpmap_type_rate().
unsigned int primary_mapping |
TRUE if this is the primary mapping to the format.
Definition at line 314 of file rtp_engine.h.
Referenced by ast_rtp_codecs_payload_code_sample_rate(), ast_rtp_codecs_payload_replace_format(), ast_rtp_codecs_payloads_set_rtpmap_type_rate(), and ast_rtp_codecs_payloads_xover().
int rtp_code |
Actual internal RTP specific value of the payload
Definition at line 310 of file rtp_engine.h.
Referenced by ast_rtp_codecs_payload_code_sample_rate(), ast_rtp_codecs_payload_code_tx_sample_rate(), 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(), and ast_rtp_lookup_sample_rate2().
unsigned int sample_rate |
Sample rate to over-ride mime type defaults
Definition at line 318 of file rtp_engine.h.
Referenced by ast_rtp_codecs_payload_code_sample_rate(), ast_rtp_codecs_payload_code_tx_sample_rate(), and ast_rtp_codecs_payloads_set_rtpmap_type_rate().
struct timeval when_retired |
When the payload type became non-primary.
Definition at line 316 of file rtp_engine.h.