docs: обновить readme под новые опции
This commit is contained in:
@@ -8,16 +8,6 @@ export type CodecType = 'av1' | 'h264';
|
||||
*/
|
||||
export type StreamingFormat = 'dash' | 'hls';
|
||||
|
||||
/**
|
||||
* Пользовательский выбор кодека (auto = h264 + av1 при наличии HW)
|
||||
*/
|
||||
export type CodecChoice = CodecType | 'auto';
|
||||
|
||||
/**
|
||||
* Пользовательский выбор форматов (auto = dash + hls)
|
||||
*/
|
||||
export type StreamingFormatChoice = StreamingFormat | 'auto';
|
||||
|
||||
/**
|
||||
* Тип аппаратного ускорителя
|
||||
*/
|
||||
@@ -85,11 +75,11 @@ export interface DashConvertOptions {
|
||||
/** Custom resolution profiles as strings (e.g., ['360p', '480p', '720p@60']) */
|
||||
customProfiles?: string[];
|
||||
|
||||
/** Video codec selection: h264, av1, or auto (default: auto = h264 + AV1 if HW) */
|
||||
codec?: CodecChoice;
|
||||
/** Video codec selection: one or multiple (default: ['h264']) */
|
||||
codec?: CodecType | CodecType[];
|
||||
|
||||
/** Streaming formats: dash, hls, or auto (default: auto = оба) */
|
||||
format?: StreamingFormatChoice;
|
||||
/** Streaming formats: list (default: ['dash','hls']) */
|
||||
formats?: StreamingFormat[];
|
||||
|
||||
/** Предпочитаемый аппаратный ускоритель (auto по умолчанию) */
|
||||
hardwareAccelerator?: HardwareAccelerationOption;
|
||||
|
||||
Reference in New Issue
Block a user