From 63b1457f77c9ea946f13115e078d0821e70c3d4a Mon Sep 17 00:00:00 2001 From: lukasIO Date: Mon, 5 Oct 2026 09:51:37 -0500 Subject: [PATCH] Remove stale commented-out multi-codec bitrate block The block was added already commented out in 8cb17ecc and never ran. Its VP9 and H264 multipliers contradict the live values in determineAppropriateEncoding, which match the Rust SDK, so the comment was the stale side of the disagreement. --- src/room/participant/publishUtils.ts | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/room/participant/publishUtils.ts b/src/room/participant/publishUtils.ts index c2a097efad..512f6400a8 100644 --- a/src/room/participant/publishUtils.ts +++ b/src/room/participant/publishUtils.ts @@ -74,25 +74,6 @@ export const computeDefaultScreenShareSimulcastPresets = (fromPreset: VideoPrese ); }; -// /** -// * -// * @internal -// * @experimental -// */ -// const computeDefaultMultiCodecSimulcastEncodings = (width: number, height: number) => { -// // use vp8 as a default -// const vp8 = determineAppropriateEncoding(false, width, height); -// const vp9 = { ...vp8, maxBitrate: vp8.maxBitrate * 0.9 }; -// const h264 = { ...vp8, maxBitrate: vp8.maxBitrate * 1.1 }; -// const av1 = { ...vp8, maxBitrate: vp8.maxBitrate * 0.7 }; -// return { -// vp8, -// vp9, -// h264, -// av1, -// }; -// }; - const videoRids = ['q', 'h', 'f']; /* @internal */