diff options
Diffstat (limited to 'src/view/com/util/post-embeds/VideoEmbedInner/web-controls/VideoControls.tsx')
-rw-r--r-- | src/view/com/util/post-embeds/VideoEmbedInner/web-controls/VideoControls.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/view/com/util/post-embeds/VideoEmbedInner/web-controls/VideoControls.tsx b/src/view/com/util/post-embeds/VideoEmbedInner/web-controls/VideoControls.tsx index dd0dafc33..acd4d1aae 100644 --- a/src/view/com/util/post-embeds/VideoEmbedInner/web-controls/VideoControls.tsx +++ b/src/view/com/util/post-embeds/VideoEmbedInner/web-controls/VideoControls.tsx @@ -138,13 +138,10 @@ export function Controls({ useEffect(() => { if (!hlsRef.current) return if (focused) { - // auto decide quality based on network conditions - hlsRef.current.autoLevelCapping = -1 // allow 30s of buffering hlsRef.current.config.maxMaxBufferLength = 30 } else { // back to what we initially set - hlsRef.current.autoLevelCapping = 0 hlsRef.current.config.maxMaxBufferLength = 10 } }, [hlsRef, focused]) |