mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 12:45:35 +08:00
Fix crash caused by obu payload assigning to rtp packet
This commit is contained in:
@@ -249,8 +249,8 @@ void RtpCodec::Encode(uint8_t* buffer, size_t size,
|
||||
|
||||
rtp_packet.SetAv1AggrHeader(0, 0, 1, 0);
|
||||
|
||||
// rtp_packet.EncodeAv1(buffer, size);
|
||||
// packets.emplace_back(rtp_packet);
|
||||
rtp_packet.EncodeAv1(obus[i].payload_, obus[i].payload_size_);
|
||||
packets.emplace_back(rtp_packet);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user