Temporarily disable first partition packet counting to avoid a bug in ProducerFec which doesn't properly handle important packets.

TBR=stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/631005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2346 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
marpan@webrtc.org 2012-06-01 18:32:16 +00:00
parent 354b0ed015
commit 899baa821b

View File

@ -420,11 +420,15 @@ RTPSenderVideo::SendVP8(const FrameType frameType,
int packetStartPartition =
packetizer.NextPacket(&dataBuffer[rtpHeaderLength],
&payloadBytesInPacket, &last);
if (packetStartPartition == 0)
{
++_numberFirstPartition;
}
else if (packetStartPartition < 0)
// TODO(holmer): Temporarily disable first partition packet counting
// to avoid a bug in ProducerFec which doesn't properly handle
// important packets.
// if (packetStartPartition == 0)
// {
// ++_numberFirstPartition;
// }
// else
if (packetStartPartition < 0)
{
return -1;
}