diff --git a/media/base/media_config.h b/media/base/media_config.h index 3d0666032c..20bc8fe6cb 100644 --- a/media/base/media_config.h +++ b/media/base/media_config.h @@ -48,7 +48,8 @@ struct MediaConfig { // Note that even if this flag is set to false, dropping of frames can // still happen pre-decode, e.g., dropping of higher temporal layers. // This flag comes from the PeerConnection RtcConfiguration. - bool enable_prerenderer_smoothing = true; + // RingRTC change to disable prerenderer smoothing + bool enable_prerenderer_smoothing = false; // Enables periodic bandwidth probing in application-limited region. bool periodic_alr_bandwidth_probing = false; @@ -58,7 +59,8 @@ struct MediaConfig { // Chrome origin-trial. // TODO(bugs.webrtc.org/8504): If all goes well, the flag will be removed // together with the old method of estimation. - bool experiment_cpu_load_estimator = false; + // RingRTC change to use the new CPU load estimator + bool experiment_cpu_load_estimator = true; // Time interval between RTCP report for video int rtcp_report_interval_ms = 1000; diff --git a/modules/video_coding/timing/timing.cc b/modules/video_coding/timing/timing.cc index 735f6328d8..3081821c28 100644 --- a/modules/video_coding/timing/timing.cc +++ b/modules/video_coding/timing/timing.cc @@ -51,7 +51,12 @@ VCMTiming::VCMTiming(Clock* clock, const FieldTrialsView& field_trials) decode_time_filter_(std::make_unique()), render_delay_(kDefaultRenderDelay), min_playout_delay_(TimeDelta::Zero()), - max_playout_delay_(TimeDelta::Seconds(10)), + // RingRTC change to reduce max playout delay +#if defined(WEBRTC_IOS) + max_playout_delay_(TimeDelta::Millis(501)), +#else + max_playout_delay_(TimeDelta::Zero()), +#endif jitter_delay_(TimeDelta::Zero()), current_delay_(TimeDelta::Zero()), prev_frame_timestamp_(0),