mirror of
https://github.com/davedoesdev/streamana.git
synced 2025-12-24 13:28:19 +08:00
Set framerate per latest WebCodecs doc
Also change latency mode to realtime
This commit is contained in:
@@ -211,6 +211,8 @@ export class HLS extends EventTarget {
|
||||
config: {
|
||||
codec: video_codec,
|
||||
bitrate: videoBitsPerSecond,
|
||||
framerate: this.frame_rate,
|
||||
latencyMode: 'realtime',
|
||||
width: video_settings.width,
|
||||
height: video_settings.height,
|
||||
...video_config
|
||||
|
||||
Reference in New Issue
Block a user