@jellyfin/sdk 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/lib/discovery/discovery-service.js +4 -9
- package/lib/discovery/recommended-server-discovery.js +17 -22
- package/lib/generated-client/api/activity-log-api.js +8 -11
- package/lib/generated-client/api/api-key-api.js +24 -31
- package/lib/generated-client/api/artists-api.js +24 -31
- package/lib/generated-client/api/audio-api.d.ts +12 -12
- package/lib/generated-client/api/audio-api.js +28 -37
- package/lib/generated-client/api/branding-api.js +21 -28
- package/lib/generated-client/api/channels-api.js +40 -51
- package/lib/generated-client/api/client-log-api.js +8 -11
- package/lib/generated-client/api/collection-api.js +24 -31
- package/lib/generated-client/api/configuration-api.js +40 -51
- package/lib/generated-client/api/dashboard-api.js +15 -20
- package/lib/generated-client/api/devices-api.js +40 -51
- package/lib/generated-client/api/display-preferences-api.js +16 -21
- package/lib/generated-client/api/dynamic-hls-api.d.ts +27 -27
- package/lib/generated-client/api/dynamic-hls-api.js +72 -91
- package/lib/generated-client/api/environment-api.js +48 -61
- package/lib/generated-client/api/filter-api.js +16 -21
- package/lib/generated-client/api/genres-api.js +16 -21
- package/lib/generated-client/api/hls-segment-api.js +37 -48
- package/lib/generated-client/api/image-api.js +269 -344
- package/lib/generated-client/api/instant-mix-api.js +64 -81
- package/lib/generated-client/api/item-lookup-api.js +88 -111
- package/lib/generated-client/api/item-refresh-api.js +8 -11
- package/lib/generated-client/api/item-update-api.js +24 -31
- package/lib/generated-client/api/items-api.js +32 -41
- package/lib/generated-client/api/library-api.js +200 -251
- package/lib/generated-client/api/library-structure-api.js +64 -81
- package/lib/generated-client/api/live-tv-api.js +326 -409
- package/lib/generated-client/api/localization-api.js +32 -41
- package/lib/generated-client/api/lyrics-api.js +48 -61
- package/lib/generated-client/api/media-info-api.js +40 -51
- package/lib/generated-client/api/movies-api.js +8 -11
- package/lib/generated-client/api/music-genres-api.js +16 -21
- package/lib/generated-client/api/package-api.js +48 -61
- package/lib/generated-client/api/persons-api.js +16 -21
- package/lib/generated-client/api/playlists-api.js +80 -101
- package/lib/generated-client/api/playstate-api.js +72 -91
- package/lib/generated-client/api/plugins-api.js +72 -91
- package/lib/generated-client/api/quick-connect-api.js +29 -38
- package/lib/generated-client/api/remote-image-api.js +24 -31
- package/lib/generated-client/api/scheduled-tasks-api.js +40 -51
- package/lib/generated-client/api/search-api.js +8 -11
- package/lib/generated-client/api/session-api.js +128 -161
- package/lib/generated-client/api/startup-api.js +56 -71
- package/lib/generated-client/api/studios-api.js +16 -21
- package/lib/generated-client/api/subtitle-api.js +78 -99
- package/lib/generated-client/api/suggestions-api.js +8 -11
- package/lib/generated-client/api/sync-play-api.js +168 -211
- package/lib/generated-client/api/system-api.js +77 -98
- package/lib/generated-client/api/time-sync-api.js +7 -10
- package/lib/generated-client/api/tmdb-api.js +8 -11
- package/lib/generated-client/api/trailers-api.js +8 -11
- package/lib/generated-client/api/trickplay-api.js +16 -21
- package/lib/generated-client/api/tv-shows-api.js +32 -41
- package/lib/generated-client/api/universal-audio-api.js +16 -21
- package/lib/generated-client/api/user-api.js +107 -136
- package/lib/generated-client/api/user-library-api.js +80 -101
- package/lib/generated-client/api/user-views-api.js +16 -21
- package/lib/generated-client/api/video-attachments-api.js +7 -10
- package/lib/generated-client/api/videos-api.d.ts +12 -12
- package/lib/generated-client/api/videos-api.js +52 -67
- package/lib/generated-client/api/years-api.js +16 -21
- package/lib/generated-client/common.js +8 -11
- package/lib/generated-client/models/search-hint.d.ts +1 -1
- package/lib/utils/api/image-urls-api.js +16 -4
- package/lib/versions.d.ts +1 -1
- package/lib/versions.js +1 -1
- package/package.json +10 -10
- package/lib/node_modules/tslib/tslib.es6.js +0 -33
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
1
|
import globalAxios from 'axios';
|
|
3
2
|
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common.js';
|
|
4
3
|
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
@@ -81,7 +80,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
81
80
|
* @param {*} [options] Override http request option.
|
|
82
81
|
* @throws {RequiredError}
|
|
83
82
|
*/
|
|
84
|
-
getHlsAudioSegment:
|
|
83
|
+
getHlsAudioSegment: async (itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
|
|
85
84
|
// verify required parameter 'itemId' is not null or undefined
|
|
86
85
|
assertParamExists('getHlsAudioSegment', 'itemId', itemId);
|
|
87
86
|
// verify required parameter 'playlistId' is not null or undefined
|
|
@@ -105,11 +104,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
105
104
|
if (configuration) {
|
|
106
105
|
baseOptions = configuration.baseOptions;
|
|
107
106
|
}
|
|
108
|
-
const localVarRequestOptions =
|
|
107
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
109
108
|
const localVarHeaderParameter = {};
|
|
110
109
|
const localVarQueryParameter = {};
|
|
111
110
|
// authentication CustomAuthentication required
|
|
112
|
-
|
|
111
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
113
112
|
if (runtimeTicks !== undefined) {
|
|
114
113
|
localVarQueryParameter['runtimeTicks'] = runtimeTicks;
|
|
115
114
|
}
|
|
@@ -262,12 +261,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
262
261
|
}
|
|
263
262
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
264
263
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
265
|
-
localVarRequestOptions.headers =
|
|
264
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
266
265
|
return {
|
|
267
266
|
url: toPathString(localVarUrlObj),
|
|
268
267
|
options: localVarRequestOptions,
|
|
269
268
|
};
|
|
270
|
-
}
|
|
269
|
+
},
|
|
271
270
|
/**
|
|
272
271
|
*
|
|
273
272
|
* @summary Gets a video stream using HTTP live streaming.
|
|
@@ -329,7 +328,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
329
328
|
* @param {*} [options] Override http request option.
|
|
330
329
|
* @throws {RequiredError}
|
|
331
330
|
*/
|
|
332
|
-
getHlsVideoSegment:
|
|
331
|
+
getHlsVideoSegment: async (itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
|
|
333
332
|
// verify required parameter 'itemId' is not null or undefined
|
|
334
333
|
assertParamExists('getHlsVideoSegment', 'itemId', itemId);
|
|
335
334
|
// verify required parameter 'playlistId' is not null or undefined
|
|
@@ -353,11 +352,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
353
352
|
if (configuration) {
|
|
354
353
|
baseOptions = configuration.baseOptions;
|
|
355
354
|
}
|
|
356
|
-
const localVarRequestOptions =
|
|
355
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
357
356
|
const localVarHeaderParameter = {};
|
|
358
357
|
const localVarQueryParameter = {};
|
|
359
358
|
// authentication CustomAuthentication required
|
|
360
|
-
|
|
359
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
361
360
|
if (runtimeTicks !== undefined) {
|
|
362
361
|
localVarQueryParameter['runtimeTicks'] = runtimeTicks;
|
|
363
362
|
}
|
|
@@ -513,12 +512,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
513
512
|
}
|
|
514
513
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
515
514
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
516
|
-
localVarRequestOptions.headers =
|
|
515
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
517
516
|
return {
|
|
518
517
|
url: toPathString(localVarUrlObj),
|
|
519
518
|
options: localVarRequestOptions,
|
|
520
519
|
};
|
|
521
|
-
}
|
|
520
|
+
},
|
|
522
521
|
/**
|
|
523
522
|
*
|
|
524
523
|
* @summary Gets a hls live stream.
|
|
@@ -577,7 +576,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
577
576
|
* @param {*} [options] Override http request option.
|
|
578
577
|
* @throws {RequiredError}
|
|
579
578
|
*/
|
|
580
|
-
getLiveHlsStream:
|
|
579
|
+
getLiveHlsStream: async (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options = {}) => {
|
|
581
580
|
// verify required parameter 'itemId' is not null or undefined
|
|
582
581
|
assertParamExists('getLiveHlsStream', 'itemId', itemId);
|
|
583
582
|
const localVarPath = `/Videos/{itemId}/live.m3u8`
|
|
@@ -588,11 +587,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
588
587
|
if (configuration) {
|
|
589
588
|
baseOptions = configuration.baseOptions;
|
|
590
589
|
}
|
|
591
|
-
const localVarRequestOptions =
|
|
590
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
592
591
|
const localVarHeaderParameter = {};
|
|
593
592
|
const localVarQueryParameter = {};
|
|
594
593
|
// authentication CustomAuthentication required
|
|
595
|
-
|
|
594
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
596
595
|
if (container !== undefined) {
|
|
597
596
|
localVarQueryParameter['container'] = container;
|
|
598
597
|
}
|
|
@@ -748,12 +747,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
748
747
|
}
|
|
749
748
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
750
749
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
751
|
-
localVarRequestOptions.headers =
|
|
750
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
752
751
|
return {
|
|
753
752
|
url: toPathString(localVarUrlObj),
|
|
754
753
|
options: localVarRequestOptions,
|
|
755
754
|
};
|
|
756
|
-
}
|
|
755
|
+
},
|
|
757
756
|
/**
|
|
758
757
|
*
|
|
759
758
|
* @summary Gets an audio hls playlist stream.
|
|
@@ -810,7 +809,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
810
809
|
* @param {*} [options] Override http request option.
|
|
811
810
|
* @throws {RequiredError}
|
|
812
811
|
*/
|
|
813
|
-
getMasterHlsAudioPlaylist:
|
|
812
|
+
getMasterHlsAudioPlaylist: async (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options = {}) => {
|
|
814
813
|
// verify required parameter 'itemId' is not null or undefined
|
|
815
814
|
assertParamExists('getMasterHlsAudioPlaylist', 'itemId', itemId);
|
|
816
815
|
// verify required parameter 'mediaSourceId' is not null or undefined
|
|
@@ -823,11 +822,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
823
822
|
if (configuration) {
|
|
824
823
|
baseOptions = configuration.baseOptions;
|
|
825
824
|
}
|
|
826
|
-
const localVarRequestOptions =
|
|
825
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
827
826
|
const localVarHeaderParameter = {};
|
|
828
827
|
const localVarQueryParameter = {};
|
|
829
828
|
// authentication CustomAuthentication required
|
|
830
|
-
|
|
829
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
831
830
|
if (_static !== undefined) {
|
|
832
831
|
localVarQueryParameter['static'] = _static;
|
|
833
832
|
}
|
|
@@ -977,12 +976,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
977
976
|
}
|
|
978
977
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
979
978
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
980
|
-
localVarRequestOptions.headers =
|
|
979
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
981
980
|
return {
|
|
982
981
|
url: toPathString(localVarUrlObj),
|
|
983
982
|
options: localVarRequestOptions,
|
|
984
983
|
};
|
|
985
|
-
}
|
|
984
|
+
},
|
|
986
985
|
/**
|
|
987
986
|
*
|
|
988
987
|
* @summary Gets a video hls playlist stream.
|
|
@@ -1041,7 +1040,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1041
1040
|
* @param {*} [options] Override http request option.
|
|
1042
1041
|
* @throws {RequiredError}
|
|
1043
1042
|
*/
|
|
1044
|
-
getMasterHlsVideoPlaylist:
|
|
1043
|
+
getMasterHlsVideoPlaylist: async (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options = {}) => {
|
|
1045
1044
|
// verify required parameter 'itemId' is not null or undefined
|
|
1046
1045
|
assertParamExists('getMasterHlsVideoPlaylist', 'itemId', itemId);
|
|
1047
1046
|
// verify required parameter 'mediaSourceId' is not null or undefined
|
|
@@ -1054,11 +1053,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1054
1053
|
if (configuration) {
|
|
1055
1054
|
baseOptions = configuration.baseOptions;
|
|
1056
1055
|
}
|
|
1057
|
-
const localVarRequestOptions =
|
|
1056
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1058
1057
|
const localVarHeaderParameter = {};
|
|
1059
1058
|
const localVarQueryParameter = {};
|
|
1060
1059
|
// authentication CustomAuthentication required
|
|
1061
|
-
|
|
1060
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1062
1061
|
if (_static !== undefined) {
|
|
1063
1062
|
localVarQueryParameter['static'] = _static;
|
|
1064
1063
|
}
|
|
@@ -1214,12 +1213,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1214
1213
|
}
|
|
1215
1214
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1216
1215
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1217
|
-
localVarRequestOptions.headers =
|
|
1216
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1218
1217
|
return {
|
|
1219
1218
|
url: toPathString(localVarUrlObj),
|
|
1220
1219
|
options: localVarRequestOptions,
|
|
1221
1220
|
};
|
|
1222
|
-
}
|
|
1221
|
+
},
|
|
1223
1222
|
/**
|
|
1224
1223
|
*
|
|
1225
1224
|
* @summary Gets an audio stream using HTTP live streaming.
|
|
@@ -1275,7 +1274,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1275
1274
|
* @param {*} [options] Override http request option.
|
|
1276
1275
|
* @throws {RequiredError}
|
|
1277
1276
|
*/
|
|
1278
|
-
getVariantHlsAudioPlaylist:
|
|
1277
|
+
getVariantHlsAudioPlaylist: async (itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
|
|
1279
1278
|
// verify required parameter 'itemId' is not null or undefined
|
|
1280
1279
|
assertParamExists('getVariantHlsAudioPlaylist', 'itemId', itemId);
|
|
1281
1280
|
const localVarPath = `/Audio/{itemId}/main.m3u8`
|
|
@@ -1286,11 +1285,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1286
1285
|
if (configuration) {
|
|
1287
1286
|
baseOptions = configuration.baseOptions;
|
|
1288
1287
|
}
|
|
1289
|
-
const localVarRequestOptions =
|
|
1288
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1290
1289
|
const localVarHeaderParameter = {};
|
|
1291
1290
|
const localVarQueryParameter = {};
|
|
1292
1291
|
// authentication CustomAuthentication required
|
|
1293
|
-
|
|
1292
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1294
1293
|
if (_static !== undefined) {
|
|
1295
1294
|
localVarQueryParameter['static'] = _static;
|
|
1296
1295
|
}
|
|
@@ -1437,12 +1436,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1437
1436
|
}
|
|
1438
1437
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1439
1438
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1440
|
-
localVarRequestOptions.headers =
|
|
1439
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1441
1440
|
return {
|
|
1442
1441
|
url: toPathString(localVarUrlObj),
|
|
1443
1442
|
options: localVarRequestOptions,
|
|
1444
1443
|
};
|
|
1445
|
-
}
|
|
1444
|
+
},
|
|
1446
1445
|
/**
|
|
1447
1446
|
*
|
|
1448
1447
|
* @summary Gets a video stream using HTTP live streaming.
|
|
@@ -1499,7 +1498,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1499
1498
|
* @param {*} [options] Override http request option.
|
|
1500
1499
|
* @throws {RequiredError}
|
|
1501
1500
|
*/
|
|
1502
|
-
getVariantHlsVideoPlaylist:
|
|
1501
|
+
getVariantHlsVideoPlaylist: async (itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
|
|
1503
1502
|
// verify required parameter 'itemId' is not null or undefined
|
|
1504
1503
|
assertParamExists('getVariantHlsVideoPlaylist', 'itemId', itemId);
|
|
1505
1504
|
const localVarPath = `/Videos/{itemId}/main.m3u8`
|
|
@@ -1510,11 +1509,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1510
1509
|
if (configuration) {
|
|
1511
1510
|
baseOptions = configuration.baseOptions;
|
|
1512
1511
|
}
|
|
1513
|
-
const localVarRequestOptions =
|
|
1512
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1514
1513
|
const localVarHeaderParameter = {};
|
|
1515
1514
|
const localVarQueryParameter = {};
|
|
1516
1515
|
// authentication CustomAuthentication required
|
|
1517
|
-
|
|
1516
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1518
1517
|
if (_static !== undefined) {
|
|
1519
1518
|
localVarQueryParameter['static'] = _static;
|
|
1520
1519
|
}
|
|
@@ -1664,12 +1663,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1664
1663
|
}
|
|
1665
1664
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1666
1665
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1667
|
-
localVarRequestOptions.headers =
|
|
1666
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1668
1667
|
return {
|
|
1669
1668
|
url: toPathString(localVarUrlObj),
|
|
1670
1669
|
options: localVarRequestOptions,
|
|
1671
1670
|
};
|
|
1672
|
-
}
|
|
1671
|
+
},
|
|
1673
1672
|
/**
|
|
1674
1673
|
*
|
|
1675
1674
|
* @summary Gets an audio hls playlist stream.
|
|
@@ -1726,7 +1725,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1726
1725
|
* @param {*} [options] Override http request option.
|
|
1727
1726
|
* @throws {RequiredError}
|
|
1728
1727
|
*/
|
|
1729
|
-
headMasterHlsAudioPlaylist:
|
|
1728
|
+
headMasterHlsAudioPlaylist: async (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options = {}) => {
|
|
1730
1729
|
// verify required parameter 'itemId' is not null or undefined
|
|
1731
1730
|
assertParamExists('headMasterHlsAudioPlaylist', 'itemId', itemId);
|
|
1732
1731
|
// verify required parameter 'mediaSourceId' is not null or undefined
|
|
@@ -1739,11 +1738,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1739
1738
|
if (configuration) {
|
|
1740
1739
|
baseOptions = configuration.baseOptions;
|
|
1741
1740
|
}
|
|
1742
|
-
const localVarRequestOptions =
|
|
1741
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
1743
1742
|
const localVarHeaderParameter = {};
|
|
1744
1743
|
const localVarQueryParameter = {};
|
|
1745
1744
|
// authentication CustomAuthentication required
|
|
1746
|
-
|
|
1745
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1747
1746
|
if (_static !== undefined) {
|
|
1748
1747
|
localVarQueryParameter['static'] = _static;
|
|
1749
1748
|
}
|
|
@@ -1893,12 +1892,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1893
1892
|
}
|
|
1894
1893
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1895
1894
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1896
|
-
localVarRequestOptions.headers =
|
|
1895
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1897
1896
|
return {
|
|
1898
1897
|
url: toPathString(localVarUrlObj),
|
|
1899
1898
|
options: localVarRequestOptions,
|
|
1900
1899
|
};
|
|
1901
|
-
}
|
|
1900
|
+
},
|
|
1902
1901
|
/**
|
|
1903
1902
|
*
|
|
1904
1903
|
* @summary Gets a video hls playlist stream.
|
|
@@ -1957,7 +1956,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1957
1956
|
* @param {*} [options] Override http request option.
|
|
1958
1957
|
* @throws {RequiredError}
|
|
1959
1958
|
*/
|
|
1960
|
-
headMasterHlsVideoPlaylist:
|
|
1959
|
+
headMasterHlsVideoPlaylist: async (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options = {}) => {
|
|
1961
1960
|
// verify required parameter 'itemId' is not null or undefined
|
|
1962
1961
|
assertParamExists('headMasterHlsVideoPlaylist', 'itemId', itemId);
|
|
1963
1962
|
// verify required parameter 'mediaSourceId' is not null or undefined
|
|
@@ -1970,11 +1969,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1970
1969
|
if (configuration) {
|
|
1971
1970
|
baseOptions = configuration.baseOptions;
|
|
1972
1971
|
}
|
|
1973
|
-
const localVarRequestOptions =
|
|
1972
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
1974
1973
|
const localVarHeaderParameter = {};
|
|
1975
1974
|
const localVarQueryParameter = {};
|
|
1976
1975
|
// authentication CustomAuthentication required
|
|
1977
|
-
|
|
1976
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1978
1977
|
if (_static !== undefined) {
|
|
1979
1978
|
localVarQueryParameter['static'] = _static;
|
|
1980
1979
|
}
|
|
@@ -2130,12 +2129,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
2130
2129
|
}
|
|
2131
2130
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2132
2131
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2133
|
-
localVarRequestOptions.headers =
|
|
2132
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2134
2133
|
return {
|
|
2135
2134
|
url: toPathString(localVarUrlObj),
|
|
2136
2135
|
options: localVarRequestOptions,
|
|
2137
2136
|
};
|
|
2138
|
-
}
|
|
2137
|
+
},
|
|
2139
2138
|
};
|
|
2140
2139
|
};
|
|
2141
2140
|
/**
|
|
@@ -2205,11 +2204,9 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2205
2204
|
* @param {*} [options] Override http request option.
|
|
2206
2205
|
* @throws {RequiredError}
|
|
2207
2206
|
*/
|
|
2208
|
-
getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2212
|
-
});
|
|
2207
|
+
async getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
|
|
2208
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
|
|
2209
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2213
2210
|
},
|
|
2214
2211
|
/**
|
|
2215
2212
|
*
|
|
@@ -2272,11 +2269,9 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2272
2269
|
* @param {*} [options] Override http request option.
|
|
2273
2270
|
* @throws {RequiredError}
|
|
2274
2271
|
*/
|
|
2275
|
-
getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2279
|
-
});
|
|
2272
|
+
async getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
|
|
2273
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
|
|
2274
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2280
2275
|
},
|
|
2281
2276
|
/**
|
|
2282
2277
|
*
|
|
@@ -2336,11 +2331,9 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2336
2331
|
* @param {*} [options] Override http request option.
|
|
2337
2332
|
* @throws {RequiredError}
|
|
2338
2333
|
*/
|
|
2339
|
-
getLiveHlsStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options) {
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2343
|
-
});
|
|
2334
|
+
async getLiveHlsStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options) {
|
|
2335
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveHlsStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options);
|
|
2336
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2344
2337
|
},
|
|
2345
2338
|
/**
|
|
2346
2339
|
*
|
|
@@ -2398,11 +2391,9 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2398
2391
|
* @param {*} [options] Override http request option.
|
|
2399
2392
|
* @throws {RequiredError}
|
|
2400
2393
|
*/
|
|
2401
|
-
getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2405
|
-
});
|
|
2394
|
+
async getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
|
|
2395
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options);
|
|
2396
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2406
2397
|
},
|
|
2407
2398
|
/**
|
|
2408
2399
|
*
|
|
@@ -2462,11 +2453,9 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2462
2453
|
* @param {*} [options] Override http request option.
|
|
2463
2454
|
* @throws {RequiredError}
|
|
2464
2455
|
*/
|
|
2465
|
-
getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options) {
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2469
|
-
});
|
|
2456
|
+
async getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options) {
|
|
2457
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options);
|
|
2458
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2470
2459
|
},
|
|
2471
2460
|
/**
|
|
2472
2461
|
*
|
|
@@ -2523,11 +2512,9 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2523
2512
|
* @param {*} [options] Override http request option.
|
|
2524
2513
|
* @throws {RequiredError}
|
|
2525
2514
|
*/
|
|
2526
|
-
getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2530
|
-
});
|
|
2515
|
+
async getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
|
|
2516
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
|
|
2517
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2531
2518
|
},
|
|
2532
2519
|
/**
|
|
2533
2520
|
*
|
|
@@ -2585,11 +2572,9 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2585
2572
|
* @param {*} [options] Override http request option.
|
|
2586
2573
|
* @throws {RequiredError}
|
|
2587
2574
|
*/
|
|
2588
|
-
getVariantHlsVideoPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2592
|
-
});
|
|
2575
|
+
async getVariantHlsVideoPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
|
|
2576
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVariantHlsVideoPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
|
|
2577
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2593
2578
|
},
|
|
2594
2579
|
/**
|
|
2595
2580
|
*
|
|
@@ -2647,11 +2632,9 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2647
2632
|
* @param {*} [options] Override http request option.
|
|
2648
2633
|
* @throws {RequiredError}
|
|
2649
2634
|
*/
|
|
2650
|
-
headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2654
|
-
});
|
|
2635
|
+
async headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
|
|
2636
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options);
|
|
2637
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2655
2638
|
},
|
|
2656
2639
|
/**
|
|
2657
2640
|
*
|
|
@@ -2711,11 +2694,9 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2711
2694
|
* @param {*} [options] Override http request option.
|
|
2712
2695
|
* @throws {RequiredError}
|
|
2713
2696
|
*/
|
|
2714
|
-
headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options) {
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2718
|
-
});
|
|
2697
|
+
async headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options) {
|
|
2698
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options);
|
|
2699
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2719
2700
|
},
|
|
2720
2701
|
};
|
|
2721
2702
|
};
|