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:
@ -10,6 +10,8 @@
|
||||
|
||||
#include "webrtc/test/rtcp_packet_parser.h"
|
||||
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
||||
namespace webrtc {
|
||||
namespace test {
|
||||
|
||||
@ -20,6 +22,7 @@ RtcpPacketParser::~RtcpPacketParser() {}
|
||||
void RtcpPacketParser::Parse(const void *data, size_t len) {
|
||||
const uint8_t* packet = static_cast<const uint8_t*>(data);
|
||||
RTCPUtility::RTCPParserV2 parser(packet, len, true);
|
||||
EXPECT_TRUE(parser.IsValid());
|
||||
for (RTCPUtility::RTCPPacketTypes type = parser.Begin();
|
||||
type != RTCPUtility::kRtcpNotValidCode;
|
||||
type = parser.Iterate()) {
|
||||
|
||||
Reference in New Issue
Block a user