Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
A structure containing SIP session media information. More...
#include <res_pjsip_session.h>
Data Fields | |
int | bundle_group |
The bundle group the stream belongs to. More... | |
unsigned int | bundled |
Whether this stream is currently bundled or not. More... | |
unsigned int | changed |
The underlying session has been changed in some fashion. More... | |
struct ast_sockaddr | direct_media_addr |
Direct media address. More... | |
enum ast_sip_session_media_encryption | encryption |
What type of encryption is in use on this stream. More... | |
struct ast_sip_session_sdp_handler * | handler |
SDP handler that setup the RTP. More... | |
int | keepalive_sched_id |
Scheduler ID for RTP keepalive. More... | |
char | label [AST_UUID_STR_LEN] |
Track label. More... | |
unsigned int | locally_held:1 |
Stream is on hold by local side. More... | |
char * | mid |
Media identifier for this stream (may be shared across multiple streams) More... | |
char | mslabel [AST_UUID_STR_LEN] |
Media stream label. More... | |
unsigned int | remote_ice:1 |
Does remote support ice. More... | |
char * | remote_label |
Remote stream label. More... | |
char * | remote_mslabel |
Remote media stream label. More... | |
unsigned int | remote_rtcp_mux:1 |
Does remote support rtcp_mux. More... | |
unsigned int | remotely_held:1 |
Stream is on hold by remote side. More... | |
unsigned int | remotely_held_changed:1 |
Stream is held by remote side changed during this negotiation. More... | |
struct ast_rtp_instance * | rtp |
RTP instance itself. More... | |
struct ast_sdp_srtp * | srtp |
Holds SRTP information. More... | |
char * | stream_name |
Stream name. More... | |
int | stream_num |
The stream number to place into any resulting frames. More... | |
int | timeout_sched_id |
Scheduler ID for RTP timeout. More... | |
pj_str_t | transport |
The media transport in use for this stream. More... | |
enum ast_media_type | type |
Media type of this session media. More... | |
struct ast_udptl * | udptl |
UDPTL instance itself. More... | |
ast_sip_session_media_write_cb | write_callback |
The write callback when writing frames. More... | |
A structure containing SIP session media information.
Definition at line 77 of file res_pjsip_session.h.
int bundle_group |
The bundle group the stream belongs to.
Definition at line 115 of file res_pjsip_session.h.
Referenced by add_bundle_groups(), add_ssrc_to_stream(), ast_sip_session_media_get_transport(), ast_sip_session_media_state_add(), create_outgoing_sdp_stream(), enable_rtp_extension(), get_mid_bundle_group(), remove_stream_from_bundle(), and set_mid_and_bundle_group().
unsigned int bundled |
Whether this stream is currently bundled or not.
Definition at line 117 of file res_pjsip_session.h.
Referenced by apply_cap_to_bundled(), apply_negotiated_sdp_stream(), ast_sip_session_media_state_add(), create_outgoing_sdp_stream(), negotiate_incoming_sdp_stream(), remove_stream_from_bundle(), and set_mid_and_bundle_group().
unsigned int changed |
The underlying session has been changed in some fashion.
Definition at line 123 of file res_pjsip_session.h.
Referenced by handle_negotiated_sdp(), and process_ssrc_attributes().
struct ast_sockaddr direct_media_addr |
Direct media address.
Definition at line 83 of file res_pjsip_session.h.
Referenced by channel_read_rtp(), check_for_rtp_changes(), create_outgoing_sdp_stream(), rtp_check_timeout(), send_keepalive(), and set_caps().
enum ast_sip_session_media_encryption encryption |
What type of encryption is in use on this stream.
Definition at line 89 of file res_pjsip_session.h.
Referenced by add_crypto_to_stream(), apply_negotiated_sdp_stream(), ast_sip_session_media_state_add(), create_outgoing_sdp_stream(), negotiate_incoming_sdp_stream(), and setup_media_encryption().
struct ast_sip_session_sdp_handler* handler |
SDP handler that setup the RTP.
Definition at line 85 of file res_pjsip_session.h.
Referenced by add_sdp_streams(), handle_incoming_sdp(), handle_negotiated_sdp(), handle_negotiated_sdp_session_media(), sdp_requires_deferral(), session_media_set_handler(), and t38_reinvite_response_cb().
int keepalive_sched_id |
Scheduler ID for RTP keepalive.
Definition at line 93 of file res_pjsip_session.h.
Referenced by apply_negotiated_sdp_stream(), ast_sip_session_media_state_add(), and stream_stop().
char label[AST_UUID_STR_LEN] |
Track label.
Definition at line 121 of file res_pjsip_session.h.
Referenced by add_msid_to_stream(), and is_media_state_valid().
unsigned int locally_held |
Stream is on hold by local side.
Definition at line 101 of file res_pjsip_session.h.
Referenced by apply_negotiated_sdp_stream(), create_outgoing_sdp_stream(), and remote_send_hold_refresh().
char* mid |
Media identifier for this stream (may be shared across multiple streams)
Definition at line 113 of file res_pjsip_session.h.
Referenced by add_bundle_groups(), ast_sip_session_media_get_transport(), ast_sip_session_media_state_add(), create_local_sdp(), get_mid_bundle_group(), remove_stream_from_bundle(), session_media_dtor(), and set_mid_and_bundle_group().
char mslabel[AST_UUID_STR_LEN] |
Media stream label.
Definition at line 119 of file res_pjsip_session.h.
Referenced by add_msid_to_stream().
unsigned int remote_ice |
Does remote support ice.
Definition at line 105 of file res_pjsip_session.h.
Referenced by add_ice_to_stream(), ast_sip_session_media_state_add(), check_ice_support(), and negotiate_incoming_sdp_stream().
char* remote_label |
Remote stream label.
Definition at line 127 of file res_pjsip_session.h.
Referenced by session_media_dtor(), and set_remote_mslabel_and_stream_group().
char* remote_mslabel |
Remote media stream label.
Definition at line 125 of file res_pjsip_session.h.
Referenced by session_media_dtor(), and set_remote_mslabel_and_stream_group().
unsigned int remote_rtcp_mux |
Does remote support rtcp_mux.
Definition at line 103 of file res_pjsip_session.h.
Referenced by apply_negotiated_sdp_stream(), ast_sip_session_media_state_add(), create_outgoing_sdp_stream(), enable_rtcp(), negotiate_incoming_sdp_stream(), process_ice_attributes(), and set_ice_components().
unsigned int remotely_held |
Stream is on hold by remote side.
Definition at line 97 of file res_pjsip_session.h.
Referenced by apply_negotiated_sdp_stream(), channel_read_rtp(), create_outgoing_sdp_stream(), and set_session_media_remotely_held().
unsigned int remotely_held_changed |
Stream is held by remote side changed during this negotiation.
Definition at line 99 of file res_pjsip_session.h.
Referenced by apply_negotiated_sdp_stream(), and set_session_media_remotely_held().
struct ast_rtp_instance* rtp |
RTP instance itself.
Definition at line 79 of file res_pjsip_session.h.
Referenced by add_crypto_to_stream(), add_extmap_to_stream(), add_fingerprints_if_present(), add_ice_to_stream(), add_ssrc_to_stream(), apply_cap_to_bundled(), apply_dtls_attrib(), apply_negotiated_sdp_stream(), ast_sip_session_media_stats_save(), chan_pjsip_digit_begin(), chan_pjsip_digit_end(), chan_pjsip_get_rtp_peer(), chan_pjsip_get_vrtp_peer(), chan_pjsip_indicate(), chan_pjsip_session_end(), channel_read_rtcp(), channel_read_rtp(), check_for_rtp_changes(), check_ice_support(), cli_channelstats_print_body(), create_outgoing_sdp_stream(), create_rtp(), enable_rtcp(), enable_rtp_extension(), get_codecs(), hangup(), media_session_rtcp_read_callback(), media_session_rtp_read_callback(), media_session_rtp_write_callback(), negotiate_incoming_sdp_stream(), pjsip_acf_dtmf_mode_write(), process_extmap_attributes(), process_ice_attributes(), process_ice_auth_attrb(), process_ssrc_attributes(), rtp_check_timeout(), send_keepalive(), set_caps(), set_channel_on_rtp_instance(), set_ice_components(), set_incoming_call_offer_cap(), setup_dtls_srtp(), setup_sdes_srtp(), stream_destroy(), and stream_stop().
struct ast_sdp_srtp* srtp |
Holds SRTP information.
Definition at line 87 of file res_pjsip_session.h.
Referenced by add_crypto_to_stream(), channel_read_rtp(), parse_dtls_attrib(), session_media_dtor(), setup_sdes_srtp(), and setup_srtp().
char* stream_name |
Stream name.
Definition at line 129 of file res_pjsip_session.h.
Referenced by ast_sip_session_media_state_add(), is_media_state_valid(), and session_media_dtor().
int stream_num |
The stream number to place into any resulting frames.
Definition at line 111 of file res_pjsip_session.h.
Referenced by ast_sip_session_media_state_add(), chan_pjsip_write_stream(), create_outgoing_sdp_stream(), is_media_state_valid(), and media_session_udptl_read_callback().
int timeout_sched_id |
Scheduler ID for RTP timeout.
Definition at line 95 of file res_pjsip_session.h.
Referenced by apply_negotiated_sdp_stream(), ast_sip_session_media_state_add(), and stream_stop().
pj_str_t transport |
The media transport in use for this stream.
Definition at line 91 of file res_pjsip_session.h.
Referenced by change_outgoing_sdp_stream_media_address(), create_outgoing_sdp_stream(), and negotiate_incoming_sdp_stream().
enum ast_media_type type |
Media type of this session media.
Definition at line 107 of file res_pjsip_session.h.
Referenced by add_extmap_to_stream(), add_rtcp_fb_to_stream(), add_sdp_streams(), apply_negotiated_sdp_stream(), ast_sip_session_media_state_add(), chan_pjsip_indicate(), chan_pjsip_read_stream(), chan_pjsip_write_stream(), cli_channelstats_print_body(), create_outgoing_sdp_stream(), create_rtp(), handle_negotiated_sdp_session_media(), is_media_state_valid(), Property::load(), negotiate_incoming_sdp_stream(), process_extmap_attributes(), resolve_refresh_media_states(), rtp_check_timeout(), set_caps(), set_incoming_call_offer_cap(), and set_session_media_remotely_held().
struct ast_udptl* udptl |
UDPTL instance itself.
Definition at line 81 of file res_pjsip_session.h.
Referenced by apply_negotiated_sdp_stream(), create_outgoing_sdp_stream(), media_session_udptl_read_callback(), media_session_udptl_write_callback(), stream_destroy(), t38_change_state(), t38_initialize_session(), t38_interpret_parameters(), t38_interpret_sdp(), and t38_reinvite_response_cb().
ast_sip_session_media_write_cb write_callback |
The write callback when writing frames.
Definition at line 109 of file res_pjsip_session.h.
Referenced by ast_sip_session_media_set_write_callback(), and chan_pjsip_write_stream().