SongGuess
    Preparing search index...

    Type Alias StreamUpdateVideoParams

    type StreamUpdateVideoParams = {
        allowedOrigins?: string[];
        creator?: string;
        maxDurationSeconds?: number;
        meta?: Record<string, string>;
        requireSignedURLs?: boolean;
        scheduledDeletion?: string | null;
        thumbnailTimestampPct?: number;
    }
    Index

    Properties

    allowedOrigins?: string[]

    Lists the origins allowed to display the video. Enter allowed origin domains in an array and use * for wildcard subdomains. Empty arrays allow the video to be viewed on any origin.

    creator?: string

    A user-defined identifier for the media creator.

    maxDurationSeconds?: number

    The maximum duration in seconds for a video upload. Can be set for a video that is not yet uploaded to limit its duration. Uploads that exceed the specified duration will fail during processing. A value of -1 means the value is unknown.

    meta?: Record<string, string>

    A user modifiable key-value store used to reference other systems of record for managing videos.

    requireSignedURLs?: boolean

    Indicates whether the video can be a accessed using the id. When set to true, a signed token must be generated with a signing key to view the video.

    scheduledDeletion?: string | null

    Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a null value to remove an existing scheduled deletion. If specified, must be at least 30 days from upload time.

    thumbnailTimestampPct?: number

    The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the total duration of the video. If this value is not set, the default thumbnail image is taken from 0s of the video.