你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/471033-youtube-force-html5-exponential-memory-for-sticky,源站連結 點此以跳轉。
To prevent YouTube to change the video quality automatically during YouTube Live Streaming.
This script is the first script on Greasy Fork to focus on the setting html5_exponential_memory_for_sticky in WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_WATCH.
During YouTube live streaming, the video quality might change as YouTube engine detected your browser might be not that powerful (network slow) to handle the high video quality, but indeed the cause might be due to the overwhelmed chat messages in chat iframe (e.g. Pekora Ch. 兎田ぺこら's popular 生配信).
This script will enable the hidden feature html5_exponential_memory_for_sticky for the player settings such that the video quality will not freely automatically changed.
You can still change the video quality settings using the buttons in the player.
Compatible with YouTube EXPERIMENT_FLAGS Tamer
html5_exponential_memory_for_sticky becomes truehtml5_perf_cap_override_stickyhtml5_ustreamer_cap_override_stickyhtml5_always_apply_default_quality_caphtml5_apply_pbr_cap_for_drmmanifestless_post_live_ufphmanifestless_post_livehls_for_vodmweb_remove_360p_cap((s)=>[...yt.config_.WEB_PLAYER_CONTEXT_CONFIGS.WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_WATCH.serializedExperimentFlags.matchAll(
new RegExp(`\\b(${s})=([^&=]+)\\b`,"g")
)].map(e=>e.slice(1,3))
)(`
html5_exponential_memory_for_sticky|h5_expr_b9Nkc|html5_perf_cap_override_sticky|html5_ustreamer_cap_override_sticky|
html5_always_apply_default_quality_cap|html5_apply_pbr_cap_for_drm|manifestless_post_live_ufph|manifestless_post_live|
hls_for_vod|mweb_remove_360p_cap
`.replace(/\s+/g,'').replace(/\|+/g,'|'));