mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-07 04:08:13 +08:00
修复webrtc srtp相关功能在大端64位系统崩溃的问题
This commit is contained in:
@@ -64,10 +64,10 @@ namespace RTC
|
||||
~SrtpSession();
|
||||
|
||||
public:
|
||||
bool EncryptRtp(uint8_t* data, size_t* len);
|
||||
bool DecryptSrtp(uint8_t* data, size_t* len);
|
||||
bool EncryptRtcp(uint8_t* data, size_t* len);
|
||||
bool DecryptSrtcp(uint8_t* data, size_t* len);
|
||||
bool EncryptRtp(uint8_t* data, int* len);
|
||||
bool DecryptSrtp(uint8_t* data, int* len);
|
||||
bool EncryptRtcp(uint8_t* data, int* len);
|
||||
bool DecryptSrtcp(uint8_t* data, int* len);
|
||||
void RemoveStream(uint32_t ssrc)
|
||||
{
|
||||
srtp_remove_stream(this->session, uint32_t{ htonl(ssrc) });
|
||||
|
||||
Reference in New Issue
Block a user