polyv-live-cli
Version:
CLI tool for managing PolyV live streaming services.
107 lines • 2.64 kB
TypeScript
export interface PlaybackServiceConfig {
baseUrl: string;
timeout: number;
debug: boolean;
}
export interface PlaybackListOptions {
channelId: string;
page?: number;
pageSize?: number;
listType?: 'playback' | 'vod';
output?: 'table' | 'json';
}
export interface PlaybackDisplayItem {
videoId: string;
videoPoolId?: string;
userId?: string;
channelId: string;
title: string;
firstImage?: string;
duration: string;
myBr?: string;
seed?: number;
createdTime?: number;
lastModified?: number;
asDefault?: string;
status?: string;
watchUrl?: string;
liveType?: string;
origin?: 'manual' | 'auto' | 'merge' | 'clip' | 'smart-clip';
}
export declare const PlaybackListOptions: {
channelId: string;
page?: number;
pageSize?: number;
listType?: 'playback' | 'vod';
output?: 'table' | 'json';
};
export declare const PlaybackServiceConfig: {
baseUrl: string;
timeout: number;
debug: boolean;
};
export declare const PlaybackDisplayItem: {
videoId: string;
videoPoolId?: string;
userId?: string;
channelId: string;
title: string;
firstImage?: string;
duration: string;
myBr?: string;
seed?: number;
createdTime?: number;
lastModified?: number;
asDefault?: string;
status?: string;
watchUrl?: string;
liveType?: string;
origin?: 'manual' | 'auto' | 'merge' | 'clip' | 'smart-clip';
};
export interface PlaybackGetOptions {
channelId: string;
videoId: string;
listType?: 'playback' | 'vod';
output?: 'table' | 'json';
}
export declare const PlaybackGetOptions: {
channelId: string;
videoId: string;
listType?: 'playback' | 'vod';
output?: 'table' | 'json';
};
export interface PlaybackDeleteOptions {
channelId: string;
videoId: string;
listType?: 'playback' | 'vod';
force?: boolean;
output?: 'table' | 'json';
}
export declare const PlaybackDeleteOptions: {
channelId: string;
videoId: string;
listType?: 'playback' | 'vod';
force?: boolean;
output?: 'table' | 'json';
};
export interface PlaybackMergeOptions {
channelId: string;
fileIds: string;
fileName?: string;
async?: boolean;
callbackUrl?: string;
autoConvert?: boolean;
mergeMp4?: boolean;
output?: 'table' | 'json';
}
export declare const PlaybackMergeOptions: {
channelId: string;
fileIds: string;
fileName?: string;
async?: boolean;
callbackUrl?: string;
autoConvert?: boolean;
mergeMp4?: boolean;
output?: 'table' | 'json';
};
//# sourceMappingURL=playback.d.ts.map