Changes
Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user