fix(server): select main stream according to bitrate (#18375)

* fix main stream

* update unit tests

---------

Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
This commit is contained in:
Daimolean
2025-05-20 05:33:28 +08:00
committed by GitHub
parent 00a77c2d6a
commit dc8962f2bc
5 changed files with 58 additions and 19 deletions

View File

@@ -89,7 +89,7 @@ export interface VideoStreamInfo {
export interface AudioStreamInfo {
index: number;
codecName?: string;
frameCount: number;
bitrate: number;
}
export interface VideoFormat {