Fork me on GitHub
Data Fields
janus_dtls_srtp Struct Reference

Janus DTLS-SRTP handle. More...

#include <dtls.h>

Data Fields

void * component
 Opaque pointer to the component this DTLS-SRTP context belongs to. More...
 
janus_dtls_role dtls_role
 DTLS role of the gateway for this stream: 1=client, 0=server. More...
 
janus_dtls_state dtls_state
 DTLS state of this component: -1=failed, 0=nothing, 1=trying, 2=connected. More...
 
gint64 dtls_connected
 Monotonic time of when the DTLS state has switched to connected. More...
 
SSL * ssl
 SSL context used for DTLS for this component. More...
 
BIO * read_bio
 Read BIO (incoming DTLS data) More...
 
BIO * write_bio
 Write BIO (outgoing DTLS data) More...
 
BIO * filter_bio
 Filter BIO (fix MTU fragmentation on outgoing DTLS data, if required) More...
 
gint srtp_valid
 Whether SRTP has been correctly set up for this component or not. More...
 
srtp_t srtp_in
 libsrtp context for incoming SRTP packets More...
 
srtp_t srtp_out
 libsrtp context for outgoing SRTP packets More...
 
srtp_policy_t remote_policy
 libsrtp policy for incoming SRTP packets More...
 
srtp_policy_t local_policy
 libsrtp policy for outgoing SRTP packets More...
 
janus_mutex srtp_mutex
 Mutex to lock/unlock this libsrtp context. More...
 
int ready
 Whether this DTLS stack is now ready to be used for messages as well (e.g., SCTP encapsulation) More...
 
int retransmissions
 The number of retransmissions that have occurred for this DTLS instance so far. More...
 

Detailed Description

Janus DTLS-SRTP handle.

Field Documentation

◆ component

void* janus_dtls_srtp::component

Opaque pointer to the component this DTLS-SRTP context belongs to.

◆ dtls_connected

gint64 janus_dtls_srtp::dtls_connected

Monotonic time of when the DTLS state has switched to connected.

◆ dtls_role

janus_dtls_role janus_dtls_srtp::dtls_role

DTLS role of the gateway for this stream: 1=client, 0=server.

◆ dtls_state

janus_dtls_state janus_dtls_srtp::dtls_state

DTLS state of this component: -1=failed, 0=nothing, 1=trying, 2=connected.

◆ filter_bio

BIO* janus_dtls_srtp::filter_bio

Filter BIO (fix MTU fragmentation on outgoing DTLS data, if required)

◆ local_policy

srtp_policy_t janus_dtls_srtp::local_policy

libsrtp policy for outgoing SRTP packets

◆ read_bio

BIO* janus_dtls_srtp::read_bio

Read BIO (incoming DTLS data)

◆ ready

int janus_dtls_srtp::ready

Whether this DTLS stack is now ready to be used for messages as well (e.g., SCTP encapsulation)

◆ remote_policy

srtp_policy_t janus_dtls_srtp::remote_policy

libsrtp policy for incoming SRTP packets

◆ retransmissions

int janus_dtls_srtp::retransmissions

The number of retransmissions that have occurred for this DTLS instance so far.

◆ srtp_in

srtp_t janus_dtls_srtp::srtp_in

libsrtp context for incoming SRTP packets

◆ srtp_mutex

janus_mutex janus_dtls_srtp::srtp_mutex

Mutex to lock/unlock this libsrtp context.

◆ srtp_out

srtp_t janus_dtls_srtp::srtp_out

libsrtp context for outgoing SRTP packets

◆ srtp_valid

gint janus_dtls_srtp::srtp_valid

Whether SRTP has been correctly set up for this component or not.

◆ ssl

SSL* janus_dtls_srtp::ssl

SSL context used for DTLS for this component.

◆ write_bio

BIO* janus_dtls_srtp::write_bio

Write BIO (outgoing DTLS data)


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