Function MediaInfoApiAxiosParamCreator
- MediaInfoApiAxiosParamCreator(configuration?): {
closeLiveStream: ((liveStreamId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getBitrateTestBytes: ((size?: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getPlaybackInfo: ((itemId: string, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
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<RequestArgs>);
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<RequestArgs>);
} Returns {
closeLiveStream: ((liveStreamId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getBitrateTestBytes: ((size?: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
getPlaybackInfo: ((itemId: string, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
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<RequestArgs>);
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<RequestArgs>);
}
closeLiveStream: ((liveStreamId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (liveStreamId, options?): Promise<RequestArgs>
Parameters
- liveStreamId: string
Optional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
getBitrateTestBytes: ((size?: number, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (size?, options?): Promise<RequestArgs>
Parameters
Optional
size: numberOptional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
getPlaybackInfo: ((itemId: string, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)
- (itemId, userId?, options?): Promise<RequestArgs>
Parameters
- itemId: string
Optional
userId: stringOptional
options: RawAxiosRequestConfig = {}
Returns Promise<RequestArgs>
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<RequestArgs>)
- (itemId, userId?, maxStreamingBitrate?, startTimeTicks?, audioStreamIndex?, subtitleStreamIndex?, maxAudioChannels?, mediaSourceId?, liveStreamId?, autoOpenLiveStream?, enableDirectPlay?, enableDirectStream?, enableTranscoding?, allowVideoStreamCopy?, allowAudioStreamCopy?, playbackInfoDto?, options?): Promise<RequestArgs>
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<RequestArgs>
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<RequestArgs>)
- (openToken?, userId?, playSessionId?, maxStreamingBitrate?, startTimeTicks?, audioStreamIndex?, subtitleStreamIndex?, maxAudioChannels?, itemId?, enableDirectPlay?, enableDirectStream?, alwaysBurnInSubtitleWhenTranscoding?, openLiveStreamDto?, options?): Promise<RequestArgs>
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<RequestArgs>
MediaInfoApi - axios parameter creator
Export