Properly account for retransmitted packets when not using the pacer.
This regression was introduced in r5728. TBR=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/10269004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5729 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -628,7 +628,8 @@ int32_t RTPSender::ReSendPacket(uint16_t packet_id, uint32_t min_resend_time) {
|
||||
}
|
||||
|
||||
return PrepareAndSendPacket(data_buffer, length, capture_time_ms,
|
||||
(rtx_ & kRtxRetransmitted) > 0, true) ? 0 : -1;
|
||||
(rtx_ & kRtxRetransmitted) > 0, true) ?
|
||||
length : -1;
|
||||
}
|
||||
|
||||
bool RTPSender::SendPacketToNetwork(const uint8_t *packet, uint32_t size) {
|
||||
|
||||
Reference in New Issue
Block a user