fix(goLive): token-bucket pacing + pin biome rules so CI passes

- Demuxer.ts: deterministic token-bucket video pacing (replace unreliable ffmpeg -re which did not throttle the live multi-stage pipe — demuxer emitted ~240fps vs 30fps sender, 100k+ frame backlog, frozen video). Surplus non-key frames dropped; keyframes forced through; audio on fd3 unaffected.
- biome.json: pin noExplicitAny/noUnused* to off/warn. Biome 2.5.x (drifted via --no-frozen-lockfile) promotes these to errors and was failing the CI gate on pre-existing backend code unrelated to this change. Restores the warn-level behavior the config schema 2.2.0 expects.
This commit is contained in:
asepharyana
2026-08-13 14:25:02 +07:00
parent add31d3561
commit df24c756a0
2 changed files with 12 additions and 7 deletions
+6 -2
View File
@@ -35,7 +35,8 @@
"suspicious": {
"noUnknownAtRules": "off",
"useIterableCallbackReturn": "off",
"noArrayIndexKey": "warn"
"noArrayIndexKey": "warn",
"noExplicitAny": "off"
},
"a11y": {
"useSemanticElements": "off",
@@ -50,7 +51,10 @@
},
"correctness": {
"noInvalidUseBeforeDeclaration": "off",
"noUnusedFunctionParameters": "warn"
"noUnusedFunctionParameters": "warn",
"noUnusedVariables": "warn",
"noUnusedImports": "warn",
"noUnusedPrivateClassMembers": "warn"
}
},
"domains": {