videosphere
    Preparing search index...
    • Finds a YouTube live stream id whose ingestion stream name matches streamKey.

      Parameters

      • items: {
            id?: string;
            cdn?: { ingestionInfo?: { streamName?: string } };
            status?: { streamStatus?: string };
        }[]

        liveStreams.list response items.

      • streamKey: string

        Plaintext stream key to match against cdn.ingestionInfo.streamName.

      • Optionaloptions: Pick<YouTubeLiveStreamLookupOptions, "preferredStreamId">

        Optional preferred stream id when multiple resources share the key.

      Returns string

      Matching stream id, or null when no item matches.