| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
#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_payload_code(), ast_rtp_codecs_payload_code_sample_rate(), ast_rtp_codecs_payload_code_tx(), ast_rtp_codecs_payload_code_tx_sample_rate(), ast_rtp_codecs_payloads_set_rtpmap_type_rate(), ast_rtp_lookup_mime_multiple2(), 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_assign_payload_code_rx(), 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 306 of file rtp_engine.h.
Referenced by add_static_payload(), ast_rtp_codecs_payload_code(), ast_rtp_codecs_payload_code_sample_rate(), ast_rtp_codecs_payload_code_tx(), ast_rtp_codecs_payload_code_tx_sample_rate(), ast_rtp_codecs_payload_replace_format(), ast_rtp_codecs_payload_set_rx(), ast_rtp_codecs_payload_set_rx_sample_rate(), ast_rtp_codecs_payloads_set_rtpmap_type_rate(), ast_rtp_engine_load_format(), ast_rtp_engine_unload_format(), 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_assign_payload_code_rx(), rtp_payload_type_alloc(), and set_next_mime_type().
| int payload | 
Actual payload number
Definition at line 312 of file rtp_engine.h.
Referenced by add_static_payload(), ast_rtp_codecs_find_payload_code(), ast_rtp_codecs_get_payload(), 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(), ast_rtp_codecs_payloads_set_m_type(), ast_rtp_codecs_payloads_set_rtpmap_type(), ast_rtp_codecs_payloads_unset(), 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 314 of file rtp_engine.h.
Referenced by payload_mapping_rx_clear_primary(), and rtp_payload_type_alloc().
| int rtp_code | 
Actual internal RTP specific value of the payload
Definition at line 310 of file rtp_engine.h.
Referenced by add_static_payload(), ast_rtp_codecs_payloads_set_rtpmap_type_rate(), 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_payload_type_alloc(), and set_next_mime_type().
| 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(), ast_rtp_codecs_payload_set_rx_sample_rate(), ast_rtp_codecs_payloads_set_rtpmap_type_rate(), payload_mapping_tx_is_present(), rtp_codecs_assign_payload_code_rx(), and rtp_payload_type_alloc().
| struct timeval when_retired | 
When the payload type became non-primary.
Definition at line 316 of file rtp_engine.h.