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

Unified Diff: media/cast/test/sender.cc

Issue 562653004: Cast: First stab at implementing adaptive latency (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 6 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 | « media/cast/test/end2end_unittest.cc ('k') | media/cast/test/simulator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/sender.cc
diff --git a/media/cast/test/sender.cc b/media/cast/test/sender.cc
index c18645a6dc1ace762ebc3b6955ab03ed801697e7..38aef308fe2faa30f430ba59fd2ef902bf445c37 100644
--- a/media/cast/test/sender.cc
+++ b/media/cast/test/sender.cc
@@ -75,7 +75,7 @@ media::cast::AudioSenderConfig GetAudioSenderConfig() {
audio_config.rtp_payload_type = 127;
// TODO(miu): The default in cast_defines.h is 100. Should this be 100, and
// should receiver.cc's config also be 100?
- audio_config.target_playout_delay = base::TimeDelta::FromMilliseconds(300);
+ audio_config.max_playout_delay = base::TimeDelta::FromMilliseconds(300);
return audio_config;
}
@@ -109,7 +109,7 @@ media::cast::VideoSenderConfig GetVideoSenderConfig() {
video_config.rtp_payload_type = 96;
// TODO(miu): The default in cast_defines.h is 100. Should this be 100, and
// should receiver.cc's config also be 100?
- video_config.target_playout_delay = base::TimeDelta::FromMilliseconds(300);
+ video_config.max_playout_delay = base::TimeDelta::FromMilliseconds(300);
return video_config;
}
« no previous file with comments | « media/cast/test/end2end_unittest.cc ('k') | media/cast/test/simulator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698