Janus DTLS-SRTP handle. More...
#include <dtls.h>
Data Fields | |
void * | component |
Opaque pointer to the component this DTLS-SRTP context belongs to. | |
janus_dtls_role | dtls_role |
DTLS role of the gateway for this stream: 1=client, 0=server. | |
janus_dtls_state | dtls_state |
DTLS state of this component: -1=failed, 0=nothing, 1=trying, 2=connected. | |
SSL * | ssl |
SSL context used for DTLS for this component. | |
BIO * | read_bio |
Read BIO (incoming DTLS data) | |
BIO * | write_bio |
Write BIO (outgoing DTLS data) | |
BIO * | filter_bio |
Filter BIO (fix MTU fragmentation on outgoing DTLS data, if required) | |
gint | srtp_valid |
Whether SRTP has been correctly set up for this component or not. | |
srtp_t | srtp_in |
libsrtp context for incoming SRTP packets | |
srtp_t | srtp_out |
libsrtp context for outgoing SRTP packets | |
srtp_policy_t | remote_policy |
libsrtp policy for incoming SRTP packets | |
srtp_policy_t | local_policy |
libsrtp policy for outgoing SRTP packets | |
janus_mutex | srtp_mutex |
Mutex to lock/unlock this libsrtp context. | |
int | ready |
Whether this DTLS stack is now ready to be used for messages as well (e.g., SCTP encapsulation) |
Janus DTLS-SRTP handle.
void* janus_dtls_srtp::component |
Opaque pointer to the component this DTLS-SRTP context belongs to.
janus_dtls_role janus_dtls_srtp::dtls_role |
DTLS role of the gateway for this stream: 1=client, 0=server.
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
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)