videosphere
    Preparing search index...

    Function isLivestreamThumbnailFinalKeyForUser

    • Returns whether key is a final livestream thumbnail for the given user and livestream.

      Parameters

      • key: string

        R2 object key to validate.

      • userId: string

        Expected owner user id.

      • livestreamId: string

        Expected livestream row id.

      Returns boolean

      True when the key is under the user's final prefix for this livestream.