Interface RealtimeControllerFacade

interface RealtimeControllerFacade {
    transcriptionController?: TranscriptionController;
    realtimeCanUnmuteLocalAudio(): boolean;
    realtimeIsLocalAudioMuted(): boolean;
    realtimeMuteLocalAudio(): void;
    realtimeSendDataMessage(
        topic: string,
        data: any,
        lifetimeMs?: number,
    ): void;
    realtimeSetCanUnmuteLocalAudio(canUnmute: boolean): void;
    realtimeSubscribeToAttendeeIdPresence(
        callback: (
            attendeeId: string,
            present: boolean,
            externalUserId?: string,
            dropped?: boolean,
            posInFrame?: RealtimeAttendeePositionInFrame,
        ) => void,
    ): void;
    realtimeSubscribeToFatalError(callback: (error: Error) => void): void;
    realtimeSubscribeToLocalSignalStrengthChange(
        callback: (signalStrength: number) => void,
    ): void;
    realtimeSubscribeToMuteAndUnmuteLocalAudio(
        callback: (muted: boolean) => void,
    ): void;
    realtimeSubscribeToReceiveDataMessage(
        topic: string,
        callback: (dataMessage: DataMessage) => void,
    ): void;
    realtimeSubscribeToSetCanUnmuteLocalAudio(
        callback: (canUnmute: boolean) => void,
    ): void;
    realtimeSubscribeToVolumeIndicator(
        attendeeId: string,
        callback: VolumeIndicatorCallback,
    ): void;
    realtimeUnmuteLocalAudio(): boolean;
    realtimeUnsubscribeFromReceiveDataMessage(topic: string): void;
    realtimeUnsubscribeFromVolumeIndicator(
        attendeeId: string,
        callback?: VolumeIndicatorCallback,
    ): void;
    realtimeUnsubscribeToAttendeeIdPresence(
        callback: (
            attendeeId: string,
            present: boolean,
            externalUserId?: string,
            dropped?: boolean,
            posInFrame?: RealtimeAttendeePositionInFrame,
        ) => void,
    ): void;
    realtimeUnsubscribeToFatalError(callback: (error: Error) => void): void;
    realtimeUnsubscribeToLocalSignalStrengthChange(
        callback: (signalStrength: number) => void,
    ): void;
    realtimeUnsubscribeToMuteAndUnmuteLocalAudio(
        callback: (muted: boolean) => void,
    ): void;
    realtimeUnsubscribeToSetCanUnmuteLocalAudio(
        callback: (canUnmute: boolean) => void,
    ): void;
}

Hierarchy (View Summary)

Properties

transcriptionController?: TranscriptionController

Methods