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:
asapersson@webrtc.org
2015-01-28 13:58:27 +00:00
parent 22c2f0572b
commit 37c0559c1e
7 changed files with 148 additions and 4 deletions

View File

@ -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,