Implement proper level lookup tables for codec string generation

This commit is contained in:
Vanilagy
2024-11-30 17:59:00 +01:00
parent 266fcd473e
commit 25c271e4af
10 changed files with 534 additions and 217 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ class VideoEncoderWrapper {
});
this.encoder.configure({
codec: buildVideoCodecString(this.codecConfig.codec, videoFrame.codedWidth, videoFrame.codedHeight),
codec: buildVideoCodecString(this.codecConfig.codec, videoFrame.codedWidth, videoFrame.codedHeight, this.codecConfig.bitrate),
width: videoFrame.codedWidth,
height: videoFrame.codedHeight,
bitrate: this.codecConfig.bitrate,