Member Junction
    Preparing search index...

    One provider, set up for one check: the factory makes a new one per check, and once more to read its traits and methods when the checks are listed. Keep construction free of side effects (install fakes in CreateClient, undo them in Dispose).

    Methods marked optional gate checks: a check that needs one the harness lacks is skipped with the reason.

    interface IRealtimeVideoConformanceHarness {
        Name: string;
        Traits: RealtimeVideoConformanceTraits;
        AnswerStarted?(): Promise<void>;
        AskedProviderForVideo?(): boolean;
        Connect(
            client: BaseRealtimeClient,
            config: ClientRealtimeSessionConfig,
            microphone: MediaStream,
        ): Promise<void>;
        CreateClient(media: RealtimeVideoConformanceMedia): BaseRealtimeClient;
        Dispose?(): void | Promise<void>;
        GenerationComplete?(): Promise<void>;
        Interrupted(): Promise<void>;
        Mint(grant: RealtimeVideoConformanceGrant): ClientRealtimeSessionConfig;
        RefusePlayback?(): () => void;
        Resume?(): Promise<void>;
        SendPart?(mimeType: string, data: ArrayBuffer): Promise<void>;
        SendVideo(frame: RealtimeVideoFrame): Promise<void>;
        SendVoice(pcm16: ArrayBuffer, mediaTimeMs?: number): Promise<void>;
        TurnComplete(): Promise<void>;
    }
    Index

    Properties

    Name: string

    The run's name, for messages, e.g. 'gemini-enterprise'.

    Methods

    • The model starts speaking its answer: its first words, as the provider transcribes them (Gemini: the output transcription). The video that follows is the answer's until the turn's generation completes; video outside an answer (an avatar's between answers, which Vertex AI streams) plays, but is not the agent speaking. Without it the kit can't tell the two apart, and VC13 leaves that part out.

      Returns Promise<void>