Fork me on GitHub
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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_started
 Monotonic time of when the DTLS handhake has started. 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

void* janus_dtls_srtp::component

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

gint64 janus_dtls_srtp::dtls_connected

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

janus_dtls_role janus_dtls_srtp::dtls_role

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

gint64 janus_dtls_srtp::dtls_started

Monotonic time of when the DTLS handhake has started.

janus_dtls_state janus_dtls_srtp::dtls_state

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

BIO* janus_dtls_srtp::filter_bio

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

srtp_policy_t janus_dtls_srtp::local_policy

libsrtp policy for outgoing SRTP packets

BIO* janus_dtls_srtp::read_bio

Read BIO (incoming DTLS data)

int janus_dtls_srtp::ready

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

srtp_policy_t janus_dtls_srtp::remote_policy

libsrtp policy for incoming SRTP packets

int janus_dtls_srtp::retransmissions

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

srtp_t janus_dtls_srtp::srtp_in

libsrtp context for incoming SRTP packets

janus_mutex janus_dtls_srtp::srtp_mutex

Mutex to lock/unlock this libsrtp context.

srtp_t janus_dtls_srtp::srtp_out

libsrtp context for outgoing SRTP packets

gint janus_dtls_srtp::srtp_valid

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

SSL* janus_dtls_srtp::ssl

SSL context used for DTLS for this component.

BIO* janus_dtls_srtp::write_bio

Write BIO (outgoing DTLS data)


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