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

Unified Diff: media/cast/net/cast_transport_impl_unittest.cc

Issue 2113783002: Refactoring: Merge VideoSenderConfig and AudioSenderConfig. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: media/cast/net/cast_transport_impl_unittest.cc
diff --git a/media/cast/net/cast_transport_impl_unittest.cc b/media/cast/net/cast_transport_impl_unittest.cc
index fdc2657a228436014e768c0e3796bec7783ef017..958e7d154a94cf92c1f304a9acd2689d3ffd7216 100644
--- a/media/cast/net/cast_transport_impl_unittest.cc
+++ b/media/cast/net/cast_transport_impl_unittest.cc
@@ -106,7 +106,7 @@ class CastTransportImplTest : public ::testing::Test {
CastTransportRtpConfig rtp_config;
rtp_config.ssrc = kVideoSsrc;
rtp_config.feedback_ssrc = 2;
- rtp_config.rtp_payload_type = 3;
+ rtp_config.rtp_payload_type = RtpPayloadType::VIDEO_VP8;
transport_sender_->InitializeVideo(
rtp_config, base::WrapUnique(new StubRtcpObserver()));
}
@@ -115,7 +115,7 @@ class CastTransportImplTest : public ::testing::Test {
CastTransportRtpConfig rtp_config;
rtp_config.ssrc = kAudioSsrc;
rtp_config.feedback_ssrc = 3;
- rtp_config.rtp_payload_type = 4;
+ rtp_config.rtp_payload_type = RtpPayloadType::AUDIO_OPUS;
transport_sender_->InitializeAudio(
rtp_config, base::WrapUnique(new StubRtcpObserver()));
}

Powered by Google App Engine
This is Rietveld 408576698