[fix] fix crash caused by RtpPacketReceived

This commit is contained in:
dijunkun
2025-01-09 17:03:08 +08:00
parent de212a8e75
commit 49b74ffcd6
5 changed files with 40 additions and 441 deletions

View File

@@ -192,6 +192,9 @@ class RtpPacket {
virtual ~RtpPacket();
public:
bool Build(const uint8_t *buffer, uint32_t size);
public:
// Set Header
void SetVerion(uint8_t version) { version_ = version; }