| Index: webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc
|
| diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc
|
| index 394fa688491277b6a5b90d16178f106675feb368..a03af2435fff9ca4cd862043adbfe2df9a8fe2fa 100644
|
| --- a/webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc
|
| +++ b/webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc
|
| @@ -31,14 +31,8 @@ class TestTransport : public Transport {
|
| rtcp_receiver_(rtcp_receiver) {
|
| }
|
|
|
| - int SendPacket(int /*channel*/,
|
| - const void* /*data*/,
|
| - size_t /*len*/) override {
|
| - return -1;
|
| - }
|
| - int SendRTCPPacket(int /*channel*/,
|
| - const void* packet,
|
| - size_t packetLength) override {
|
| + int SendPacket(const void* /*data*/, size_t /*len*/) override { return -1; }
|
| + int SendRTCPPacket(const void* packet, size_t packetLength) override {
|
| RTCPUtility::RTCPParserV2 rtcpParser((uint8_t*)packet,
|
| packetLength,
|
| true); // Allow non-compound RTCP
|
| @@ -88,14 +82,13 @@ class RtcpFormatRembTest : public ::testing::Test {
|
|
|
| void RtcpFormatRembTest::SetUp() {
|
| RtpRtcp::Configuration configuration;
|
| - configuration.id = 0;
|
| configuration.audio = false;
|
| configuration.clock = system_clock_;
|
| configuration.remote_bitrate_estimator = remote_bitrate_estimator_.get();
|
| dummy_rtp_rtcp_impl_ = new ModuleRtpRtcpImpl(configuration);
|
| - rtcp_sender_ = new RTCPSender(0, false, system_clock_,
|
| - receive_statistics_.get(), NULL);
|
| - rtcp_receiver_ = new RTCPReceiver(0, system_clock_, false, NULL, NULL, NULL,
|
| + rtcp_sender_ =
|
| + new RTCPSender(false, system_clock_, receive_statistics_.get(), NULL);
|
| + rtcp_receiver_ = new RTCPReceiver(system_clock_, false, NULL, NULL, NULL,
|
| dummy_rtp_rtcp_impl_);
|
| test_transport_ = new TestTransport(rtcp_receiver_);
|
|
|
|
|