]> git.sesse.net Git - vlc/blobdiff - libs/srtp/srtp.h
SRTCP support
[vlc] / libs / srtp / srtp.h
index d51427cdbab672a82bf12ec47e5dca994e17aa9d..8f694056523ff415fb0f46bb694a6ad52bc37bb9 100644 (file)
@@ -39,11 +39,14 @@ extern "C" {
 srtp_session_t *srtp_create (const char *name, unsigned flags, unsigned kdr,
                              uint16_t winsize);
 void srtp_destroy (srtp_session_t *s);
+int srtp_setkey (srtp_session_t *s, const void *key, size_t keylen,
+                 const void *salt, size_t saltlen);
+
 int srtp_send (srtp_session_t *s, uint8_t *buf, size_t *lenp, size_t maxsize);
 int srtp_recv (srtp_session_t *s, uint8_t *buf, size_t *lenp);
+int srtcp_send (srtp_session_t *s, uint8_t *buf, size_t *lenp, size_t maxsiz);
+int srtcp_recv (srtp_session_t *s, uint8_t *buf, size_t *lenp);
 
-int srtp_setkey (srtp_session_t *s, const void *key, size_t keylen,
-                 const void *salt, size_t saltlen);
 # ifdef __cplusplus
 }
 # endif