Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
ast_sip_session_media Struct Reference

A structure containing SIP session media information. More...

#include <res_pjsip_session.h>

Collaboration diagram for ast_sip_session_media:
Collaboration graph
[legend]

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_handlerhandler
 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_instancertp
 RTP instance itself. More...
 
struct ast_sdp_srtpsrtp
 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_udptludptl
 UDPTL instance itself. More...
 
ast_sip_session_media_write_cb write_callback
 The write callback when writing frames. More...
 

Detailed Description

A structure containing SIP session media information.

Definition at line 77 of file res_pjsip_session.h.

Field Documentation

◆ bundle_group

int bundle_group

◆ bundled

unsigned int bundled

◆ changed

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().

◆ direct_media_addr

struct ast_sockaddr direct_media_addr

◆ encryption

◆ handler

struct ast_sip_session_sdp_handler* handler

◆ keepalive_sched_id

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().

◆ label

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().

◆ locally_held

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().

◆ mid

char* mid

◆ mslabel

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().

◆ remote_ice

unsigned int remote_ice

◆ remote_label

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().

◆ remote_mslabel

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().

◆ remote_rtcp_mux

unsigned int remote_rtcp_mux

◆ remotely_held

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().

◆ remotely_held_changed

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().

◆ rtp

struct ast_rtp_instance* rtp

◆ srtp

struct ast_sdp_srtp* srtp

◆ stream_name

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().

◆ stream_num

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().

◆ timeout_sched_id

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().

◆ transport

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().

◆ type

enum ast_media_type type

◆ udptl

struct ast_udptl* udptl

◆ 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().


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