videosphere
    Preparing search index...
    • Ensures a broadcast is bound to the live stream resource for streamKey. Re-binds when YouTube's current binding does not match the resolved stream id.

      Parameters

      • accessToken: string

        OAuth access token with YouTube live streaming scopes.

      • broadcastId: string

        Live broadcast resource id.

      • streamKey: string

        Plaintext ingestion stream name to match.

      • Optionaloptions: YouTubeLiveStreamLookupOptions

        Optional preferred stream id and abort signal.

      Returns Promise<
          | { ok: true; streamId: string; rebound: boolean }
          | { ok: false; details: string },
      >

      Resolved stream id and whether a new bind was performed.