Notify jitter buffer about received FEC packets (to avoid sending NACK request for these packets).
Don't copy codec specific header for empty packets in the jitter buffer. BUG=3135 R=pbos@webrtc.org, stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/37659004 Cr-Commit-Position: refs/heads/master@{#8184} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8184 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -127,7 +127,9 @@ VCMFrameBuffer::InsertPacket(const VCMPacket& packet,
|
||||
_encodedHeight = packet.height;
|
||||
}
|
||||
|
||||
CopyCodecSpecific(&packet.codecSpecificHeader);
|
||||
// Don't copy payload specific data for empty packets (e.g padding packets).
|
||||
if (packet.sizeBytes > 0)
|
||||
CopyCodecSpecific(&packet.codecSpecificHeader);
|
||||
|
||||
int retVal = _sessionInfo.InsertPacket(packet, _buffer,
|
||||
decode_error_mode,
|
||||
|
||||
Reference in New Issue
Block a user