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

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

Issue 845993002: Adding "rtp_timebase" variable in lieu of "frequency" for FrameReceiverConfig structure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 1becf600488422fb0cf09ba4b38885c0cd17ef7d..39b9ae6c675c47d018a779df89e495dc98019b13 100644
--- a/media/cast/test/utility/default_config.cc
+++ b/media/cast/test/utility/default_config.cc
@@ -31,7 +31,7 @@ FrameReceiverConfig GetDefaultAudioReceiverConfig() {
config.incoming_ssrc = 1;
config.rtp_max_delay_ms = kDefaultRtpMaxDelayMs;
config.rtp_payload_type = 127;
- config.frequency = 48000;
+ config.rtp_timebase = 48000;
config.channels = 2;
config.target_frame_rate = 100; // 10ms of signal per frame
config.codec = media::cast::CODEC_AUDIO_OPUS;
@@ -44,7 +44,7 @@ FrameReceiverConfig GetDefaultVideoReceiverConfig() {
config.incoming_ssrc = 11;
config.rtp_max_delay_ms = kDefaultRtpMaxDelayMs;
config.rtp_payload_type = 96;
- config.frequency = kVideoFrequency;
+ config.rtp_timebase = kVideoFrequency;
config.channels = 1;
config.target_frame_rate = kDefaultMaxFrameRate;
config.codec = media::cast::CODEC_VIDEO_VP8;
@@ -58,7 +58,7 @@ AudioSenderConfig GetDefaultAudioSenderConfig() {
config.receiver_ssrc = recv_config.feedback_ssrc;
config.rtp_payload_type = recv_config.rtp_payload_type;
config.use_external_encoder = false;
- config.frequency = recv_config.frequency;
+ config.frequency = recv_config.rtp_timebase;
config.channels = recv_config.channels;
config.bitrate = kDefaultAudioEncoderBitrate;
config.codec = recv_config.codec;
« 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