ref |> 阿里播放器设置配置默认开启硬解码
Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Showing
1 changed file
with
1 additions
and
0 deletions
| @@ -32,6 +32,7 @@ export function setupPlayerConfig(player: AliPlayer) { | @@ -32,6 +32,7 @@ export function setupPlayerConfig(player: AliPlayer) { | ||
| 32 | config.mMaxBufferDuration = 50000 | 32 | config.mMaxBufferDuration = 50000 |
| 33 | config.mHighBufferDuration = 3000 | 33 | config.mHighBufferDuration = 3000 |
| 34 | config.mStartBufferDuration = 50 | 34 | config.mStartBufferDuration = 50 |
| 35 | + config.mEnableLowLatencyMode = true | ||
| 35 | player.setConfig(config) | 36 | player.setConfig(config) |
| 36 | } | 37 | } |
| 37 | } | 38 | } |
-
Please register or login to post a comment