mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00
Update video settings
This commit is contained in:
parent
a170a82bb0
commit
51b7e01995
2 changed files with 10 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -51,7 +51,12 @@ VCMTiming::VCMTiming(Clock* clock, const FieldTrialsView& field_trials)
|
|||
decode_time_filter_(std::make_unique<DecodeTimePercentileFilter>()),
|
||||
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),
|
||||
|
|
Loading…
Reference in a new issue