Member Junction
    Preparing search index...

    Web Audio playout scheduler for Gemini's 24 kHz PCM16 model audio.

    A thin specialization of the shared RealtimePcmPlayback (playhead-clock scheduling, gapless playout, honest IsPlaying) fixed at Gemini Live's 24 kHz output rate. Kept as a named export for back-compat with existing consumers.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get IsPlaying(): boolean

      true while scheduled audio is audibly playing (playhead ahead of the context clock).

      Returns boolean

    Methods

    • The agent's output audio as a MediaStream, or null when unsupported. Hosts mix this into a recording: WebRTC drivers get the agent voice from the peer connection, PCM drivers (which play through Web Audio) must expose it from here. The stream lives on this engine's own (e.g. 24 kHz) context, so consumers wrap it in a source node on THEIR context rather than reusing this one.

      Returns MediaStream