Member Junction
    Preparing search index...

    The Gemini Live frame policy for one relayed session: it writes the setup, filters what the browser sends after it, and finds the resumption handles Google sends (see the module notes).

    Drop labels (counted by the relay, never payload): oversize, invalid, empty, multi-key, setup, contextUpdate, unknown, and <type>.<reason> for a realtimeInput, clientContent or toolResponse that fails its checks (invalid, unknown, duplicate, media-type; system, model, role and part for turns).

    Implements

    Index

    Constructors

    Methods

    • The resumption handle a server frame carries, else null. Text and binary frames alike (Google sends its JSON in binary frames); a frame without the bytes sessionResumptionUpdate is never parsed. A handle counts only when Google marks it resumable, as the browser client does.

      Parameters

      • data: Uint8Array

        The frame's bytes.

      • isBinary: boolean

        Whether it came as a binary frame (not needed: both kinds hold the same JSON).

      Returns string