Member Junction
    Preparing search index...

    The minimal Google Meet Media API surface the import('./googlemeet-bridge').GoogleMeetBridge depends on. Production binds this to the real (allowlisted) Media API client; tests inject a FakeGoogleMeetSdk.

    No hand-raise / no chat operations — see the file-level note: the Meet Media API surfaces neither, so this seam deliberately omits them (unlike IZoomMeetingSdk).

    interface IGoogleMeetSdk {
        getParticipants(): Promise<GoogleMeetParticipant[]>;
        join(args: GoogleMeetJoinArgs): Promise<GoogleMeetJoinResult>;
        leave(): Promise<void>;
        muteParticipant(participantId: string): Promise<void>;
        onAudioFrame(cb: (frame: GoogleMeetAudioFrame) => void): void;
        onMeetingEnded(cb: () => void): void;
        onParticipantJoin(cb: (participant: GoogleMeetParticipant) => void): void;
        onParticipantLeave(cb: (participantId: string) => void): void;
        sendAudioFrame(pcm: ArrayBuffer): void;
    }

    Implemented by

    Index

    Methods

    • Mutes a participant, where the tenant's Meet tier / allowlist grants the action (the production adapter rejects otherwise, and the driver only advertises the Meeting Controls Mute capability when it does). Early-access caveat applies.

      Parameters

      • participantId: string

        The participant to mute.

      Returns Promise<void>

    • Registers a callback fired when the conference ends (host ended / timed out). "Latest handler wins."

      Parameters

      • cb: () => void

        Invoked when the meeting has ended.

      Returns void

    • Registers a callback fired when a participant leaves. "Latest handler wins."

      Parameters

      • cb: (participantId: string) => void

        Invoked with the participant id that left.

      Returns void

    • Sends one raw PCM audio frame as the bot's outbound audio (the agent's voice into the meeting).

      Parameters

      • pcm: ArrayBuffer

        The PCM audio bytes to send.

      Returns void