diff --git a/src/modules/rtp_rtcp/source/rtp_sender_video.cc b/src/modules/rtp_rtcp/source/rtp_sender_video.cc index f1e3c746b2..a9c8be7293 100644 --- a/src/modules/rtp_rtcp/source/rtp_sender_video.cc +++ b/src/modules/rtp_rtcp/source/rtp_sender_video.cc @@ -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; }