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

union {
   struct ast_rtp_instance *   rtp
 RTP instance itself.
   struct ast_udptl *   udptl
 UDPTL instance itself.
}; 
struct ast_sockaddr direct_media_addr
 Direct media address.
enum
ast_sip_session_media_encryption 
encryption
 What type of encryption is in use on this stream.
struct
ast_sip_session_sdp_handler
handler
 SDP handler that setup the RTP.
unsigned int locally_held:1
 Stream is on hold by local side.
unsigned int remotely_held:1
 Stream is on hold by remote side.
struct ast_sdp_srtpsrtp
 Holds SRTP information.
char stream_type [1]
 Stream type this session media handles.
pj_str_t transport
 The media transport in use for this stream.

Detailed Description

A structure containing SIP session media information.

Definition at line 63 of file res_pjsip_session.h.


Field Documentation

union { ... }

Direct media address.

Definition at line 71 of file res_pjsip_session.h.

Referenced by channel_read_rtp(), check_for_rtp_changes(), create_outgoing_sdp_stream(), and set_caps().

What type of encryption is in use on this stream.

Definition at line 77 of file res_pjsip_session.h.

Referenced by add_crypto_to_stream(), apply_negotiated_sdp_stream(), create_outgoing_sdp_stream(), negotiate_incoming_sdp_stream(), and setup_media_encryption().

SDP handler that setup the RTP.

Definition at line 73 of file res_pjsip_session.h.

Referenced by add_sdp_streams(), handle_negotiated_sdp_session_media(), and session_media_set_handler().

unsigned int locally_held

Stream is on hold by local side.

Definition at line 83 of file res_pjsip_session.h.

Referenced by create_outgoing_sdp_stream(), and local_hold_set_state().

unsigned int remotely_held

Stream is on hold by remote side.

Definition at line 81 of file res_pjsip_session.h.

Referenced by apply_negotiated_sdp_stream(), and channel_read_rtp().

struct ast_rtp_instance* rtp [read]

struct ast_sdp_srtp* srtp [read]

char stream_type[1]

pj_str_t transport

The media transport in use for this stream.

Definition at line 79 of file res_pjsip_session.h.

Referenced by create_outgoing_sdp_stream(), and negotiate_incoming_sdp_stream().

struct ast_udptl* udptl [read]


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

Generated on Thu Apr 16 06:35:38 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6