videosphere
    Preparing search index...
    • Reads editable livestream metadata from a YouTube live broadcast and its underlying video.

      Parameters

      • accessToken: string

        OAuth access token with YouTube read scope.

      • broadcastId: string

        Live broadcast resource id (same as the underlying video id).

      • Optionalsignal: AbortSignal

        Optional abort signal.

      Returns Promise<
          | { ok: true; metadata: YouTubeLiveBroadcastPullMetadata }
          | { ok: false; details: string },
      >

      Parsed metadata, null when the broadcast no longer exists, or upstream error details.