diff options
author | defanor <defanor@uberspace.net> | 2021-10-13 22:03:49 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2021-10-13 22:52:44 +0300 |
commit | 2e667698024e85fe1a9ae44181af9e38141176eb (patch) | |
tree | 0ed19b48b792fdf7f5ac14d569e5f7cd978adbd6 /src/rexmpp_tls.h | |
parent | f2ef0cf34d32e26c45004a5f2bd57380c15c720d (diff) |
Implement Jingle RTP sessions with ICE-UDP and DTLS-SRTP
Works with Dino and Conversations, but currently relying on external
players and streamers for actual audio playback and capture.
For now requiring GnuTLS and libnice for calls; OpenSSL should be
supported as an alternative to the former, and the latter should be
made optional, maybe with libjuice as an alternative.
Diffstat (limited to 'src/rexmpp_tls.h')
-rw-r--r-- | src/rexmpp_tls.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rexmpp_tls.h b/src/rexmpp_tls.h index 21e61f3..24ba042 100644 --- a/src/rexmpp_tls.h +++ b/src/rexmpp_tls.h @@ -74,6 +74,10 @@ rexmpp_tls_err_t rexmpp_tls_recv(rexmpp_t *s, void *data, size_t data_size, ssiz int rexmpp_tls_fds(rexmpp_t *s, fd_set *read_fds, fd_set *write_fds); +/** + @brief Sets credentials for both client authentication to the + server (SASL EXTERNAL) and DTLS connections in Jingle sessions. +*/ rexmpp_tls_err_t rexmpp_tls_set_x509_key_file (rexmpp_t *s, const char *cert_file, |