fixed tests

This commit is contained in:
2025-09-05 00:36:54 -04:00
commit a536668a0b
48 changed files with 8187 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
export interface ISignalingMessage {
type: 'offer' | 'answer' | 'ice-candidate' | 'join' | 'leave' | 'publisher-joined' | 'publisher-left';
data?: any;
senderId?: string;
targetId?: string;
}
export interface IWebRTCClient {
connect(): Promise<void>;
disconnect(): void;
sendMessage(message: ISignalingMessage): void;
isConnected(): boolean;
}
export interface IMediaHandler {
getLocalStream(): Promise<MediaStream>;
stopLocalStream(): void;
getLocalVideo(): HTMLVideoElement | null;
}
export interface IUIController {
updateStatus(status: string, className: string): void;
updateSubscribersCount(count: number): void;
setButtonStates(startEnabled: boolean, stopEnabled: boolean): void;
}