Skip to content

Commit 83187f1

Browse files
committed
fix: tune quality switch
1 parent 1ef79a2 commit 83187f1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/video-player/video-player.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,25 +101,25 @@ export const VideoPlayer: FC<VideoPlayerProps> = ({ src, cid, titleMovie, onBack
101101
// abrEwmaFastVod: Controls how quickly the algorithm reacts to bandwidth changes in VOD (Video On Demand).
102102
// A higher value makes the algorithm less sensitive to short-term fluctuations, smoothing out rapid changes.
103103
// Recommended range: 2.0 - 5.0 (Higher = Smoother)
104-
"abrEwmaFastVoD": 4,
104+
// "abrEwmaFastVoD": 3,
105105
// abrEwmaSlowVod: Controls the long-term average bandwidth estimation for adaptive bitrate switching.
106106
// A higher value averages the bandwidth over a longer period, reducing frequent quality switches.
107107
// Recommended range: 10.0 - 20.0 (Higher = More stable, but slower adaptation)
108-
"abrEwmaSlowVoD": 20,
108+
// "abrEwmaSlowVoD": 8,
109109
// abrBandWidthFactor: Determines how conservatively HLS estimates available bandwidth.
110110
// A value < 1.0 ensures HLS.js does not use the full estimated bandwidth, preventing aggressive quality changes.
111111
// Recommended range: 0.7 - 0.9 (Lower = More cautious, fewer quality switches)
112-
"abrBandWidthFactor": 0.7,
112+
// "abrBandWidthFactor": 0.7,
113113
// abrBandWidthUpFactor: Controls how aggressively the player upgrades to a higher bitrate.
114114
// A lower value prevents HLS.js from switching to a higher quality too quickly, reducing unnecessary upscaling.
115115
// Recommended range: 0.5 - 0.8 (Lower = More stable, avoids excessive upscaling)
116-
"abrBandWidthUpFactor": 0.5,
116+
// "abrBandWidthUpFactor": 0.6,
117117
"enableSoftwareAES": false, // Disable software AES decryption
118118
"enableID3MetadataCues": false, // Disable ID3 metadata cues
119119
"enableWebVTT": true, // Enable WebVTT subtitles
120120
"enableIMSC1": false, // Disable IMSC1 subtitles
121121
"enableCEA708Captions": false, // Disable CEA-708 captions,
122-
"abrMaxWithRealBitrate": true,
122+
// "abrMaxWithRealBitrate": true,
123123
"enableWorker": true,
124124
"backBufferLength": 90,
125125
"progressive": true,

0 commit comments

Comments
 (0)