For FIR packet, payload length is zero, so SendToNetwork function is failing.
R=stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/23059004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7490 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
1d9af96c06
commit
76960d5f74
@ -954,7 +954,6 @@ int32_t RTPSender::SendToNetwork(
|
||||
uint32_t length = payload_length + rtp_header_length;
|
||||
if (!SendPacketToNetwork(buffer, length))
|
||||
return -1;
|
||||
assert(payload_length - rtp_header.paddingLength > 0);
|
||||
{
|
||||
CriticalSectionScoped lock(send_critsect_);
|
||||
media_has_been_sent_ = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user