Make sure padding packets are sent.
BUG=1837 R=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1717006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4260 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -459,7 +459,7 @@ int RTPSender::SendPadData(int payload_type, uint32_t timestamp,
|
||||
bytes = (bytes + 16) & 0xffe0;
|
||||
}
|
||||
}
|
||||
if (padding_bytes_in_packet < 32) {
|
||||
if (bytes < 32) {
|
||||
// Sanity don't send empty packets.
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user