Enqueue packet in pacer if sending fails
If a packet cannot be sent while pacer is in use it should be queued. This avoid packet loss due to congestion. BUG=1930 R=pwestin@webrtc.org, wu@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1693004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4250 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -165,7 +165,7 @@ class RTPSender : public Bitrate, public RTPSenderInterface {
|
||||
const RTPHeader &rtp_header,
|
||||
const int64_t now_ms) const;
|
||||
|
||||
void TimeToSendPacket(uint16_t sequence_number, int64_t capture_time_ms);
|
||||
bool TimeToSendPacket(uint16_t sequence_number, int64_t capture_time_ms);
|
||||
int TimeToSendPadding(int bytes);
|
||||
|
||||
// NACK.
|
||||
|
||||
Reference in New Issue
Block a user