fix(media): restore peer-assisted 16-viewer admission (#170)
Keep the default at eight while restoring the documented explicit 1-16 admission range and its cap2/cap3 functional gate.
This commit is contained in:
1 parent
8774b43c35
commit
f8aac57a63
11 files changed
+61
-42
No files matched your search
@@ -9,6 +9,7 @@ import WebSocket from "ws";
|
||||
import {
|
||||
DEFAULT_PEER_RELAY_DOWNSTREAM_EDGES,
|
||||
MAX_PEER_RELAY_DOWNSTREAM_EDGES,
|
||||
MAX_VIEWERS_PER_ROOM_LIMIT,
|
||||
type ParticipantRouteAssignment,
|
||||
} from "../src/shared/protocol";
|
||||
import {
|
||||
@@ -202,7 +203,7 @@ interface ManagedProcess {
|
||||
}
|
||||
|
||||
const DEFAULT_VIEWER_COUNTS = [1, 3, 5, 8];
|
||||
const MAX_VIEWERS = 8;
|
||||
const MAX_VIEWERS = MAX_VIEWERS_PER_ROOM_LIMIT;
|
||||
const REPO_ROOT = resolve(dirname(fileURLToPath(import.meta.url)), "..");
|
||||
|
||||
class BoundedLog {
|
||||
|
||||
Reference in new issue
Block a user