Fork me on GitHub
Macros | Functions
dtls-bio.h File Reference

OpenSSL BIO agent writer. More...

#include <openssl/opensslv.h>
#include <openssl/err.h>
#include <openssl/ssl.h>
#include "dtls.h"
Include dependency graph for dtls-bio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define JANUS_USE_OPENSSL_PRE_1_1_API   (OPENSSL_VERSION_NUMBER < 0x10100000L)
 

Functions

int janus_dtls_bio_agent_init (void)
 OpenSSL BIO agent writer initialization. More...
 
BIO * BIO_janus_dtls_agent_new (struct janus_dtls_srtp *dtls)
 OpenSSL BIO agent writer constructor. More...
 
void janus_dtls_bio_agent_set_mtu (int start_mtu)
 Set the MTU for the BIO agent writer. More...
 

Detailed Description

OpenSSL BIO agent writer.

Author
Lorenzo Miniero loren.nosp@m.zo@m.nosp@m.eetec.nosp@m.ho.c.nosp@m.om

OpenSSL BIO that writes packets to a libnice agent.

Protocols

Macro Definition Documentation

#define JANUS_USE_OPENSSL_PRE_1_1_API   (OPENSSL_VERSION_NUMBER < 0x10100000L)

Function Documentation

BIO* BIO_janus_dtls_agent_new ( struct janus_dtls_srtp dtls)

OpenSSL BIO agent writer constructor.

int janus_dtls_bio_agent_init ( void  )

OpenSSL BIO agent writer initialization.

void janus_dtls_bio_agent_set_mtu ( int  start_mtu)

Set the MTU for the BIO agent writer.

Note
The default starting MTU is 1472, in case fragmentation is needed the OpenSSL DTLS stack automatically decreases it. That said, if you know for sure the MTU in the network Janus is deployed in is smaller than that, it makes sense to configure an according value to start from
Parameters
start_mtuThe MTU to start from (1472 by default)