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

Unified Diff: webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.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
Index: webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.cc
diff --git a/webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.cc b/webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.cc
index e28d5ceaf524d41e1770ad0cb6d94c78bc6a665a..ead8368b9255682766346bd87d46dce830448678 100644
--- a/webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.cc
+++ b/webrtc/modules/rtp_rtcp/test/testAPI/test_api_video.cc
@@ -33,13 +33,11 @@ namespace webrtc {
class RtpRtcpVideoTest : public ::testing::Test {
protected:
RtpRtcpVideoTest()
- : test_id_(123),
- rtp_payload_registry_(RTPPayloadStrategy::CreateStrategy(false)),
+ : rtp_payload_registry_(RTPPayloadStrategy::CreateStrategy(false)),
test_ssrc_(3456),
test_timestamp_(4567),
test_sequence_number_(2345),
- fake_clock(123456) {
- }
+ fake_clock(123456) {}
~RtpRtcpVideoTest() {}
virtual void SetUp() {
@@ -47,14 +45,13 @@ class RtpRtcpVideoTest : public ::testing::Test {
receiver_ = new TestRtpReceiver();
receive_statistics_.reset(ReceiveStatistics::Create(&fake_clock));
RtpRtcp::Configuration configuration;
- configuration.id = test_id_;
configuration.audio = false;
configuration.clock = &fake_clock;
configuration.outgoing_transport = transport_;
video_module_ = RtpRtcp::CreateRtpRtcp(configuration);
rtp_receiver_.reset(RtpReceiver::CreateVideoReceiver(
- test_id_, &fake_clock, receiver_, NULL, &rtp_payload_registry_));
+ &fake_clock, receiver_, NULL, &rtp_payload_registry_));
video_module_->SetRTCPStatus(kRtcpCompound);
video_module_->SetSSRC(test_ssrc_);
« no previous file with comments | « webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.cc ('k') | webrtc/modules/video_coding/main/test/rtp_player.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698