- improve SRTP decoder API

This commit is contained in:
2025-08-24 14:01:43 +03:00
parent 6b7b086bf7
commit e6cb2a22f7
4 changed files with 18 additions and 17 deletions

View File

@@ -48,8 +48,8 @@ public:
/* bufferPtr is RTP packet data i.e. header + payload. Buffer must be big enough to hold encrypted data. */
bool protectRtp(void* buffer, int* length);
bool protectRtcp(void* buffer, int* length);
bool unprotectRtp(void* buffer, int* length);
bool unprotectRtcp(void* buffer, int* length);
bool unprotectRtp(const void* src, size_t srcLength, void* dst, size_t* dstLength);
bool unprotectRtcp(const void* src, size_t srcLength, void* dst, size_t* dstLength);
static void initSrtp();