Fix video quality on high resolution/fps
This commit is contained in:
parent
1611721c9b
commit
fbc7f1a00d
|
@ -21,9 +21,6 @@ export function addDefaultEncoderParams (options: {
|
|||
const { command, encoder, fps, streamNum } = options
|
||||
|
||||
if (encoder === 'libx264') {
|
||||
// 3.1 is the minimal resource allocation for our highest supported resolution
|
||||
command.outputOption(buildStreamSuffix('-level:v', streamNum) + ' 3.1')
|
||||
|
||||
if (fps) {
|
||||
// Keyframe interval of 2 seconds for faster seeking and resolution switching.
|
||||
// https://streaminglearningcenter.com/blogs/whats-the-right-keyframe-interval.html
|
||||
|
|
Loading…
Reference in New Issue