mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[fix] fix decoding error caused by padding packets
This commit is contained in:
@@ -239,9 +239,9 @@ void IceTransportController::UpdateNetworkAvaliablity(bool network_available) {
|
||||
}
|
||||
|
||||
int IceTransportController::OnReceiveVideoRtpPacket(const char* data,
|
||||
size_t size, bool padding) {
|
||||
size_t size) {
|
||||
if (video_channel_receive_) {
|
||||
return video_channel_receive_->OnReceiveRtpPacket(data, size, padding);
|
||||
return video_channel_receive_->OnReceiveRtpPacket(data, size);
|
||||
}
|
||||
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user