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

Unified Diff: media/cast/test/utility/default_config.cc

Issue 2068133005: Refactoring: Use enum for RtpPayloadType. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert to Patch 2. 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
« no previous file with comments | « media/cast/test/receiver.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/utility/default_config.cc
diff --git a/media/cast/test/utility/default_config.cc b/media/cast/test/utility/default_config.cc
index 7d8b08128a4c2276c759a1e57dac200328434300..30768b017e6e3894be1693ab69d58e8a77a07b6b 100644
--- a/media/cast/test/utility/default_config.cc
+++ b/media/cast/test/utility/default_config.cc
@@ -34,7 +34,7 @@ FrameReceiverConfig GetDefaultAudioReceiverConfig() {
config.receiver_ssrc = 2;
config.sender_ssrc = 1;
config.rtp_max_delay_ms = kDefaultRtpMaxDelayMs;
- config.rtp_payload_type = kDefaultRtpAudioPayloadType;
+ config.rtp_payload_type = RtpPayloadType::AUDIO_OPUS;
config.rtp_timebase = 48000;
config.channels = 2;
config.target_frame_rate = 100; // 10ms of signal per frame
@@ -47,7 +47,7 @@ FrameReceiverConfig GetDefaultVideoReceiverConfig() {
config.receiver_ssrc = 12;
config.sender_ssrc = 11;
config.rtp_max_delay_ms = kDefaultRtpMaxDelayMs;
- config.rtp_payload_type = kDefaultRtpVideoPayloadType;
+ config.rtp_payload_type = RtpPayloadType::VIDEO_VP8;
config.rtp_timebase = kVideoFrequency;
config.channels = 1;
config.target_frame_rate = kDefaultMaxFrameRate;
« no previous file with comments | « media/cast/test/receiver.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698