Janus DTLS-SRTP handle. More...
#include <dtls.h>
Data Fields | |
void * | pc |
Opaque pointer to the WebRTC PeerConnection this DTLS-SRTP context belongs to. | |
janus_dtls_role | dtls_role |
DTLS role of the server 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. | |
gint64 | dtls_started |
Monotonic time of when the DTLS handshake has started. | |
gint64 | dtls_connected |
Monotonic time of when the DTLS state has switched to 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) | |
gint | srtp_valid |
Whether SRTP has been correctly set up for this component or not. | |
gint | srtp_profile |
The SRTP profile currently in use. | |
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 | |
int | ready |
Whether this DTLS stack is now ready to be used for messages as well (e.g., SCTP encapsulation) | |
int | retransmissions |
The number of retransmissions that have occurred for this DTLS instance so far. | |
volatile gint | destroyed |
Atomic flag to check if this instance has been destroyed. | |
janus_refcount | ref |
Reference counter for this instance. | |
Janus DTLS-SRTP handle.
volatile gint janus_dtls_srtp::destroyed |
Atomic flag to check if this instance has been destroyed.
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 server for this stream: 1=client, 0=server.
gint64 janus_dtls_srtp::dtls_started |
Monotonic time of when the DTLS handshake has started.
janus_dtls_state janus_dtls_srtp::dtls_state |
DTLS state of this component: -1=failed, 0=nothing, 1=trying, 2=connected.
srtp_policy_t janus_dtls_srtp::local_policy |
libsrtp policy for outgoing SRTP packets
void* janus_dtls_srtp::pc |
Opaque pointer to the WebRTC PeerConnection this DTLS-SRTP context belongs to.
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)
janus_refcount janus_dtls_srtp::ref |
Reference counter for this instance.
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
srtp_t janus_dtls_srtp::srtp_out |
libsrtp context for outgoing SRTP packets
gint janus_dtls_srtp::srtp_profile |
The SRTP profile currently in use.
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)