[fix] fix decoding error caused by padding packets

This commit is contained in:
dijunkun
2025-03-18 15:11:10 +08:00
parent fa667df1e0
commit 2d59c74669
10 changed files with 56 additions and 41 deletions

View File

@@ -105,7 +105,6 @@ class IceTransport {
private:
uint8_t CheckIsRtpPacket(const char *buffer, size_t size);
uint8_t CheckIsRtpPaddingPacket(const char *buffer, size_t size);
uint8_t CheckIsRtcpPacket(const char *buffer, size_t size);
uint8_t CheckIsVideoPacket(const char *buffer, size_t size);
uint8_t CheckIsAudioPacket(const char *buffer, size_t size);