Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-05-14 18:42:36 +00:00
parent fb86080d2a
commit ed08e375ab
+2
View File
@@ -12,6 +12,8 @@ export interface BroadcasterHandle {
code: string;
stop: () => Promise<void>;
onViewerCountChange: (cb: (n: number) => void) => () => void;
/** Swap the outgoing video track on every active peer (e.g. when the XR mirror canvas becomes available). */
replaceVideoTrack: (newStream: MediaStream) => Promise<void>;
}
const MAX_VIEWERS = 5;