import * as $dara from '@darabonba/typescript'; export declare class UpdateLiveRecordTemplateRequestRecordFormat extends $dara.Model { /** * @remarks * The duration of the recording cycle. Unit: seconds If you do not specify this parameter, the default value 6 hours is used. * * > * * * If a live stream is interrupted during a recording cycle but is resumed within 3 minutes, the stream is recorded in the same recording before and after the interruption. * * * If a live stream is interrupted for more than 3 minutes, a new recording is generated. To change the default stream interruption time, submit a ticket. * * @example * 3600 */ cycleDuration?: number; /** * @remarks * The format of recording files. * * > If you set this parameter to m3u8, you must also specify the SliceOssObjectPrefix and SliceDuration parameters. * * This parameter is required. * * @example * m3u8 */ format?: string; /** * @remarks * The name of the recording that is stored in Object Storage Service (OSS). * * * The name must be less than 256 bytes in length and can contain the {JobId}, {Sequence}, {StartTime}, {EndTime}, {EscapedStartTime}, and {EscapedEndTime} variables. * * The name must contain the {StartTime} and {EndTime} variables or the {EscapedStartTime} and {EscapedEndTime} variables. * * @example * record/{JobId}/{Sequence}_{EscapedStartTime}_{EscapedEndTime} */ ossObjectPrefix?: string; /** * @remarks * The duration of a single segment. Unit: seconds * * > This parameter takes effect only if you set Format to m3u8. * * If you do not specify this parameter, the default value 30 seconds is used. Valid values: 5 to 30. * * @example * 30 */ sliceDuration?: number; /** * @remarks * The name of the TS segment. * * > This parameter is required only if you set Format to m3u8. By default, the duration of a segment is 30 seconds. The segment name must be less than 256 bytes in length and can contain the {JobId}, {UnixTimestamp}, and {Sequence} variables. * * The segment name must contain the {UnixTimestamp} and {Sequence} variables. * * @example * record/{JobId}/{UnixTimestamp}_{Sequence} */ sliceOssObjectPrefix?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class UpdateLiveRecordTemplateRequest extends $dara.Model { /** * @remarks * The template name. * * This parameter is required. * * @example * test template */ name?: string; /** * @remarks * The list of recording formats. * * This parameter is required. */ recordFormat?: UpdateLiveRecordTemplateRequestRecordFormat[]; /** * @remarks * The template ID. * * This parameter is required. * * @example * 69e1f9fe-1e97-11ed-ba64-0c42a1b73d66 */ templateId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }