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

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: minor changes after more manual testing 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
Index: media/cast/test/sender.cc
diff --git a/media/cast/test/sender.cc b/media/cast/test/sender.cc
index a84bd28cbde40682b7787753b9b8d136c3de188e..88c5830b7ec7f0a781b144d4fabfbe2b52b133f7 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;
}

Powered by Google App Engine
This is Rietveld 408576698