Fix for RTX in combination with pacing.
Retransmissions didn't get sent over RTX when pacing was enabled since the pacer didn't keep track of whether a packet was a retransmit or not. BUG=1811 TEST=trybots R=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/3779004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5117 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -126,8 +126,10 @@ class ModuleRtpRtcpImpl : public RtpRtcp {
|
||||
const RTPFragmentationHeader* fragmentation = NULL,
|
||||
const RTPVideoHeader* rtp_video_hdr = NULL) OVERRIDE;
|
||||
|
||||
virtual bool TimeToSendPacket(uint32_t ssrc, uint16_t sequence_number,
|
||||
int64_t capture_time_ms) OVERRIDE;
|
||||
virtual bool TimeToSendPacket(uint32_t ssrc,
|
||||
uint16_t sequence_number,
|
||||
int64_t capture_time_ms,
|
||||
bool retransmission) OVERRIDE;
|
||||
// Returns the number of padding bytes actually sent, which can be more or
|
||||
// less than |bytes|.
|
||||
virtual int TimeToSendPadding(int bytes) OVERRIDE;
|
||||
|
Reference in New Issue
Block a user