Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1330)

Unified Diff: webrtc/modules/rtp_rtcp/source/rtcp_format_remb_unittest.cc

Issue 1335353005: Remove channel ids from various interfaces. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc ('k') | webrtc/modules/rtp_rtcp/source/rtcp_receiver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_);
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc ('k') | webrtc/modules/rtp_rtcp/source/rtcp_receiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698