- MediaInfoApiFp(
configuration?: Configuration,
): {
closeLiveStream(
liveStreamId: string,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
getBitrateTestBytes(
size?: number,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>,
>;
getPlaybackInfo(
itemId: string,
userId?: string,
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<PlaybackInfoResponse>,
>;
getPostedPlaybackInfo(
itemId: string,
userId?: string,
maxStreamingBitrate?: number,
startTimeTicks?: number,
audioStreamIndex?: number,
subtitleStreamIndex?: number,
maxAudioChannels?: number,
mediaSourceId?: string,
liveStreamId?: string,
autoOpenLiveStream?: boolean,
enableDirectPlay?: boolean,
enableDirectStream?: boolean,
enableTranscoding?: boolean,
allowVideoStreamCopy?: boolean,
allowAudioStreamCopy?: boolean,
playbackInfoDto?: PlaybackInfoDto,
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<PlaybackInfoResponse>,
>;
openLiveStream(
openToken?: string,
userId?: string,
playSessionId?: string,
maxStreamingBitrate?: number,
startTimeTicks?: number,
audioStreamIndex?: number,
subtitleStreamIndex?: number,
maxAudioChannels?: number,
itemId?: string,
enableDirectPlay?: boolean,
enableDirectStream?: boolean,
alwaysBurnInSubtitleWhenTranscoding?: boolean,
openLiveStreamDto?: OpenLiveStreamDto,
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<LiveStreamResponse>,
>;
} Returns {
closeLiveStream(
liveStreamId: string,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
>;
getBitrateTestBytes(
size?: number,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>,
>;
getPlaybackInfo(
itemId: string,
userId?: string,
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<PlaybackInfoResponse>,
>;
getPostedPlaybackInfo(
itemId: string,
userId?: string,
maxStreamingBitrate?: number,
startTimeTicks?: number,
audioStreamIndex?: number,
subtitleStreamIndex?: number,
maxAudioChannels?: number,
mediaSourceId?: string,
liveStreamId?: string,
autoOpenLiveStream?: boolean,
enableDirectPlay?: boolean,
enableDirectStream?: boolean,
enableTranscoding?: boolean,
allowVideoStreamCopy?: boolean,
allowAudioStreamCopy?: boolean,
playbackInfoDto?: PlaybackInfoDto,
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<PlaybackInfoResponse>,
>;
openLiveStream(
openToken?: string,
userId?: string,
playSessionId?: string,
maxStreamingBitrate?: number,
startTimeTicks?: number,
audioStreamIndex?: number,
subtitleStreamIndex?: number,
maxAudioChannels?: number,
itemId?: string,
enableDirectPlay?: boolean,
enableDirectStream?: boolean,
alwaysBurnInSubtitleWhenTranscoding?: boolean,
openLiveStreamDto?: OpenLiveStreamDto,
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<LiveStreamResponse>,
>;
}
closeLiveStream:function
- closeLiveStream(
liveStreamId: string,
options?: RawAxiosRequestConfig,
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> Parameters
- liveStreamId: string
Optional
options: RawAxiosRequestConfig
Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>
getBitrateTestBytes:function
- getBitrateTestBytes(
size?: number,
options?: RawAxiosRequestConfig,
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> Parameters
Optional
size: numberOptional
options: RawAxiosRequestConfig
Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>
getPlaybackInfo:function
- getPlaybackInfo(
itemId: string,
userId?: string,
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<PlaybackInfoResponse>,
> Parameters
- itemId: string
Optional
userId: stringOptional
options: RawAxiosRequestConfig
Returns Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<PlaybackInfoResponse>,
>
getPostedPlaybackInfo:function
- getPostedPlaybackInfo(
itemId: string,
userId?: string,
maxStreamingBitrate?: number,
startTimeTicks?: number,
audioStreamIndex?: number,
subtitleStreamIndex?: number,
maxAudioChannels?: number,
mediaSourceId?: string,
liveStreamId?: string,
autoOpenLiveStream?: boolean,
enableDirectPlay?: boolean,
enableDirectStream?: boolean,
enableTranscoding?: boolean,
allowVideoStreamCopy?: boolean,
allowAudioStreamCopy?: boolean,
playbackInfoDto?: PlaybackInfoDto,
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<PlaybackInfoResponse>,
> Parameters
- itemId: string
Optional
userId: stringOptional
maxStreamingBitrate: numberOptional
startTimeTicks: numberOptional
audioStreamIndex: numberOptional
subtitleStreamIndex: numberOptional
maxAudioChannels: numberOptional
mediaSourceId: stringOptional
liveStreamId: stringOptional
autoOpenLiveStream: booleanOptional
enableDirectPlay: booleanOptional
enableDirectStream: booleanOptional
enableTranscoding: booleanOptional
allowVideoStreamCopy: booleanOptional
allowAudioStreamCopy: booleanOptional
playbackInfoDto: PlaybackInfoDtoOptional
options: RawAxiosRequestConfig
Returns Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<PlaybackInfoResponse>,
>
openLiveStream:function
- openLiveStream(
openToken?: string,
userId?: string,
playSessionId?: string,
maxStreamingBitrate?: number,
startTimeTicks?: number,
audioStreamIndex?: number,
subtitleStreamIndex?: number,
maxAudioChannels?: number,
itemId?: string,
enableDirectPlay?: boolean,
enableDirectStream?: boolean,
alwaysBurnInSubtitleWhenTranscoding?: boolean,
openLiveStreamDto?: OpenLiveStreamDto,
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<LiveStreamResponse>,
> Parameters
Optional
openToken: stringOptional
userId: stringOptional
playSessionId: stringOptional
maxStreamingBitrate: numberOptional
startTimeTicks: numberOptional
audioStreamIndex: numberOptional
subtitleStreamIndex: numberOptional
maxAudioChannels: numberOptional
itemId: stringOptional
enableDirectPlay: booleanOptional
enableDirectStream: booleanOptional
alwaysBurnInSubtitleWhenTranscoding: booleanOptional
openLiveStreamDto: OpenLiveStreamDtoOptional
options: RawAxiosRequestConfig
Returns Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<LiveStreamResponse>,
>
MediaInfoApi - functional programming interface
Export