videosphere
    Preparing search index...

    Function stripLockedLivestreamPlatformsPatchForStatus

    • Removes playlist fields from a client PATCH when the livestream is no longer a draft. Playlist is set at schedule time and must be changed in YouTube Studio afterward.

      Parameters

      • patch: unknown

        Raw partial platforms object from a PATCH body.

      • status: LivestreamStatus

        Current livestream lifecycle status.

      Returns unknown

      Sanitized patch safe to merge into stored platforms.