修改rtp pt时,确保不影响其他播放器

This commit is contained in:
xiongziliang
2021-04-04 21:42:11 +08:00
parent 2abb5078f9
commit c70721a520
4 changed files with 10 additions and 13 deletions

View File

@@ -46,7 +46,7 @@ namespace RTC
~SrtpSession();
public:
bool EncryptRtp(const uint8_t** data, size_t* len);
bool EncryptRtp(const uint8_t** data, size_t* len, uint8_t pt);
bool DecryptSrtp(uint8_t* data, size_t* len);
bool EncryptRtcp(const uint8_t** data, size_t* len);
bool DecryptSrtcp(uint8_t* data, size_t* len);