@jellyfin/sdk 0.9.0 → 0.11.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 +10 -0
- package/lib/api.d.ts +0 -11
- package/lib/api.js +0 -14
- 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.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +15 -18
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +40 -38
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +43 -104
- package/lib/generated-client/api/audio-api.d.ts +81 -249
- package/lib/generated-client/api/audio-api.js +105 -266
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +31 -29
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +68 -82
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +17 -17
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +43 -46
- package/lib/generated-client/api/configuration-api.d.ts +28 -29
- package/lib/generated-client/api/configuration-api.js +65 -62
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +28 -27
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +71 -68
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +29 -33
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +269 -628
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +76 -73
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +29 -40
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +29 -46
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +68 -71
- package/lib/generated-client/api/image-api.d.ts +206 -644
- package/lib/generated-client/api/image-api.js +501 -903
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +113 -162
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +155 -147
- package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
- package/lib/generated-client/api/item-refresh-api.js +15 -19
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +43 -43
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +63 -156
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +378 -359
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +110 -113
- package/lib/generated-client/api/live-tv-api.d.ts +224 -332
- package/lib/generated-client/api/live-tv-api.js +558 -626
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +45 -42
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +87 -85
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +77 -95
- package/lib/generated-client/api/media-segments-api.d.ts +95 -0
- package/lib/generated-client/api/media-segments-api.js +123 -0
- package/lib/generated-client/api/movies-api.d.ts +10 -14
- package/lib/generated-client/api/movies-api.js +15 -19
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +29 -46
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +79 -78
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +29 -41
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +207 -154
- package/lib/generated-client/api/playstate-api.d.ts +54 -80
- package/lib/generated-client/api/playstate-api.js +127 -145
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +124 -120
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +48 -46
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +43 -48
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +71 -69
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +15 -32
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +216 -228
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +87 -81
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +29 -45
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +136 -158
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +15 -20
- package/lib/generated-client/api/sync-play-api.d.ts +120 -120
- package/lib/generated-client/api/sync-play-api.js +280 -260
- package/lib/generated-client/api/system-api.d.ts +49 -49
- package/lib/generated-client/api/system-api.js +111 -102
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +11 -11
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +12 -12
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +15 -98
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +29 -33
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +57 -99
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +41 -64
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +186 -178
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +141 -151
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +29 -31
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +14 -16
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +147 -314
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +29 -43
- package/lib/generated-client/api.d.ts +1 -0
- package/lib/generated-client/base.d.ts +15 -4
- package/lib/generated-client/base.js +8 -4
- package/lib/generated-client/common.d.ts +3 -3
- package/lib/generated-client/common.js +30 -24
- package/lib/generated-client/configuration.d.ts +8 -0
- package/lib/generated-client/configuration.js +1 -0
- package/lib/generated-client/index.js +8 -1
- package/lib/generated-client/models/access-schedule.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/album-info.d.ts +5 -5
- package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/artist-info.d.ts +3 -3
- package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
- package/lib/generated-client/models/authentication-result.d.ts +7 -7
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +26 -26
- package/lib/generated-client/models/base-item-person.d.ts +2 -2
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/book-info.d.ts +2 -2
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/box-set-info.d.ts +2 -2
- package/lib/generated-client/models/channel-features.d.ts +3 -3
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
- package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
- package/lib/generated-client/models/client-capabilities.d.ts +3 -3
- package/lib/generated-client/models/codec-profile.d.ts +15 -9
- package/lib/generated-client/models/container-profile.d.ts +12 -6
- package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
- package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
- package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
- package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/device-info-dto.d.ts +84 -0
- package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +1 -1
- package/lib/generated-client/models/device-profile.d.ts +8 -8
- package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
- package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
- package/lib/generated-client/models/encoder-preset.d.ts +29 -0
- package/lib/generated-client/models/encoder-preset.js +32 -0
- package/lib/generated-client/models/encoding-options.d.ts +43 -19
- package/lib/generated-client/models/external-id-info.d.ts +2 -1
- package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
- package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
- package/lib/generated-client/models/general-command-message.d.ts +2 -2
- package/lib/generated-client/models/general-command.d.ts +3 -3
- package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-info-dto.d.ts +1 -1
- package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-state-update.d.ts +2 -2
- package/lib/generated-client/models/group-update.d.ts +23 -5
- package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
- package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
- package/lib/generated-client/models/image-info.d.ts +1 -1
- package/lib/generated-client/models/image-option.d.ts +1 -1
- package/lib/generated-client/models/image-provider-info.d.ts +1 -1
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
- package/lib/generated-client/models/index.d.ts +13 -6
- package/lib/generated-client/models/index.js +7 -1
- package/lib/generated-client/models/installation-info.d.ts +1 -1
- package/lib/generated-client/models/library-changed-message.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +8 -2
- package/lib/generated-client/models/library-options.d.ts +57 -3
- package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
- package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
- package/lib/generated-client/models/live-stream-response.d.ts +1 -1
- package/lib/generated-client/models/live-tv-info.d.ts +1 -1
- package/lib/generated-client/models/live-tv-options.d.ts +2 -2
- package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +2 -2
- package/lib/generated-client/models/media-path-dto.d.ts +1 -1
- package/lib/generated-client/models/media-path-info.d.ts +0 -6
- package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
- package/lib/generated-client/models/media-segment-type.d.ts +24 -0
- package/lib/generated-client/models/media-segment-type.js +27 -0
- package/lib/generated-client/models/media-source-info.d.ts +29 -11
- package/lib/generated-client/models/media-stream.d.ts +17 -5
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/movie-info.d.ts +2 -2
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/music-video-info.d.ts +2 -2
- package/lib/generated-client/models/open-live-stream-dto.d.ts +8 -2
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
- package/lib/generated-client/models/package-info.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
- package/lib/generated-client/models/play-message.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update.d.ts +4 -4
- package/lib/generated-client/models/play-request.d.ts +1 -1
- package/lib/generated-client/models/playback-info-dto.d.ts +7 -1
- package/lib/generated-client/models/playback-info-response.d.ts +2 -2
- package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
- package/lib/generated-client/models/playback-start-info.d.ts +5 -5
- package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
- package/lib/generated-client/models/player-state-info.d.ts +3 -3
- package/lib/generated-client/models/playlist-dto.d.ts +36 -0
- package/lib/generated-client/models/playstate-message.d.ts +2 -2
- package/lib/generated-client/models/playstate-request.d.ts +1 -1
- package/lib/generated-client/models/plugin-info.d.ts +1 -1
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
- package/lib/generated-client/models/problem-details.d.ts +1 -1
- package/lib/generated-client/models/profile-condition.d.ts +2 -2
- package/lib/generated-client/models/query-filters.d.ts +1 -1
- package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
- package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
- package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
- package/lib/generated-client/models/remote-image-info.d.ts +2 -2
- package/lib/generated-client/models/remote-image-result.d.ts +1 -1
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
- package/lib/generated-client/models/remote-search-result.d.ts +2 -2
- package/lib/generated-client/models/restart-required-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
- package/lib/generated-client/models/search-hint-result.d.ts +1 -1
- package/lib/generated-client/models/search-hint.d.ts +3 -3
- package/lib/generated-client/models/send-command.d.ts +1 -1
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/series-info.d.ts +2 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/server-configuration.d.ts +8 -14
- package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
- package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
- package/lib/generated-client/models/session-info-dto.d.ts +199 -0
- package/lib/generated-client/models/session-info.d.ts +8 -8
- package/lib/generated-client/models/sessions-message.d.ts +4 -4
- package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
- package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/song-info.d.ts +2 -2
- package/lib/generated-client/models/string-group-update.d.ts +1 -1
- package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
- package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
- package/lib/generated-client/models/system-info.d.ts +2 -2
- package/lib/generated-client/models/task-info.d.ts +3 -3
- package/lib/generated-client/models/task-result.d.ts +1 -1
- package/lib/generated-client/models/task-trigger-info.d.ts +1 -1
- package/lib/generated-client/models/theme-media-result.d.ts +2 -2
- package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
- package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
- package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
- package/lib/generated-client/models/tonemapping-mode.js +26 -0
- package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
- package/lib/generated-client/models/tonemapping-range.js +24 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/trailer-info.d.ts +2 -2
- package/lib/generated-client/models/transcode-reason.d.ts +1 -0
- package/lib/generated-client/models/transcode-reason.js +2 -1
- package/lib/generated-client/models/transcoding-info.d.ts +16 -16
- package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
- package/lib/generated-client/models/trickplay-options.d.ts +8 -2
- package/lib/generated-client/models/tuner-host-info.d.ts +18 -0
- package/lib/generated-client/models/type-options.d.ts +1 -1
- package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
- package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
- package/lib/generated-client/models/user-configuration.d.ts +1 -1
- package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
- package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
- package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
- package/lib/generated-client/models/user-dto.d.ts +2 -2
- package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
- package/lib/generated-client/models/user-policy.d.ts +3 -3
- package/lib/generated-client/models/user-updated-message.d.ts +2 -2
- package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
- package/lib/generated-client/models/web-socket-message.d.ts +2 -2
- package/lib/utils/address-candidates.js +15 -10
- package/lib/utils/api/image-urls-api.js +16 -4
- package/lib/utils/api/index.d.ts +1 -0
- package/lib/utils/api/index.js +1 -0
- package/lib/utils/api/media-segments-api.d.ts +8 -0
- package/lib/utils/api/media-segments-api.js +12 -0
- package/lib/utils/index.js +1 -1
- package/lib/utils/url/index.d.ts +16 -3
- package/lib/utils/url/index.js +26 -4
- package/lib/versions.d.ts +1 -1
- package/lib/versions.js +1 -1
- package/package.json +13 -12
- package/lib/node_modules/tslib/tslib.es6.js +0 -33
|
@@ -1,7 +1,6 @@
|
|
|
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
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
5
4
|
|
|
6
5
|
/* tslint:disable */
|
|
7
6
|
/* eslint-disable */
|
|
@@ -40,7 +39,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
40
39
|
* @param {number} [minSegments] The minimum number of segments.
|
|
41
40
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
42
41
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
43
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
42
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
44
43
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
45
44
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
46
45
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -71,17 +70,18 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
71
70
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
72
71
|
* @param {string} [liveStreamId] The live stream id.
|
|
73
72
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
74
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
73
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
75
74
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
76
75
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
77
76
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
78
77
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
79
78
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
80
79
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
80
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
81
81
|
* @param {*} [options] Override http request option.
|
|
82
82
|
* @throws {RequiredError}
|
|
83
83
|
*/
|
|
84
|
-
getHlsAudioSegment:
|
|
84
|
+
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, enableAudioVbrEncoding, options = {}) => {
|
|
85
85
|
// verify required parameter 'itemId' is not null or undefined
|
|
86
86
|
assertParamExists('getHlsAudioSegment', 'itemId', itemId);
|
|
87
87
|
// verify required parameter 'playlistId' is not null or undefined
|
|
@@ -105,11 +105,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
105
105
|
if (configuration) {
|
|
106
106
|
baseOptions = configuration.baseOptions;
|
|
107
107
|
}
|
|
108
|
-
const localVarRequestOptions =
|
|
108
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
109
109
|
const localVarHeaderParameter = {};
|
|
110
110
|
const localVarQueryParameter = {};
|
|
111
111
|
// authentication CustomAuthentication required
|
|
112
|
-
|
|
112
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
113
113
|
if (runtimeTicks !== undefined) {
|
|
114
114
|
localVarQueryParameter['runtimeTicks'] = runtimeTicks;
|
|
115
115
|
}
|
|
@@ -258,16 +258,21 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
258
258
|
localVarQueryParameter['context'] = context;
|
|
259
259
|
}
|
|
260
260
|
if (streamOptions !== undefined) {
|
|
261
|
-
|
|
261
|
+
for (const [key, value] of Object.entries(streamOptions)) {
|
|
262
|
+
localVarQueryParameter[key] = value;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
if (enableAudioVbrEncoding !== undefined) {
|
|
266
|
+
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
|
|
262
267
|
}
|
|
263
268
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
264
269
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
265
|
-
localVarRequestOptions.headers =
|
|
270
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
266
271
|
return {
|
|
267
272
|
url: toPathString(localVarUrlObj),
|
|
268
273
|
options: localVarRequestOptions,
|
|
269
274
|
};
|
|
270
|
-
}
|
|
275
|
+
},
|
|
271
276
|
/**
|
|
272
277
|
*
|
|
273
278
|
* @summary Gets a video stream using HTTP live streaming.
|
|
@@ -287,7 +292,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
287
292
|
* @param {number} [minSegments] The minimum number of segments.
|
|
288
293
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
289
294
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
290
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
295
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
291
296
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
292
297
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
293
298
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -319,17 +324,19 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
319
324
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
320
325
|
* @param {string} [liveStreamId] The live stream id.
|
|
321
326
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
322
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
327
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
323
328
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
324
329
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
325
330
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
326
331
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
327
332
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
328
333
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
334
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
335
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
329
336
|
* @param {*} [options] Override http request option.
|
|
330
337
|
* @throws {RequiredError}
|
|
331
338
|
*/
|
|
332
|
-
getHlsVideoSegment:
|
|
339
|
+
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, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, options = {}) => {
|
|
333
340
|
// verify required parameter 'itemId' is not null or undefined
|
|
334
341
|
assertParamExists('getHlsVideoSegment', 'itemId', itemId);
|
|
335
342
|
// verify required parameter 'playlistId' is not null or undefined
|
|
@@ -353,11 +360,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
353
360
|
if (configuration) {
|
|
354
361
|
baseOptions = configuration.baseOptions;
|
|
355
362
|
}
|
|
356
|
-
const localVarRequestOptions =
|
|
363
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
357
364
|
const localVarHeaderParameter = {};
|
|
358
365
|
const localVarQueryParameter = {};
|
|
359
366
|
// authentication CustomAuthentication required
|
|
360
|
-
|
|
367
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
361
368
|
if (runtimeTicks !== undefined) {
|
|
362
369
|
localVarQueryParameter['runtimeTicks'] = runtimeTicks;
|
|
363
370
|
}
|
|
@@ -509,16 +516,24 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
509
516
|
localVarQueryParameter['context'] = context;
|
|
510
517
|
}
|
|
511
518
|
if (streamOptions !== undefined) {
|
|
512
|
-
|
|
519
|
+
for (const [key, value] of Object.entries(streamOptions)) {
|
|
520
|
+
localVarQueryParameter[key] = value;
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
if (enableAudioVbrEncoding !== undefined) {
|
|
524
|
+
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
|
|
525
|
+
}
|
|
526
|
+
if (alwaysBurnInSubtitleWhenTranscoding !== undefined) {
|
|
527
|
+
localVarQueryParameter['alwaysBurnInSubtitleWhenTranscoding'] = alwaysBurnInSubtitleWhenTranscoding;
|
|
513
528
|
}
|
|
514
529
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
515
530
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
516
|
-
localVarRequestOptions.headers =
|
|
531
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
517
532
|
return {
|
|
518
533
|
url: toPathString(localVarUrlObj),
|
|
519
534
|
options: localVarRequestOptions,
|
|
520
535
|
};
|
|
521
|
-
}
|
|
536
|
+
},
|
|
522
537
|
/**
|
|
523
538
|
*
|
|
524
539
|
* @summary Gets a hls live stream.
|
|
@@ -534,7 +549,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
534
549
|
* @param {number} [minSegments] The minimum number of segments.
|
|
535
550
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
536
551
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
537
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
552
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
538
553
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
539
554
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
540
555
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -564,7 +579,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
564
579
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
565
580
|
* @param {string} [liveStreamId] The live stream id.
|
|
566
581
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
567
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
582
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
568
583
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
569
584
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
570
585
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -574,10 +589,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
574
589
|
* @param {number} [maxWidth] Optional. The max width.
|
|
575
590
|
* @param {number} [maxHeight] Optional. The max height.
|
|
576
591
|
* @param {boolean} [enableSubtitlesInManifest] Optional. Whether to enable subtitles in the manifest.
|
|
592
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
593
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
577
594
|
* @param {*} [options] Override http request option.
|
|
578
595
|
* @throws {RequiredError}
|
|
579
596
|
*/
|
|
580
|
-
getLiveHlsStream:
|
|
597
|
+
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, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, options = {}) => {
|
|
581
598
|
// verify required parameter 'itemId' is not null or undefined
|
|
582
599
|
assertParamExists('getLiveHlsStream', 'itemId', itemId);
|
|
583
600
|
const localVarPath = `/Videos/{itemId}/live.m3u8`
|
|
@@ -588,11 +605,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
588
605
|
if (configuration) {
|
|
589
606
|
baseOptions = configuration.baseOptions;
|
|
590
607
|
}
|
|
591
|
-
const localVarRequestOptions =
|
|
608
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
592
609
|
const localVarHeaderParameter = {};
|
|
593
610
|
const localVarQueryParameter = {};
|
|
594
611
|
// authentication CustomAuthentication required
|
|
595
|
-
|
|
612
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
596
613
|
if (container !== undefined) {
|
|
597
614
|
localVarQueryParameter['container'] = container;
|
|
598
615
|
}
|
|
@@ -735,7 +752,9 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
735
752
|
localVarQueryParameter['context'] = context;
|
|
736
753
|
}
|
|
737
754
|
if (streamOptions !== undefined) {
|
|
738
|
-
|
|
755
|
+
for (const [key, value] of Object.entries(streamOptions)) {
|
|
756
|
+
localVarQueryParameter[key] = value;
|
|
757
|
+
}
|
|
739
758
|
}
|
|
740
759
|
if (maxWidth !== undefined) {
|
|
741
760
|
localVarQueryParameter['maxWidth'] = maxWidth;
|
|
@@ -746,14 +765,20 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
746
765
|
if (enableSubtitlesInManifest !== undefined) {
|
|
747
766
|
localVarQueryParameter['enableSubtitlesInManifest'] = enableSubtitlesInManifest;
|
|
748
767
|
}
|
|
768
|
+
if (enableAudioVbrEncoding !== undefined) {
|
|
769
|
+
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
|
|
770
|
+
}
|
|
771
|
+
if (alwaysBurnInSubtitleWhenTranscoding !== undefined) {
|
|
772
|
+
localVarQueryParameter['alwaysBurnInSubtitleWhenTranscoding'] = alwaysBurnInSubtitleWhenTranscoding;
|
|
773
|
+
}
|
|
749
774
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
750
775
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
751
|
-
localVarRequestOptions.headers =
|
|
776
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
752
777
|
return {
|
|
753
778
|
url: toPathString(localVarUrlObj),
|
|
754
779
|
options: localVarRequestOptions,
|
|
755
780
|
};
|
|
756
|
-
}
|
|
781
|
+
},
|
|
757
782
|
/**
|
|
758
783
|
*
|
|
759
784
|
* @summary Gets an audio hls playlist stream.
|
|
@@ -768,7 +793,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
768
793
|
* @param {number} [segmentLength] The segment length.
|
|
769
794
|
* @param {number} [minSegments] The minimum number of segments.
|
|
770
795
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
771
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
796
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
772
797
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
773
798
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
774
799
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -799,7 +824,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
799
824
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
800
825
|
* @param {string} [liveStreamId] The live stream id.
|
|
801
826
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
802
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
827
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
803
828
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
804
829
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
805
830
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -807,10 +832,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
807
832
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
808
833
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
809
834
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
835
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
810
836
|
* @param {*} [options] Override http request option.
|
|
811
837
|
* @throws {RequiredError}
|
|
812
838
|
*/
|
|
813
|
-
getMasterHlsAudioPlaylist:
|
|
839
|
+
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, enableAudioVbrEncoding, options = {}) => {
|
|
814
840
|
// verify required parameter 'itemId' is not null or undefined
|
|
815
841
|
assertParamExists('getMasterHlsAudioPlaylist', 'itemId', itemId);
|
|
816
842
|
// verify required parameter 'mediaSourceId' is not null or undefined
|
|
@@ -823,11 +849,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
823
849
|
if (configuration) {
|
|
824
850
|
baseOptions = configuration.baseOptions;
|
|
825
851
|
}
|
|
826
|
-
const localVarRequestOptions =
|
|
852
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
827
853
|
const localVarHeaderParameter = {};
|
|
828
854
|
const localVarQueryParameter = {};
|
|
829
855
|
// authentication CustomAuthentication required
|
|
830
|
-
|
|
856
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
831
857
|
if (_static !== undefined) {
|
|
832
858
|
localVarQueryParameter['static'] = _static;
|
|
833
859
|
}
|
|
@@ -970,19 +996,24 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
970
996
|
localVarQueryParameter['context'] = context;
|
|
971
997
|
}
|
|
972
998
|
if (streamOptions !== undefined) {
|
|
973
|
-
|
|
999
|
+
for (const [key, value] of Object.entries(streamOptions)) {
|
|
1000
|
+
localVarQueryParameter[key] = value;
|
|
1001
|
+
}
|
|
974
1002
|
}
|
|
975
1003
|
if (enableAdaptiveBitrateStreaming !== undefined) {
|
|
976
1004
|
localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming;
|
|
977
1005
|
}
|
|
1006
|
+
if (enableAudioVbrEncoding !== undefined) {
|
|
1007
|
+
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
|
|
1008
|
+
}
|
|
978
1009
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
979
1010
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
980
|
-
localVarRequestOptions.headers =
|
|
1011
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
981
1012
|
return {
|
|
982
1013
|
url: toPathString(localVarUrlObj),
|
|
983
1014
|
options: localVarRequestOptions,
|
|
984
1015
|
};
|
|
985
|
-
}
|
|
1016
|
+
},
|
|
986
1017
|
/**
|
|
987
1018
|
*
|
|
988
1019
|
* @summary Gets a video hls playlist stream.
|
|
@@ -997,7 +1028,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
997
1028
|
* @param {number} [segmentLength] The segment length.
|
|
998
1029
|
* @param {number} [minSegments] The minimum number of segments.
|
|
999
1030
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1000
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
1031
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
1001
1032
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1002
1033
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1003
1034
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -1029,7 +1060,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1029
1060
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1030
1061
|
* @param {string} [liveStreamId] The live stream id.
|
|
1031
1062
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1032
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
1063
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
1033
1064
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1034
1065
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1035
1066
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -1038,10 +1069,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1038
1069
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1039
1070
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
1040
1071
|
* @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist.
|
|
1072
|
+
* @param {boolean} [enableAudioVbrEncoding] Whether to enable Audio Encoding.
|
|
1073
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
1041
1074
|
* @param {*} [options] Override http request option.
|
|
1042
1075
|
* @throws {RequiredError}
|
|
1043
1076
|
*/
|
|
1044
|
-
getMasterHlsVideoPlaylist:
|
|
1077
|
+
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, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, options = {}) => {
|
|
1045
1078
|
// verify required parameter 'itemId' is not null or undefined
|
|
1046
1079
|
assertParamExists('getMasterHlsVideoPlaylist', 'itemId', itemId);
|
|
1047
1080
|
// verify required parameter 'mediaSourceId' is not null or undefined
|
|
@@ -1054,11 +1087,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1054
1087
|
if (configuration) {
|
|
1055
1088
|
baseOptions = configuration.baseOptions;
|
|
1056
1089
|
}
|
|
1057
|
-
const localVarRequestOptions =
|
|
1090
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1058
1091
|
const localVarHeaderParameter = {};
|
|
1059
1092
|
const localVarQueryParameter = {};
|
|
1060
1093
|
// authentication CustomAuthentication required
|
|
1061
|
-
|
|
1094
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1062
1095
|
if (_static !== undefined) {
|
|
1063
1096
|
localVarQueryParameter['static'] = _static;
|
|
1064
1097
|
}
|
|
@@ -1204,7 +1237,9 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1204
1237
|
localVarQueryParameter['context'] = context;
|
|
1205
1238
|
}
|
|
1206
1239
|
if (streamOptions !== undefined) {
|
|
1207
|
-
|
|
1240
|
+
for (const [key, value] of Object.entries(streamOptions)) {
|
|
1241
|
+
localVarQueryParameter[key] = value;
|
|
1242
|
+
}
|
|
1208
1243
|
}
|
|
1209
1244
|
if (enableAdaptiveBitrateStreaming !== undefined) {
|
|
1210
1245
|
localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming;
|
|
@@ -1212,14 +1247,20 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1212
1247
|
if (enableTrickplay !== undefined) {
|
|
1213
1248
|
localVarQueryParameter['enableTrickplay'] = enableTrickplay;
|
|
1214
1249
|
}
|
|
1250
|
+
if (enableAudioVbrEncoding !== undefined) {
|
|
1251
|
+
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
|
|
1252
|
+
}
|
|
1253
|
+
if (alwaysBurnInSubtitleWhenTranscoding !== undefined) {
|
|
1254
|
+
localVarQueryParameter['alwaysBurnInSubtitleWhenTranscoding'] = alwaysBurnInSubtitleWhenTranscoding;
|
|
1255
|
+
}
|
|
1215
1256
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1216
1257
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1217
|
-
localVarRequestOptions.headers =
|
|
1258
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1218
1259
|
return {
|
|
1219
1260
|
url: toPathString(localVarUrlObj),
|
|
1220
1261
|
options: localVarRequestOptions,
|
|
1221
1262
|
};
|
|
1222
|
-
}
|
|
1263
|
+
},
|
|
1223
1264
|
/**
|
|
1224
1265
|
*
|
|
1225
1266
|
* @summary Gets an audio stream using HTTP live streaming.
|
|
@@ -1234,7 +1275,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1234
1275
|
* @param {number} [minSegments] The minimum number of segments.
|
|
1235
1276
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
1236
1277
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1237
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
1278
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
1238
1279
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1239
1280
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1240
1281
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -1265,17 +1306,18 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1265
1306
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1266
1307
|
* @param {string} [liveStreamId] The live stream id.
|
|
1267
1308
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1268
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
1309
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
1269
1310
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1270
1311
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1271
1312
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
1272
1313
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
1273
1314
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1274
1315
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1316
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
1275
1317
|
* @param {*} [options] Override http request option.
|
|
1276
1318
|
* @throws {RequiredError}
|
|
1277
1319
|
*/
|
|
1278
|
-
getVariantHlsAudioPlaylist:
|
|
1320
|
+
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, enableAudioVbrEncoding, options = {}) => {
|
|
1279
1321
|
// verify required parameter 'itemId' is not null or undefined
|
|
1280
1322
|
assertParamExists('getVariantHlsAudioPlaylist', 'itemId', itemId);
|
|
1281
1323
|
const localVarPath = `/Audio/{itemId}/main.m3u8`
|
|
@@ -1286,11 +1328,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1286
1328
|
if (configuration) {
|
|
1287
1329
|
baseOptions = configuration.baseOptions;
|
|
1288
1330
|
}
|
|
1289
|
-
const localVarRequestOptions =
|
|
1331
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1290
1332
|
const localVarHeaderParameter = {};
|
|
1291
1333
|
const localVarQueryParameter = {};
|
|
1292
1334
|
// authentication CustomAuthentication required
|
|
1293
|
-
|
|
1335
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1294
1336
|
if (_static !== undefined) {
|
|
1295
1337
|
localVarQueryParameter['static'] = _static;
|
|
1296
1338
|
}
|
|
@@ -1433,16 +1475,21 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1433
1475
|
localVarQueryParameter['context'] = context;
|
|
1434
1476
|
}
|
|
1435
1477
|
if (streamOptions !== undefined) {
|
|
1436
|
-
|
|
1478
|
+
for (const [key, value] of Object.entries(streamOptions)) {
|
|
1479
|
+
localVarQueryParameter[key] = value;
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
if (enableAudioVbrEncoding !== undefined) {
|
|
1483
|
+
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
|
|
1437
1484
|
}
|
|
1438
1485
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1439
1486
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1440
|
-
localVarRequestOptions.headers =
|
|
1487
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1441
1488
|
return {
|
|
1442
1489
|
url: toPathString(localVarUrlObj),
|
|
1443
1490
|
options: localVarRequestOptions,
|
|
1444
1491
|
};
|
|
1445
|
-
}
|
|
1492
|
+
},
|
|
1446
1493
|
/**
|
|
1447
1494
|
*
|
|
1448
1495
|
* @summary Gets a video stream using HTTP live streaming.
|
|
@@ -1457,7 +1504,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1457
1504
|
* @param {number} [minSegments] The minimum number of segments.
|
|
1458
1505
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
1459
1506
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1460
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
1507
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
1461
1508
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1462
1509
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1463
1510
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -1489,17 +1536,19 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1489
1536
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1490
1537
|
* @param {string} [liveStreamId] The live stream id.
|
|
1491
1538
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1492
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
1539
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
1493
1540
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1494
1541
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1495
1542
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
1496
1543
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
1497
1544
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1498
1545
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1546
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
1547
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
1499
1548
|
* @param {*} [options] Override http request option.
|
|
1500
1549
|
* @throws {RequiredError}
|
|
1501
1550
|
*/
|
|
1502
|
-
getVariantHlsVideoPlaylist:
|
|
1551
|
+
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, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, options = {}) => {
|
|
1503
1552
|
// verify required parameter 'itemId' is not null or undefined
|
|
1504
1553
|
assertParamExists('getVariantHlsVideoPlaylist', 'itemId', itemId);
|
|
1505
1554
|
const localVarPath = `/Videos/{itemId}/main.m3u8`
|
|
@@ -1510,11 +1559,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1510
1559
|
if (configuration) {
|
|
1511
1560
|
baseOptions = configuration.baseOptions;
|
|
1512
1561
|
}
|
|
1513
|
-
const localVarRequestOptions =
|
|
1562
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1514
1563
|
const localVarHeaderParameter = {};
|
|
1515
1564
|
const localVarQueryParameter = {};
|
|
1516
1565
|
// authentication CustomAuthentication required
|
|
1517
|
-
|
|
1566
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1518
1567
|
if (_static !== undefined) {
|
|
1519
1568
|
localVarQueryParameter['static'] = _static;
|
|
1520
1569
|
}
|
|
@@ -1660,16 +1709,24 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1660
1709
|
localVarQueryParameter['context'] = context;
|
|
1661
1710
|
}
|
|
1662
1711
|
if (streamOptions !== undefined) {
|
|
1663
|
-
|
|
1712
|
+
for (const [key, value] of Object.entries(streamOptions)) {
|
|
1713
|
+
localVarQueryParameter[key] = value;
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
if (enableAudioVbrEncoding !== undefined) {
|
|
1717
|
+
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
|
|
1718
|
+
}
|
|
1719
|
+
if (alwaysBurnInSubtitleWhenTranscoding !== undefined) {
|
|
1720
|
+
localVarQueryParameter['alwaysBurnInSubtitleWhenTranscoding'] = alwaysBurnInSubtitleWhenTranscoding;
|
|
1664
1721
|
}
|
|
1665
1722
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1666
1723
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1667
|
-
localVarRequestOptions.headers =
|
|
1724
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1668
1725
|
return {
|
|
1669
1726
|
url: toPathString(localVarUrlObj),
|
|
1670
1727
|
options: localVarRequestOptions,
|
|
1671
1728
|
};
|
|
1672
|
-
}
|
|
1729
|
+
},
|
|
1673
1730
|
/**
|
|
1674
1731
|
*
|
|
1675
1732
|
* @summary Gets an audio hls playlist stream.
|
|
@@ -1684,7 +1741,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1684
1741
|
* @param {number} [segmentLength] The segment length.
|
|
1685
1742
|
* @param {number} [minSegments] The minimum number of segments.
|
|
1686
1743
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1687
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
1744
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
1688
1745
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1689
1746
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1690
1747
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -1715,7 +1772,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1715
1772
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1716
1773
|
* @param {string} [liveStreamId] The live stream id.
|
|
1717
1774
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1718
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
1775
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
1719
1776
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1720
1777
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1721
1778
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -1723,10 +1780,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1723
1780
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1724
1781
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1725
1782
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
1783
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
1726
1784
|
* @param {*} [options] Override http request option.
|
|
1727
1785
|
* @throws {RequiredError}
|
|
1728
1786
|
*/
|
|
1729
|
-
headMasterHlsAudioPlaylist:
|
|
1787
|
+
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, enableAudioVbrEncoding, options = {}) => {
|
|
1730
1788
|
// verify required parameter 'itemId' is not null or undefined
|
|
1731
1789
|
assertParamExists('headMasterHlsAudioPlaylist', 'itemId', itemId);
|
|
1732
1790
|
// verify required parameter 'mediaSourceId' is not null or undefined
|
|
@@ -1739,11 +1797,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1739
1797
|
if (configuration) {
|
|
1740
1798
|
baseOptions = configuration.baseOptions;
|
|
1741
1799
|
}
|
|
1742
|
-
const localVarRequestOptions =
|
|
1800
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
1743
1801
|
const localVarHeaderParameter = {};
|
|
1744
1802
|
const localVarQueryParameter = {};
|
|
1745
1803
|
// authentication CustomAuthentication required
|
|
1746
|
-
|
|
1804
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1747
1805
|
if (_static !== undefined) {
|
|
1748
1806
|
localVarQueryParameter['static'] = _static;
|
|
1749
1807
|
}
|
|
@@ -1886,19 +1944,24 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1886
1944
|
localVarQueryParameter['context'] = context;
|
|
1887
1945
|
}
|
|
1888
1946
|
if (streamOptions !== undefined) {
|
|
1889
|
-
|
|
1947
|
+
for (const [key, value] of Object.entries(streamOptions)) {
|
|
1948
|
+
localVarQueryParameter[key] = value;
|
|
1949
|
+
}
|
|
1890
1950
|
}
|
|
1891
1951
|
if (enableAdaptiveBitrateStreaming !== undefined) {
|
|
1892
1952
|
localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming;
|
|
1893
1953
|
}
|
|
1954
|
+
if (enableAudioVbrEncoding !== undefined) {
|
|
1955
|
+
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
|
|
1956
|
+
}
|
|
1894
1957
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1895
1958
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1896
|
-
localVarRequestOptions.headers =
|
|
1959
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1897
1960
|
return {
|
|
1898
1961
|
url: toPathString(localVarUrlObj),
|
|
1899
1962
|
options: localVarRequestOptions,
|
|
1900
1963
|
};
|
|
1901
|
-
}
|
|
1964
|
+
},
|
|
1902
1965
|
/**
|
|
1903
1966
|
*
|
|
1904
1967
|
* @summary Gets a video hls playlist stream.
|
|
@@ -1913,7 +1976,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1913
1976
|
* @param {number} [segmentLength] The segment length.
|
|
1914
1977
|
* @param {number} [minSegments] The minimum number of segments.
|
|
1915
1978
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1916
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
1979
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
1917
1980
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1918
1981
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1919
1982
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -1945,7 +2008,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1945
2008
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1946
2009
|
* @param {string} [liveStreamId] The live stream id.
|
|
1947
2010
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1948
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2011
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
1949
2012
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1950
2013
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1951
2014
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -1954,10 +2017,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1954
2017
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1955
2018
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
1956
2019
|
* @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist.
|
|
2020
|
+
* @param {boolean} [enableAudioVbrEncoding] Whether to enable Audio Encoding.
|
|
2021
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
1957
2022
|
* @param {*} [options] Override http request option.
|
|
1958
2023
|
* @throws {RequiredError}
|
|
1959
2024
|
*/
|
|
1960
|
-
headMasterHlsVideoPlaylist:
|
|
2025
|
+
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, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, options = {}) => {
|
|
1961
2026
|
// verify required parameter 'itemId' is not null or undefined
|
|
1962
2027
|
assertParamExists('headMasterHlsVideoPlaylist', 'itemId', itemId);
|
|
1963
2028
|
// verify required parameter 'mediaSourceId' is not null or undefined
|
|
@@ -1970,11 +2035,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1970
2035
|
if (configuration) {
|
|
1971
2036
|
baseOptions = configuration.baseOptions;
|
|
1972
2037
|
}
|
|
1973
|
-
const localVarRequestOptions =
|
|
2038
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
1974
2039
|
const localVarHeaderParameter = {};
|
|
1975
2040
|
const localVarQueryParameter = {};
|
|
1976
2041
|
// authentication CustomAuthentication required
|
|
1977
|
-
|
|
2042
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1978
2043
|
if (_static !== undefined) {
|
|
1979
2044
|
localVarQueryParameter['static'] = _static;
|
|
1980
2045
|
}
|
|
@@ -2120,7 +2185,9 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
2120
2185
|
localVarQueryParameter['context'] = context;
|
|
2121
2186
|
}
|
|
2122
2187
|
if (streamOptions !== undefined) {
|
|
2123
|
-
|
|
2188
|
+
for (const [key, value] of Object.entries(streamOptions)) {
|
|
2189
|
+
localVarQueryParameter[key] = value;
|
|
2190
|
+
}
|
|
2124
2191
|
}
|
|
2125
2192
|
if (enableAdaptiveBitrateStreaming !== undefined) {
|
|
2126
2193
|
localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming;
|
|
@@ -2128,14 +2195,20 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
2128
2195
|
if (enableTrickplay !== undefined) {
|
|
2129
2196
|
localVarQueryParameter['enableTrickplay'] = enableTrickplay;
|
|
2130
2197
|
}
|
|
2198
|
+
if (enableAudioVbrEncoding !== undefined) {
|
|
2199
|
+
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
|
|
2200
|
+
}
|
|
2201
|
+
if (alwaysBurnInSubtitleWhenTranscoding !== undefined) {
|
|
2202
|
+
localVarQueryParameter['alwaysBurnInSubtitleWhenTranscoding'] = alwaysBurnInSubtitleWhenTranscoding;
|
|
2203
|
+
}
|
|
2131
2204
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2132
2205
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2133
|
-
localVarRequestOptions.headers =
|
|
2206
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2134
2207
|
return {
|
|
2135
2208
|
url: toPathString(localVarUrlObj),
|
|
2136
2209
|
options: localVarRequestOptions,
|
|
2137
2210
|
};
|
|
2138
|
-
}
|
|
2211
|
+
},
|
|
2139
2212
|
};
|
|
2140
2213
|
};
|
|
2141
2214
|
/**
|
|
@@ -2164,7 +2237,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2164
2237
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2165
2238
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
2166
2239
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2167
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2240
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2168
2241
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2169
2242
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2170
2243
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2195,21 +2268,23 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2195
2268
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2196
2269
|
* @param {string} [liveStreamId] The live stream id.
|
|
2197
2270
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2198
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2271
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2199
2272
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2200
2273
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2201
2274
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
2202
2275
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
2203
2276
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2204
2277
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2278
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
2205
2279
|
* @param {*} [options] Override http request option.
|
|
2206
2280
|
* @throws {RequiredError}
|
|
2207
2281
|
*/
|
|
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
|
-
|
|
2212
|
-
|
|
2282
|
+
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, enableAudioVbrEncoding, options) {
|
|
2283
|
+
var _a, _b, _c;
|
|
2284
|
+
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, enableAudioVbrEncoding, options);
|
|
2285
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2286
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DynamicHlsApi.getHlsAudioSegment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2287
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2213
2288
|
},
|
|
2214
2289
|
/**
|
|
2215
2290
|
*
|
|
@@ -2230,7 +2305,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2230
2305
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2231
2306
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
2232
2307
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2233
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2308
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2234
2309
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2235
2310
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2236
2311
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2262,21 +2337,24 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2262
2337
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2263
2338
|
* @param {string} [liveStreamId] The live stream id.
|
|
2264
2339
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2265
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2340
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2266
2341
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2267
2342
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2268
2343
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
2269
2344
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
2270
2345
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2271
2346
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2347
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
2348
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
2272
2349
|
* @param {*} [options] Override http request option.
|
|
2273
2350
|
* @throws {RequiredError}
|
|
2274
2351
|
*/
|
|
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
|
-
|
|
2279
|
-
|
|
2352
|
+
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, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, options) {
|
|
2353
|
+
var _a, _b, _c;
|
|
2354
|
+
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, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, options);
|
|
2355
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2356
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DynamicHlsApi.getHlsVideoSegment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2357
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2280
2358
|
},
|
|
2281
2359
|
/**
|
|
2282
2360
|
*
|
|
@@ -2293,7 +2371,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2293
2371
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2294
2372
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
2295
2373
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2296
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2374
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2297
2375
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2298
2376
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2299
2377
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2323,7 +2401,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2323
2401
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2324
2402
|
* @param {string} [liveStreamId] The live stream id.
|
|
2325
2403
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2326
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2404
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2327
2405
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2328
2406
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2329
2407
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -2333,14 +2411,17 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2333
2411
|
* @param {number} [maxWidth] Optional. The max width.
|
|
2334
2412
|
* @param {number} [maxHeight] Optional. The max height.
|
|
2335
2413
|
* @param {boolean} [enableSubtitlesInManifest] Optional. Whether to enable subtitles in the manifest.
|
|
2414
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
2415
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
2336
2416
|
* @param {*} [options] Override http request option.
|
|
2337
2417
|
* @throws {RequiredError}
|
|
2338
2418
|
*/
|
|
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
|
-
|
|
2343
|
-
|
|
2419
|
+
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, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, options) {
|
|
2420
|
+
var _a, _b, _c;
|
|
2421
|
+
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, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, options);
|
|
2422
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2423
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DynamicHlsApi.getLiveHlsStream']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2424
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2344
2425
|
},
|
|
2345
2426
|
/**
|
|
2346
2427
|
*
|
|
@@ -2356,7 +2437,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2356
2437
|
* @param {number} [segmentLength] The segment length.
|
|
2357
2438
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2358
2439
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2359
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2440
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2360
2441
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2361
2442
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2362
2443
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2387,7 +2468,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2387
2468
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2388
2469
|
* @param {string} [liveStreamId] The live stream id.
|
|
2389
2470
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2390
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2471
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2391
2472
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2392
2473
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2393
2474
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -2395,14 +2476,16 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2395
2476
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2396
2477
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2397
2478
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
2479
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
2398
2480
|
* @param {*} [options] Override http request option.
|
|
2399
2481
|
* @throws {RequiredError}
|
|
2400
2482
|
*/
|
|
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
|
-
|
|
2405
|
-
|
|
2483
|
+
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, enableAudioVbrEncoding, options) {
|
|
2484
|
+
var _a, _b, _c;
|
|
2485
|
+
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, enableAudioVbrEncoding, options);
|
|
2486
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2487
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DynamicHlsApi.getMasterHlsAudioPlaylist']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2488
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2406
2489
|
},
|
|
2407
2490
|
/**
|
|
2408
2491
|
*
|
|
@@ -2418,7 +2501,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2418
2501
|
* @param {number} [segmentLength] The segment length.
|
|
2419
2502
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2420
2503
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2421
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2504
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2422
2505
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2423
2506
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2424
2507
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2450,7 +2533,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2450
2533
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2451
2534
|
* @param {string} [liveStreamId] The live stream id.
|
|
2452
2535
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2453
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2536
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2454
2537
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2455
2538
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2456
2539
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -2459,14 +2542,17 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2459
2542
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2460
2543
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
2461
2544
|
* @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist.
|
|
2545
|
+
* @param {boolean} [enableAudioVbrEncoding] Whether to enable Audio Encoding.
|
|
2546
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
2462
2547
|
* @param {*} [options] Override http request option.
|
|
2463
2548
|
* @throws {RequiredError}
|
|
2464
2549
|
*/
|
|
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
|
-
|
|
2469
|
-
|
|
2550
|
+
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, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, options) {
|
|
2551
|
+
var _a, _b, _c;
|
|
2552
|
+
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, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, options);
|
|
2553
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2554
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DynamicHlsApi.getMasterHlsVideoPlaylist']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2555
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2470
2556
|
},
|
|
2471
2557
|
/**
|
|
2472
2558
|
*
|
|
@@ -2482,7 +2568,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2482
2568
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2483
2569
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
2484
2570
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2485
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2571
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2486
2572
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2487
2573
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2488
2574
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2513,21 +2599,23 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2513
2599
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2514
2600
|
* @param {string} [liveStreamId] The live stream id.
|
|
2515
2601
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2516
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2602
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2517
2603
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2518
2604
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2519
2605
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
2520
2606
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
2521
2607
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2522
2608
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2609
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
2523
2610
|
* @param {*} [options] Override http request option.
|
|
2524
2611
|
* @throws {RequiredError}
|
|
2525
2612
|
*/
|
|
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
|
-
|
|
2530
|
-
|
|
2613
|
+
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, enableAudioVbrEncoding, options) {
|
|
2614
|
+
var _a, _b, _c;
|
|
2615
|
+
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, enableAudioVbrEncoding, options);
|
|
2616
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2617
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DynamicHlsApi.getVariantHlsAudioPlaylist']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2618
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2531
2619
|
},
|
|
2532
2620
|
/**
|
|
2533
2621
|
*
|
|
@@ -2543,7 +2631,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2543
2631
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2544
2632
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
2545
2633
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2546
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2634
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2547
2635
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2548
2636
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2549
2637
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2575,21 +2663,24 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2575
2663
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2576
2664
|
* @param {string} [liveStreamId] The live stream id.
|
|
2577
2665
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2578
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2666
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2579
2667
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2580
2668
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2581
2669
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
2582
2670
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
2583
2671
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2584
2672
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2673
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
2674
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
2585
2675
|
* @param {*} [options] Override http request option.
|
|
2586
2676
|
* @throws {RequiredError}
|
|
2587
2677
|
*/
|
|
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
|
-
|
|
2592
|
-
|
|
2678
|
+
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, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, options) {
|
|
2679
|
+
var _a, _b, _c;
|
|
2680
|
+
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, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, options);
|
|
2681
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2682
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DynamicHlsApi.getVariantHlsVideoPlaylist']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2683
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2593
2684
|
},
|
|
2594
2685
|
/**
|
|
2595
2686
|
*
|
|
@@ -2605,7 +2696,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2605
2696
|
* @param {number} [segmentLength] The segment length.
|
|
2606
2697
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2607
2698
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2608
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2699
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2609
2700
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2610
2701
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2611
2702
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2636,7 +2727,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2636
2727
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2637
2728
|
* @param {string} [liveStreamId] The live stream id.
|
|
2638
2729
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2639
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2730
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2640
2731
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2641
2732
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2642
2733
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -2644,14 +2735,16 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2644
2735
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2645
2736
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2646
2737
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
2738
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
2647
2739
|
* @param {*} [options] Override http request option.
|
|
2648
2740
|
* @throws {RequiredError}
|
|
2649
2741
|
*/
|
|
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
|
-
|
|
2654
|
-
|
|
2742
|
+
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, enableAudioVbrEncoding, options) {
|
|
2743
|
+
var _a, _b, _c;
|
|
2744
|
+
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, enableAudioVbrEncoding, options);
|
|
2745
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2746
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DynamicHlsApi.headMasterHlsAudioPlaylist']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2747
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2655
2748
|
},
|
|
2656
2749
|
/**
|
|
2657
2750
|
*
|
|
@@ -2667,7 +2760,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2667
2760
|
* @param {number} [segmentLength] The segment length.
|
|
2668
2761
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2669
2762
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2670
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2763
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2671
2764
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2672
2765
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2673
2766
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2699,7 +2792,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2699
2792
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2700
2793
|
* @param {string} [liveStreamId] The live stream id.
|
|
2701
2794
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2702
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2795
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
2703
2796
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2704
2797
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2705
2798
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -2708,14 +2801,17 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2708
2801
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2709
2802
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
2710
2803
|
* @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist.
|
|
2804
|
+
* @param {boolean} [enableAudioVbrEncoding] Whether to enable Audio Encoding.
|
|
2805
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
2711
2806
|
* @param {*} [options] Override http request option.
|
|
2712
2807
|
* @throws {RequiredError}
|
|
2713
2808
|
*/
|
|
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
|
-
|
|
2718
|
-
|
|
2809
|
+
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, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, options) {
|
|
2810
|
+
var _a, _b, _c;
|
|
2811
|
+
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, enableAudioVbrEncoding, alwaysBurnInSubtitleWhenTranscoding, options);
|
|
2812
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2813
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DynamicHlsApi.headMasterHlsVideoPlaylist']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2814
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2719
2815
|
},
|
|
2720
2816
|
};
|
|
2721
2817
|
};
|
|
@@ -2729,547 +2825,92 @@ const DynamicHlsApiFactory = function (configuration, basePath, axios) {
|
|
|
2729
2825
|
/**
|
|
2730
2826
|
*
|
|
2731
2827
|
* @summary Gets a video stream using HTTP live streaming.
|
|
2732
|
-
* @param {
|
|
2733
|
-
* @param {string} playlistId The playlist id.
|
|
2734
|
-
* @param {number} segmentId The segment id.
|
|
2735
|
-
* @param {string} container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv.
|
|
2736
|
-
* @param {number} runtimeTicks The position of the requested segment in ticks.
|
|
2737
|
-
* @param {number} actualSegmentLengthTicks The length of the requested segment in ticks.
|
|
2738
|
-
* @param {boolean} [_static] Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false.
|
|
2739
|
-
* @param {string} [params] The streaming parameters.
|
|
2740
|
-
* @param {string} [tag] The tag.
|
|
2741
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
2742
|
-
* @param {string} [playSessionId] The play session id.
|
|
2743
|
-
* @param {string} [segmentContainer] The segment container.
|
|
2744
|
-
* @param {number} [segmentLength] The segment length.
|
|
2745
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
2746
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
2747
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2748
|
-
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
|
|
2749
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2750
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2751
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
2752
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
2753
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
2754
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
2755
|
-
* @param {number} [maxStreamingBitrate] Optional. The maximum streaming bitrate.
|
|
2756
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
2757
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
2758
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
2759
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
2760
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
2761
|
-
* @param {number} [framerate] Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
2762
|
-
* @param {number} [maxFramerate] Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
2763
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
2764
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
2765
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
2766
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
2767
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
2768
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
2769
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
2770
|
-
* @param {number} [maxRefFrames] Optional.
|
|
2771
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
2772
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
2773
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
2774
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
2775
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
2776
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2777
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
2778
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2779
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vpx, wmv.
|
|
2780
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2781
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2782
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
2783
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
2784
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2785
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2828
|
+
* @param {DynamicHlsApiGetHlsAudioSegmentRequest} requestParameters Request parameters.
|
|
2786
2829
|
* @param {*} [options] Override http request option.
|
|
2787
2830
|
* @throws {RequiredError}
|
|
2788
2831
|
*/
|
|
2789
|
-
getHlsAudioSegment(
|
|
2790
|
-
return localVarFp.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).then((request) => request(axios, basePath));
|
|
2832
|
+
getHlsAudioSegment(requestParameters, options) {
|
|
2833
|
+
return localVarFp.getHlsAudioSegment(requestParameters.itemId, requestParameters.playlistId, requestParameters.segmentId, requestParameters.container, requestParameters.runtimeTicks, requestParameters.actualSegmentLengthTicks, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(axios, basePath));
|
|
2791
2834
|
},
|
|
2792
2835
|
/**
|
|
2793
2836
|
*
|
|
2794
2837
|
* @summary Gets a video stream using HTTP live streaming.
|
|
2795
|
-
* @param {
|
|
2796
|
-
* @param {string} playlistId The playlist id.
|
|
2797
|
-
* @param {number} segmentId The segment id.
|
|
2798
|
-
* @param {string} container The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv.
|
|
2799
|
-
* @param {number} runtimeTicks The position of the requested segment in ticks.
|
|
2800
|
-
* @param {number} actualSegmentLengthTicks The length of the requested segment in ticks.
|
|
2801
|
-
* @param {boolean} [_static] Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false.
|
|
2802
|
-
* @param {string} [params] The streaming parameters.
|
|
2803
|
-
* @param {string} [tag] The tag.
|
|
2804
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
2805
|
-
* @param {string} [playSessionId] The play session id.
|
|
2806
|
-
* @param {string} [segmentContainer] The segment container.
|
|
2807
|
-
* @param {number} [segmentLength] The desired segment length.
|
|
2808
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
2809
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
2810
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2811
|
-
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
|
|
2812
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2813
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2814
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
2815
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
2816
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
2817
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
2818
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
2819
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
2820
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
2821
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
2822
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
2823
|
-
* @param {number} [framerate] Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
2824
|
-
* @param {number} [maxFramerate] Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
2825
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
2826
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
2827
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
2828
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
2829
|
-
* @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
|
|
2830
|
-
* @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
|
|
2831
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
2832
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
2833
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
2834
|
-
* @param {number} [maxRefFrames] Optional.
|
|
2835
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
2836
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
2837
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
2838
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
2839
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
2840
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2841
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
2842
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2843
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
|
|
2844
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2845
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2846
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
2847
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
2848
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2849
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2838
|
+
* @param {DynamicHlsApiGetHlsVideoSegmentRequest} requestParameters Request parameters.
|
|
2850
2839
|
* @param {*} [options] Override http request option.
|
|
2851
2840
|
* @throws {RequiredError}
|
|
2852
2841
|
*/
|
|
2853
|
-
getHlsVideoSegment(
|
|
2854
|
-
return localVarFp.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).then((request) => request(axios, basePath));
|
|
2842
|
+
getHlsVideoSegment(requestParameters, options) {
|
|
2843
|
+
return localVarFp.getHlsVideoSegment(requestParameters.itemId, requestParameters.playlistId, requestParameters.segmentId, requestParameters.container, requestParameters.runtimeTicks, requestParameters.actualSegmentLengthTicks, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, requestParameters.alwaysBurnInSubtitleWhenTranscoding, options).then((request) => request(axios, basePath));
|
|
2855
2844
|
},
|
|
2856
2845
|
/**
|
|
2857
2846
|
*
|
|
2858
2847
|
* @summary Gets a hls live stream.
|
|
2859
|
-
* @param {
|
|
2860
|
-
* @param {string} [container] The audio container.
|
|
2861
|
-
* @param {boolean} [_static] Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false.
|
|
2862
|
-
* @param {string} [params] The streaming parameters.
|
|
2863
|
-
* @param {string} [tag] The tag.
|
|
2864
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
2865
|
-
* @param {string} [playSessionId] The play session id.
|
|
2866
|
-
* @param {string} [segmentContainer] The segment container.
|
|
2867
|
-
* @param {number} [segmentLength] The segment length.
|
|
2868
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
2869
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
2870
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2871
|
-
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
|
|
2872
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2873
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2874
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
2875
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
2876
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
2877
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
2878
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
2879
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
2880
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
2881
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
2882
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
2883
|
-
* @param {number} [framerate] Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
2884
|
-
* @param {number} [maxFramerate] Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
2885
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
2886
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
2887
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
2888
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
2889
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
2890
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
2891
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
2892
|
-
* @param {number} [maxRefFrames] Optional.
|
|
2893
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
2894
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
2895
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
2896
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
2897
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
2898
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2899
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
2900
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2901
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
|
|
2902
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2903
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2904
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
2905
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
2906
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2907
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2908
|
-
* @param {number} [maxWidth] Optional. The max width.
|
|
2909
|
-
* @param {number} [maxHeight] Optional. The max height.
|
|
2910
|
-
* @param {boolean} [enableSubtitlesInManifest] Optional. Whether to enable subtitles in the manifest.
|
|
2848
|
+
* @param {DynamicHlsApiGetLiveHlsStreamRequest} requestParameters Request parameters.
|
|
2911
2849
|
* @param {*} [options] Override http request option.
|
|
2912
2850
|
* @throws {RequiredError}
|
|
2913
2851
|
*/
|
|
2914
|
-
getLiveHlsStream(
|
|
2915
|
-
return localVarFp.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).then((request) => request(axios, basePath));
|
|
2852
|
+
getLiveHlsStream(requestParameters, options) {
|
|
2853
|
+
return localVarFp.getLiveHlsStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.enableSubtitlesInManifest, requestParameters.enableAudioVbrEncoding, requestParameters.alwaysBurnInSubtitleWhenTranscoding, options).then((request) => request(axios, basePath));
|
|
2916
2854
|
},
|
|
2917
2855
|
/**
|
|
2918
2856
|
*
|
|
2919
2857
|
* @summary Gets an audio hls playlist stream.
|
|
2920
|
-
* @param {
|
|
2921
|
-
* @param {string} mediaSourceId The media version id, if playing an alternate version.
|
|
2922
|
-
* @param {boolean} [_static] Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false.
|
|
2923
|
-
* @param {string} [params] The streaming parameters.
|
|
2924
|
-
* @param {string} [tag] The tag.
|
|
2925
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
2926
|
-
* @param {string} [playSessionId] The play session id.
|
|
2927
|
-
* @param {string} [segmentContainer] The segment container.
|
|
2928
|
-
* @param {number} [segmentLength] The segment length.
|
|
2929
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
2930
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2931
|
-
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
|
|
2932
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2933
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2934
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
2935
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
2936
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
2937
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
2938
|
-
* @param {number} [maxStreamingBitrate] Optional. The maximum streaming bitrate.
|
|
2939
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
2940
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
2941
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
2942
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
2943
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
2944
|
-
* @param {number} [framerate] Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
2945
|
-
* @param {number} [maxFramerate] Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
2946
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
2947
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
2948
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
2949
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
2950
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
2951
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
2952
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
2953
|
-
* @param {number} [maxRefFrames] Optional.
|
|
2954
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
2955
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
2956
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
2957
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
2958
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
2959
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2960
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
2961
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2962
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
|
|
2963
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2964
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2965
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
2966
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
2967
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2968
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2969
|
-
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
2858
|
+
* @param {DynamicHlsApiGetMasterHlsAudioPlaylistRequest} requestParameters Request parameters.
|
|
2970
2859
|
* @param {*} [options] Override http request option.
|
|
2971
2860
|
* @throws {RequiredError}
|
|
2972
2861
|
*/
|
|
2973
|
-
getMasterHlsAudioPlaylist(
|
|
2974
|
-
return localVarFp.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).then((request) => request(axios, basePath));
|
|
2862
|
+
getMasterHlsAudioPlaylist(requestParameters, options) {
|
|
2863
|
+
return localVarFp.getMasterHlsAudioPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAdaptiveBitrateStreaming, requestParameters.enableAudioVbrEncoding, options).then((request) => request(axios, basePath));
|
|
2975
2864
|
},
|
|
2976
2865
|
/**
|
|
2977
2866
|
*
|
|
2978
2867
|
* @summary Gets a video hls playlist stream.
|
|
2979
|
-
* @param {
|
|
2980
|
-
* @param {string} mediaSourceId The media version id, if playing an alternate version.
|
|
2981
|
-
* @param {boolean} [_static] Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false.
|
|
2982
|
-
* @param {string} [params] The streaming parameters.
|
|
2983
|
-
* @param {string} [tag] The tag.
|
|
2984
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
2985
|
-
* @param {string} [playSessionId] The play session id.
|
|
2986
|
-
* @param {string} [segmentContainer] The segment container.
|
|
2987
|
-
* @param {number} [segmentLength] The segment length.
|
|
2988
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
2989
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2990
|
-
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
|
|
2991
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2992
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2993
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
2994
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
2995
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
2996
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
2997
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
2998
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
2999
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
3000
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
3001
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
3002
|
-
* @param {number} [framerate] Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
3003
|
-
* @param {number} [maxFramerate] Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
3004
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
3005
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
3006
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
3007
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
3008
|
-
* @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
|
|
3009
|
-
* @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
|
|
3010
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
3011
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
3012
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
3013
|
-
* @param {number} [maxRefFrames] Optional.
|
|
3014
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
3015
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
3016
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
3017
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
3018
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
3019
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
3020
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
3021
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
3022
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
|
|
3023
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
3024
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
3025
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
3026
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
3027
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
3028
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
3029
|
-
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
3030
|
-
* @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist.
|
|
2868
|
+
* @param {DynamicHlsApiGetMasterHlsVideoPlaylistRequest} requestParameters Request parameters.
|
|
3031
2869
|
* @param {*} [options] Override http request option.
|
|
3032
2870
|
* @throws {RequiredError}
|
|
3033
2871
|
*/
|
|
3034
|
-
getMasterHlsVideoPlaylist(
|
|
3035
|
-
return localVarFp.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).then((request) => request(axios, basePath));
|
|
2872
|
+
getMasterHlsVideoPlaylist(requestParameters, options) {
|
|
2873
|
+
return localVarFp.getMasterHlsVideoPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAdaptiveBitrateStreaming, requestParameters.enableTrickplay, requestParameters.enableAudioVbrEncoding, requestParameters.alwaysBurnInSubtitleWhenTranscoding, options).then((request) => request(axios, basePath));
|
|
3036
2874
|
},
|
|
3037
2875
|
/**
|
|
3038
2876
|
*
|
|
3039
2877
|
* @summary Gets an audio stream using HTTP live streaming.
|
|
3040
|
-
* @param {
|
|
3041
|
-
* @param {boolean} [_static] Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false.
|
|
3042
|
-
* @param {string} [params] The streaming parameters.
|
|
3043
|
-
* @param {string} [tag] The tag.
|
|
3044
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
3045
|
-
* @param {string} [playSessionId] The play session id.
|
|
3046
|
-
* @param {string} [segmentContainer] The segment container.
|
|
3047
|
-
* @param {number} [segmentLength] The segment length.
|
|
3048
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
3049
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
3050
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
3051
|
-
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
|
|
3052
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
3053
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
3054
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
3055
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
3056
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
3057
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
3058
|
-
* @param {number} [maxStreamingBitrate] Optional. The maximum streaming bitrate.
|
|
3059
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
3060
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
3061
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
3062
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
3063
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
3064
|
-
* @param {number} [framerate] Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
3065
|
-
* @param {number} [maxFramerate] Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
3066
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
3067
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
3068
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
3069
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
3070
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
3071
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
3072
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
3073
|
-
* @param {number} [maxRefFrames] Optional.
|
|
3074
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
3075
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
3076
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
3077
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
3078
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
3079
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
3080
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
3081
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
3082
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vpx, wmv.
|
|
3083
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
3084
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
3085
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
3086
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
3087
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
3088
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2878
|
+
* @param {DynamicHlsApiGetVariantHlsAudioPlaylistRequest} requestParameters Request parameters.
|
|
3089
2879
|
* @param {*} [options] Override http request option.
|
|
3090
2880
|
* @throws {RequiredError}
|
|
3091
2881
|
*/
|
|
3092
|
-
getVariantHlsAudioPlaylist(
|
|
3093
|
-
return localVarFp.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).then((request) => request(axios, basePath));
|
|
2882
|
+
getVariantHlsAudioPlaylist(requestParameters, options) {
|
|
2883
|
+
return localVarFp.getVariantHlsAudioPlaylist(requestParameters.itemId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(axios, basePath));
|
|
3094
2884
|
},
|
|
3095
2885
|
/**
|
|
3096
2886
|
*
|
|
3097
2887
|
* @summary Gets a video stream using HTTP live streaming.
|
|
3098
|
-
* @param {
|
|
3099
|
-
* @param {boolean} [_static] Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false.
|
|
3100
|
-
* @param {string} [params] The streaming parameters.
|
|
3101
|
-
* @param {string} [tag] The tag.
|
|
3102
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
3103
|
-
* @param {string} [playSessionId] The play session id.
|
|
3104
|
-
* @param {string} [segmentContainer] The segment container.
|
|
3105
|
-
* @param {number} [segmentLength] The segment length.
|
|
3106
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
3107
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
3108
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
3109
|
-
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
|
|
3110
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
3111
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
3112
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
3113
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
3114
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
3115
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
3116
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
3117
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
3118
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
3119
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
3120
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
3121
|
-
* @param {number} [framerate] Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
3122
|
-
* @param {number} [maxFramerate] Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
3123
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
3124
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
3125
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
3126
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
3127
|
-
* @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
|
|
3128
|
-
* @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
|
|
3129
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
3130
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
3131
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
3132
|
-
* @param {number} [maxRefFrames] Optional.
|
|
3133
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
3134
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
3135
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
3136
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
3137
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
3138
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
3139
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
3140
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
3141
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
|
|
3142
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
3143
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
3144
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
3145
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
3146
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
3147
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2888
|
+
* @param {DynamicHlsApiGetVariantHlsVideoPlaylistRequest} requestParameters Request parameters.
|
|
3148
2889
|
* @param {*} [options] Override http request option.
|
|
3149
2890
|
* @throws {RequiredError}
|
|
3150
2891
|
*/
|
|
3151
|
-
getVariantHlsVideoPlaylist(
|
|
3152
|
-
return localVarFp.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).then((request) => request(axios, basePath));
|
|
2892
|
+
getVariantHlsVideoPlaylist(requestParameters, options) {
|
|
2893
|
+
return localVarFp.getVariantHlsVideoPlaylist(requestParameters.itemId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, requestParameters.alwaysBurnInSubtitleWhenTranscoding, options).then((request) => request(axios, basePath));
|
|
3153
2894
|
},
|
|
3154
2895
|
/**
|
|
3155
2896
|
*
|
|
3156
2897
|
* @summary Gets an audio hls playlist stream.
|
|
3157
|
-
* @param {
|
|
3158
|
-
* @param {string} mediaSourceId The media version id, if playing an alternate version.
|
|
3159
|
-
* @param {boolean} [_static] Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false.
|
|
3160
|
-
* @param {string} [params] The streaming parameters.
|
|
3161
|
-
* @param {string} [tag] The tag.
|
|
3162
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
3163
|
-
* @param {string} [playSessionId] The play session id.
|
|
3164
|
-
* @param {string} [segmentContainer] The segment container.
|
|
3165
|
-
* @param {number} [segmentLength] The segment length.
|
|
3166
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
3167
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
3168
|
-
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
|
|
3169
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
3170
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
3171
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
3172
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
3173
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
3174
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
3175
|
-
* @param {number} [maxStreamingBitrate] Optional. The maximum streaming bitrate.
|
|
3176
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
3177
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
3178
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
3179
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
3180
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
3181
|
-
* @param {number} [framerate] Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
3182
|
-
* @param {number} [maxFramerate] Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
3183
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
3184
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
3185
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
3186
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
3187
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
3188
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
3189
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
3190
|
-
* @param {number} [maxRefFrames] Optional.
|
|
3191
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
3192
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
3193
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
3194
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
3195
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
3196
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
3197
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
3198
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
3199
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
|
|
3200
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
3201
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
3202
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
3203
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
3204
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
3205
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
3206
|
-
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
2898
|
+
* @param {DynamicHlsApiHeadMasterHlsAudioPlaylistRequest} requestParameters Request parameters.
|
|
3207
2899
|
* @param {*} [options] Override http request option.
|
|
3208
2900
|
* @throws {RequiredError}
|
|
3209
2901
|
*/
|
|
3210
|
-
headMasterHlsAudioPlaylist(
|
|
3211
|
-
return localVarFp.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).then((request) => request(axios, basePath));
|
|
2902
|
+
headMasterHlsAudioPlaylist(requestParameters, options) {
|
|
2903
|
+
return localVarFp.headMasterHlsAudioPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAdaptiveBitrateStreaming, requestParameters.enableAudioVbrEncoding, options).then((request) => request(axios, basePath));
|
|
3212
2904
|
},
|
|
3213
2905
|
/**
|
|
3214
2906
|
*
|
|
3215
2907
|
* @summary Gets a video hls playlist stream.
|
|
3216
|
-
* @param {
|
|
3217
|
-
* @param {string} mediaSourceId The media version id, if playing an alternate version.
|
|
3218
|
-
* @param {boolean} [_static] Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false.
|
|
3219
|
-
* @param {string} [params] The streaming parameters.
|
|
3220
|
-
* @param {string} [tag] The tag.
|
|
3221
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
3222
|
-
* @param {string} [playSessionId] The play session id.
|
|
3223
|
-
* @param {string} [segmentContainer] The segment container.
|
|
3224
|
-
* @param {number} [segmentLength] The segment length.
|
|
3225
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
3226
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
3227
|
-
* @param {string} [audioCodec] Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension. Options: aac, mp3, vorbis, wma.
|
|
3228
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
3229
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
3230
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
3231
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
3232
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
3233
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
3234
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
3235
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
3236
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
3237
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
3238
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
3239
|
-
* @param {number} [framerate] Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
3240
|
-
* @param {number} [maxFramerate] Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
3241
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
3242
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
3243
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
3244
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
3245
|
-
* @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
|
|
3246
|
-
* @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
|
|
3247
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
3248
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
3249
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
3250
|
-
* @param {number} [maxRefFrames] Optional.
|
|
3251
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
3252
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
3253
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
3254
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
3255
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
3256
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
3257
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
3258
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
3259
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vp8, vp9, vpx (deprecated), wmv.
|
|
3260
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
3261
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
3262
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
3263
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
3264
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
3265
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
3266
|
-
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
3267
|
-
* @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist.
|
|
2908
|
+
* @param {DynamicHlsApiHeadMasterHlsVideoPlaylistRequest} requestParameters Request parameters.
|
|
3268
2909
|
* @param {*} [options] Override http request option.
|
|
3269
2910
|
* @throws {RequiredError}
|
|
3270
2911
|
*/
|
|
3271
|
-
headMasterHlsVideoPlaylist(
|
|
3272
|
-
return localVarFp.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).then((request) => request(axios, basePath));
|
|
2912
|
+
headMasterHlsVideoPlaylist(requestParameters, options) {
|
|
2913
|
+
return localVarFp.headMasterHlsVideoPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAdaptiveBitrateStreaming, requestParameters.enableTrickplay, requestParameters.enableAudioVbrEncoding, requestParameters.alwaysBurnInSubtitleWhenTranscoding, options).then((request) => request(axios, basePath));
|
|
3273
2914
|
},
|
|
3274
2915
|
};
|
|
3275
2916
|
};
|
|
@@ -3289,7 +2930,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3289
2930
|
* @memberof DynamicHlsApi
|
|
3290
2931
|
*/
|
|
3291
2932
|
getHlsAudioSegment(requestParameters, options) {
|
|
3292
|
-
return DynamicHlsApiFp(this.configuration).getHlsAudioSegment(requestParameters.itemId, requestParameters.playlistId, requestParameters.segmentId, requestParameters.container, requestParameters.runtimeTicks, requestParameters.actualSegmentLengthTicks, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(this.axios, this.basePath));
|
|
2933
|
+
return DynamicHlsApiFp(this.configuration).getHlsAudioSegment(requestParameters.itemId, requestParameters.playlistId, requestParameters.segmentId, requestParameters.container, requestParameters.runtimeTicks, requestParameters.actualSegmentLengthTicks, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(this.axios, this.basePath));
|
|
3293
2934
|
}
|
|
3294
2935
|
/**
|
|
3295
2936
|
*
|
|
@@ -3300,7 +2941,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3300
2941
|
* @memberof DynamicHlsApi
|
|
3301
2942
|
*/
|
|
3302
2943
|
getHlsVideoSegment(requestParameters, options) {
|
|
3303
|
-
return DynamicHlsApiFp(this.configuration).getHlsVideoSegment(requestParameters.itemId, requestParameters.playlistId, requestParameters.segmentId, requestParameters.container, requestParameters.runtimeTicks, requestParameters.actualSegmentLengthTicks, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(this.axios, this.basePath));
|
|
2944
|
+
return DynamicHlsApiFp(this.configuration).getHlsVideoSegment(requestParameters.itemId, requestParameters.playlistId, requestParameters.segmentId, requestParameters.container, requestParameters.runtimeTicks, requestParameters.actualSegmentLengthTicks, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, requestParameters.alwaysBurnInSubtitleWhenTranscoding, options).then((request) => request(this.axios, this.basePath));
|
|
3304
2945
|
}
|
|
3305
2946
|
/**
|
|
3306
2947
|
*
|
|
@@ -3311,7 +2952,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3311
2952
|
* @memberof DynamicHlsApi
|
|
3312
2953
|
*/
|
|
3313
2954
|
getLiveHlsStream(requestParameters, options) {
|
|
3314
|
-
return DynamicHlsApiFp(this.configuration).getLiveHlsStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.enableSubtitlesInManifest, options).then((request) => request(this.axios, this.basePath));
|
|
2955
|
+
return DynamicHlsApiFp(this.configuration).getLiveHlsStream(requestParameters.itemId, requestParameters.container, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.enableSubtitlesInManifest, requestParameters.enableAudioVbrEncoding, requestParameters.alwaysBurnInSubtitleWhenTranscoding, options).then((request) => request(this.axios, this.basePath));
|
|
3315
2956
|
}
|
|
3316
2957
|
/**
|
|
3317
2958
|
*
|
|
@@ -3322,7 +2963,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3322
2963
|
* @memberof DynamicHlsApi
|
|
3323
2964
|
*/
|
|
3324
2965
|
getMasterHlsAudioPlaylist(requestParameters, options) {
|
|
3325
|
-
return DynamicHlsApiFp(this.configuration).getMasterHlsAudioPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAdaptiveBitrateStreaming, options).then((request) => request(this.axios, this.basePath));
|
|
2966
|
+
return DynamicHlsApiFp(this.configuration).getMasterHlsAudioPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAdaptiveBitrateStreaming, requestParameters.enableAudioVbrEncoding, options).then((request) => request(this.axios, this.basePath));
|
|
3326
2967
|
}
|
|
3327
2968
|
/**
|
|
3328
2969
|
*
|
|
@@ -3333,7 +2974,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3333
2974
|
* @memberof DynamicHlsApi
|
|
3334
2975
|
*/
|
|
3335
2976
|
getMasterHlsVideoPlaylist(requestParameters, options) {
|
|
3336
|
-
return DynamicHlsApiFp(this.configuration).getMasterHlsVideoPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAdaptiveBitrateStreaming, requestParameters.enableTrickplay, options).then((request) => request(this.axios, this.basePath));
|
|
2977
|
+
return DynamicHlsApiFp(this.configuration).getMasterHlsVideoPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAdaptiveBitrateStreaming, requestParameters.enableTrickplay, requestParameters.enableAudioVbrEncoding, requestParameters.alwaysBurnInSubtitleWhenTranscoding, options).then((request) => request(this.axios, this.basePath));
|
|
3337
2978
|
}
|
|
3338
2979
|
/**
|
|
3339
2980
|
*
|
|
@@ -3344,7 +2985,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3344
2985
|
* @memberof DynamicHlsApi
|
|
3345
2986
|
*/
|
|
3346
2987
|
getVariantHlsAudioPlaylist(requestParameters, options) {
|
|
3347
|
-
return DynamicHlsApiFp(this.configuration).getVariantHlsAudioPlaylist(requestParameters.itemId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(this.axios, this.basePath));
|
|
2988
|
+
return DynamicHlsApiFp(this.configuration).getVariantHlsAudioPlaylist(requestParameters.itemId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, options).then((request) => request(this.axios, this.basePath));
|
|
3348
2989
|
}
|
|
3349
2990
|
/**
|
|
3350
2991
|
*
|
|
@@ -3355,7 +2996,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3355
2996
|
* @memberof DynamicHlsApi
|
|
3356
2997
|
*/
|
|
3357
2998
|
getVariantHlsVideoPlaylist(requestParameters, options) {
|
|
3358
|
-
return DynamicHlsApiFp(this.configuration).getVariantHlsVideoPlaylist(requestParameters.itemId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, options).then((request) => request(this.axios, this.basePath));
|
|
2999
|
+
return DynamicHlsApiFp(this.configuration).getVariantHlsVideoPlaylist(requestParameters.itemId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.mediaSourceId, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAudioVbrEncoding, requestParameters.alwaysBurnInSubtitleWhenTranscoding, options).then((request) => request(this.axios, this.basePath));
|
|
3359
3000
|
}
|
|
3360
3001
|
/**
|
|
3361
3002
|
*
|
|
@@ -3366,7 +3007,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3366
3007
|
* @memberof DynamicHlsApi
|
|
3367
3008
|
*/
|
|
3368
3009
|
headMasterHlsAudioPlaylist(requestParameters, options) {
|
|
3369
|
-
return DynamicHlsApiFp(this.configuration).headMasterHlsAudioPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAdaptiveBitrateStreaming, options).then((request) => request(this.axios, this.basePath));
|
|
3010
|
+
return DynamicHlsApiFp(this.configuration).headMasterHlsAudioPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.maxStreamingBitrate, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAdaptiveBitrateStreaming, requestParameters.enableAudioVbrEncoding, options).then((request) => request(this.axios, this.basePath));
|
|
3370
3011
|
}
|
|
3371
3012
|
/**
|
|
3372
3013
|
*
|
|
@@ -3377,7 +3018,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3377
3018
|
* @memberof DynamicHlsApi
|
|
3378
3019
|
*/
|
|
3379
3020
|
headMasterHlsVideoPlaylist(requestParameters, options) {
|
|
3380
|
-
return DynamicHlsApiFp(this.configuration).headMasterHlsVideoPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAdaptiveBitrateStreaming, requestParameters.enableTrickplay, options).then((request) => request(this.axios, this.basePath));
|
|
3021
|
+
return DynamicHlsApiFp(this.configuration).headMasterHlsVideoPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAdaptiveBitrateStreaming, requestParameters.enableTrickplay, requestParameters.enableAudioVbrEncoding, requestParameters.alwaysBurnInSubtitleWhenTranscoding, options).then((request) => request(this.axios, this.basePath));
|
|
3381
3022
|
}
|
|
3382
3023
|
}
|
|
3383
3024
|
|