major remote desktop upgrades + do opus. Hopefully all the tests pass 😭

This commit is contained in:
KingKDot
2026-07-17 04:28:23 -05:00
parent 779f86b259
commit 0219081682
35 changed files with 1304 additions and 91 deletions
@@ -104,7 +104,7 @@ func ensureH264EncoderLocked(width, height int) error {
Preset: "veryfast",
Profile: "main",
RateControl: "crf",
RateConstant: 23,
RateConstant: targetH264CRF(width, height, fps),
LogLevel: x264.LogError,
}
@@ -201,7 +201,7 @@ func ensurebackstageH264EncoderLocked(width, height int) error {
Preset: "veryfast",
Profile: "main",
RateControl: "crf",
RateConstant: 23,
RateConstant: targetH264CRF(width, height, fps),
LogLevel: x264.LogError,
}
enc, err := x264.NewEncoder(&backstageH264Buf, opts)
@@ -280,7 +280,7 @@ func ensureWebcamH264EncoderLocked(width, height int) error {
Preset: "veryfast",
Profile: "main",
RateControl: "crf",
RateConstant: 23,
RateConstant: targetH264CRF(width, height, fps),
LogLevel: x264.LogError,
}
enc, err := x264.NewEncoder(&webcamH264Buf, opts)