@jellyfin/sdk 0.10.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 +5 -0
- package/lib/api.d.ts +0 -11
- package/lib/api.js +0 -14
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +8 -8
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +19 -10
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +22 -76
- package/lib/generated-client/api/audio-api.d.ts +81 -249
- package/lib/generated-client/api/audio-api.js +93 -245
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +13 -4
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +33 -36
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +10 -7
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +22 -18
- package/lib/generated-client/api/configuration-api.d.ts +28 -29
- package/lib/generated-client/api/configuration-api.js +30 -16
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +15 -9
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +36 -22
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +15 -14
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +233 -573
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +34 -18
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +15 -21
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +15 -27
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +36 -28
- package/lib/generated-client/api/image-api.d.ts +206 -644
- package/lib/generated-client/api/image-api.js +269 -596
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +57 -89
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +78 -47
- package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
- package/lib/generated-client/api/item-refresh-api.js +8 -9
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +22 -15
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +38 -122
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +212 -142
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +54 -40
- package/lib/generated-client/api/live-tv-api.d.ts +224 -332
- package/lib/generated-client/api/live-tv-api.js +273 -258
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +17 -5
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +45 -30
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +45 -52
- 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 +8 -9
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +15 -27
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +37 -23
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +15 -22
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +137 -63
- package/lib/generated-client/api/playstate-api.d.ts +54 -80
- package/lib/generated-client/api/playstate-api.js +64 -63
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +61 -38
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +23 -12
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +22 -20
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +36 -23
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +8 -22
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +104 -83
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +38 -17
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +15 -26
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +68 -69
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +8 -10
- package/lib/generated-client/api/sync-play-api.d.ts +120 -120
- package/lib/generated-client/api/sync-play-api.js +133 -70
- package/lib/generated-client/api/system-api.d.ts +49 -49
- package/lib/generated-client/api/system-api.js +44 -14
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +5 -2
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +5 -2
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +8 -88
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +15 -14
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +29 -62
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +33 -51
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +93 -56
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +71 -60
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +15 -12
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +8 -7
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +114 -266
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +15 -24
- 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 +23 -14
- 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 +2 -2
- 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/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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
2
|
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common.js';
|
|
3
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
@@ -39,7 +39,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
39
39
|
* @param {number} [minSegments] The minimum number of segments.
|
|
40
40
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
41
41
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
42
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
42
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
43
43
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
44
44
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
45
45
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -70,17 +70,18 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
70
70
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
71
71
|
* @param {string} [liveStreamId] The live stream id.
|
|
72
72
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
73
|
-
* @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.
|
|
74
74
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
75
75
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
76
76
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
77
77
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
78
78
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
79
79
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
80
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
80
81
|
* @param {*} [options] Override http request option.
|
|
81
82
|
* @throws {RequiredError}
|
|
82
83
|
*/
|
|
83
|
-
getHlsAudioSegment: async (itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
|
|
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 = {}) => {
|
|
84
85
|
// verify required parameter 'itemId' is not null or undefined
|
|
85
86
|
assertParamExists('getHlsAudioSegment', 'itemId', itemId);
|
|
86
87
|
// verify required parameter 'playlistId' is not null or undefined
|
|
@@ -257,7 +258,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
257
258
|
localVarQueryParameter['context'] = context;
|
|
258
259
|
}
|
|
259
260
|
if (streamOptions !== undefined) {
|
|
260
|
-
|
|
261
|
+
for (const [key, value] of Object.entries(streamOptions)) {
|
|
262
|
+
localVarQueryParameter[key] = value;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
if (enableAudioVbrEncoding !== undefined) {
|
|
266
|
+
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
|
|
261
267
|
}
|
|
262
268
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
263
269
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -286,7 +292,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
286
292
|
* @param {number} [minSegments] The minimum number of segments.
|
|
287
293
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
288
294
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
289
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
295
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
290
296
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
291
297
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
292
298
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -318,17 +324,19 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
318
324
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
319
325
|
* @param {string} [liveStreamId] The live stream id.
|
|
320
326
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
321
|
-
* @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.
|
|
322
328
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
323
329
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
324
330
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
325
331
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
326
332
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
327
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.
|
|
328
336
|
* @param {*} [options] Override http request option.
|
|
329
337
|
* @throws {RequiredError}
|
|
330
338
|
*/
|
|
331
|
-
getHlsVideoSegment: async (itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
|
|
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 = {}) => {
|
|
332
340
|
// verify required parameter 'itemId' is not null or undefined
|
|
333
341
|
assertParamExists('getHlsVideoSegment', 'itemId', itemId);
|
|
334
342
|
// verify required parameter 'playlistId' is not null or undefined
|
|
@@ -508,7 +516,15 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
508
516
|
localVarQueryParameter['context'] = context;
|
|
509
517
|
}
|
|
510
518
|
if (streamOptions !== undefined) {
|
|
511
|
-
|
|
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;
|
|
512
528
|
}
|
|
513
529
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
514
530
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -533,7 +549,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
533
549
|
* @param {number} [minSegments] The minimum number of segments.
|
|
534
550
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
535
551
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
536
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
552
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
537
553
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
538
554
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
539
555
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -563,7 +579,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
563
579
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
564
580
|
* @param {string} [liveStreamId] The live stream id.
|
|
565
581
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
566
|
-
* @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.
|
|
567
583
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
568
584
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
569
585
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -573,10 +589,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
573
589
|
* @param {number} [maxWidth] Optional. The max width.
|
|
574
590
|
* @param {number} [maxHeight] Optional. The max height.
|
|
575
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.
|
|
576
594
|
* @param {*} [options] Override http request option.
|
|
577
595
|
* @throws {RequiredError}
|
|
578
596
|
*/
|
|
579
|
-
getLiveHlsStream: async (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options = {}) => {
|
|
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 = {}) => {
|
|
580
598
|
// verify required parameter 'itemId' is not null or undefined
|
|
581
599
|
assertParamExists('getLiveHlsStream', 'itemId', itemId);
|
|
582
600
|
const localVarPath = `/Videos/{itemId}/live.m3u8`
|
|
@@ -734,7 +752,9 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
734
752
|
localVarQueryParameter['context'] = context;
|
|
735
753
|
}
|
|
736
754
|
if (streamOptions !== undefined) {
|
|
737
|
-
|
|
755
|
+
for (const [key, value] of Object.entries(streamOptions)) {
|
|
756
|
+
localVarQueryParameter[key] = value;
|
|
757
|
+
}
|
|
738
758
|
}
|
|
739
759
|
if (maxWidth !== undefined) {
|
|
740
760
|
localVarQueryParameter['maxWidth'] = maxWidth;
|
|
@@ -745,6 +765,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
745
765
|
if (enableSubtitlesInManifest !== undefined) {
|
|
746
766
|
localVarQueryParameter['enableSubtitlesInManifest'] = enableSubtitlesInManifest;
|
|
747
767
|
}
|
|
768
|
+
if (enableAudioVbrEncoding !== undefined) {
|
|
769
|
+
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
|
|
770
|
+
}
|
|
771
|
+
if (alwaysBurnInSubtitleWhenTranscoding !== undefined) {
|
|
772
|
+
localVarQueryParameter['alwaysBurnInSubtitleWhenTranscoding'] = alwaysBurnInSubtitleWhenTranscoding;
|
|
773
|
+
}
|
|
748
774
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
749
775
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
750
776
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -767,7 +793,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
767
793
|
* @param {number} [segmentLength] The segment length.
|
|
768
794
|
* @param {number} [minSegments] The minimum number of segments.
|
|
769
795
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
770
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
796
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
771
797
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
772
798
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
773
799
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -798,7 +824,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
798
824
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
799
825
|
* @param {string} [liveStreamId] The live stream id.
|
|
800
826
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
801
|
-
* @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.
|
|
802
828
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
803
829
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
804
830
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -806,10 +832,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
806
832
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
807
833
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
808
834
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
835
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
809
836
|
* @param {*} [options] Override http request option.
|
|
810
837
|
* @throws {RequiredError}
|
|
811
838
|
*/
|
|
812
|
-
getMasterHlsAudioPlaylist: async (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options = {}) => {
|
|
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 = {}) => {
|
|
813
840
|
// verify required parameter 'itemId' is not null or undefined
|
|
814
841
|
assertParamExists('getMasterHlsAudioPlaylist', 'itemId', itemId);
|
|
815
842
|
// verify required parameter 'mediaSourceId' is not null or undefined
|
|
@@ -969,11 +996,16 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
969
996
|
localVarQueryParameter['context'] = context;
|
|
970
997
|
}
|
|
971
998
|
if (streamOptions !== undefined) {
|
|
972
|
-
|
|
999
|
+
for (const [key, value] of Object.entries(streamOptions)) {
|
|
1000
|
+
localVarQueryParameter[key] = value;
|
|
1001
|
+
}
|
|
973
1002
|
}
|
|
974
1003
|
if (enableAdaptiveBitrateStreaming !== undefined) {
|
|
975
1004
|
localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming;
|
|
976
1005
|
}
|
|
1006
|
+
if (enableAudioVbrEncoding !== undefined) {
|
|
1007
|
+
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
|
|
1008
|
+
}
|
|
977
1009
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
978
1010
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
979
1011
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -996,7 +1028,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
996
1028
|
* @param {number} [segmentLength] The segment length.
|
|
997
1029
|
* @param {number} [minSegments] The minimum number of segments.
|
|
998
1030
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
999
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
1031
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
1000
1032
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1001
1033
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1002
1034
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -1028,7 +1060,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1028
1060
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1029
1061
|
* @param {string} [liveStreamId] The live stream id.
|
|
1030
1062
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1031
|
-
* @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.
|
|
1032
1064
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1033
1065
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1034
1066
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -1037,10 +1069,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1037
1069
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1038
1070
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
1039
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.
|
|
1040
1074
|
* @param {*} [options] Override http request option.
|
|
1041
1075
|
* @throws {RequiredError}
|
|
1042
1076
|
*/
|
|
1043
|
-
getMasterHlsVideoPlaylist: async (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options = {}) => {
|
|
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 = {}) => {
|
|
1044
1078
|
// verify required parameter 'itemId' is not null or undefined
|
|
1045
1079
|
assertParamExists('getMasterHlsVideoPlaylist', 'itemId', itemId);
|
|
1046
1080
|
// verify required parameter 'mediaSourceId' is not null or undefined
|
|
@@ -1203,7 +1237,9 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1203
1237
|
localVarQueryParameter['context'] = context;
|
|
1204
1238
|
}
|
|
1205
1239
|
if (streamOptions !== undefined) {
|
|
1206
|
-
|
|
1240
|
+
for (const [key, value] of Object.entries(streamOptions)) {
|
|
1241
|
+
localVarQueryParameter[key] = value;
|
|
1242
|
+
}
|
|
1207
1243
|
}
|
|
1208
1244
|
if (enableAdaptiveBitrateStreaming !== undefined) {
|
|
1209
1245
|
localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming;
|
|
@@ -1211,6 +1247,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1211
1247
|
if (enableTrickplay !== undefined) {
|
|
1212
1248
|
localVarQueryParameter['enableTrickplay'] = enableTrickplay;
|
|
1213
1249
|
}
|
|
1250
|
+
if (enableAudioVbrEncoding !== undefined) {
|
|
1251
|
+
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
|
|
1252
|
+
}
|
|
1253
|
+
if (alwaysBurnInSubtitleWhenTranscoding !== undefined) {
|
|
1254
|
+
localVarQueryParameter['alwaysBurnInSubtitleWhenTranscoding'] = alwaysBurnInSubtitleWhenTranscoding;
|
|
1255
|
+
}
|
|
1214
1256
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1215
1257
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1216
1258
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1233,7 +1275,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1233
1275
|
* @param {number} [minSegments] The minimum number of segments.
|
|
1234
1276
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
1235
1277
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1236
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
1278
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
1237
1279
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1238
1280
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1239
1281
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -1264,17 +1306,18 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1264
1306
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1265
1307
|
* @param {string} [liveStreamId] The live stream id.
|
|
1266
1308
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1267
|
-
* @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.
|
|
1268
1310
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1269
1311
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1270
1312
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
1271
1313
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
1272
1314
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1273
1315
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1316
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
1274
1317
|
* @param {*} [options] Override http request option.
|
|
1275
1318
|
* @throws {RequiredError}
|
|
1276
1319
|
*/
|
|
1277
|
-
getVariantHlsAudioPlaylist: async (itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
|
|
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 = {}) => {
|
|
1278
1321
|
// verify required parameter 'itemId' is not null or undefined
|
|
1279
1322
|
assertParamExists('getVariantHlsAudioPlaylist', 'itemId', itemId);
|
|
1280
1323
|
const localVarPath = `/Audio/{itemId}/main.m3u8`
|
|
@@ -1432,7 +1475,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1432
1475
|
localVarQueryParameter['context'] = context;
|
|
1433
1476
|
}
|
|
1434
1477
|
if (streamOptions !== undefined) {
|
|
1435
|
-
|
|
1478
|
+
for (const [key, value] of Object.entries(streamOptions)) {
|
|
1479
|
+
localVarQueryParameter[key] = value;
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
if (enableAudioVbrEncoding !== undefined) {
|
|
1483
|
+
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
|
|
1436
1484
|
}
|
|
1437
1485
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1438
1486
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1456,7 +1504,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1456
1504
|
* @param {number} [minSegments] The minimum number of segments.
|
|
1457
1505
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
1458
1506
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1459
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
1507
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
1460
1508
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1461
1509
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1462
1510
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -1488,17 +1536,19 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1488
1536
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1489
1537
|
* @param {string} [liveStreamId] The live stream id.
|
|
1490
1538
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1491
|
-
* @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.
|
|
1492
1540
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1493
1541
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1494
1542
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
1495
1543
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
1496
1544
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1497
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.
|
|
1498
1548
|
* @param {*} [options] Override http request option.
|
|
1499
1549
|
* @throws {RequiredError}
|
|
1500
1550
|
*/
|
|
1501
|
-
getVariantHlsVideoPlaylist: async (itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
|
|
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 = {}) => {
|
|
1502
1552
|
// verify required parameter 'itemId' is not null or undefined
|
|
1503
1553
|
assertParamExists('getVariantHlsVideoPlaylist', 'itemId', itemId);
|
|
1504
1554
|
const localVarPath = `/Videos/{itemId}/main.m3u8`
|
|
@@ -1659,7 +1709,15 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1659
1709
|
localVarQueryParameter['context'] = context;
|
|
1660
1710
|
}
|
|
1661
1711
|
if (streamOptions !== undefined) {
|
|
1662
|
-
|
|
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;
|
|
1663
1721
|
}
|
|
1664
1722
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1665
1723
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1683,7 +1741,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1683
1741
|
* @param {number} [segmentLength] The segment length.
|
|
1684
1742
|
* @param {number} [minSegments] The minimum number of segments.
|
|
1685
1743
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1686
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
1744
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
1687
1745
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1688
1746
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1689
1747
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -1714,7 +1772,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1714
1772
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1715
1773
|
* @param {string} [liveStreamId] The live stream id.
|
|
1716
1774
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1717
|
-
* @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.
|
|
1718
1776
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1719
1777
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1720
1778
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -1722,10 +1780,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1722
1780
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1723
1781
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1724
1782
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
1783
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
1725
1784
|
* @param {*} [options] Override http request option.
|
|
1726
1785
|
* @throws {RequiredError}
|
|
1727
1786
|
*/
|
|
1728
|
-
headMasterHlsAudioPlaylist: async (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options = {}) => {
|
|
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 = {}) => {
|
|
1729
1788
|
// verify required parameter 'itemId' is not null or undefined
|
|
1730
1789
|
assertParamExists('headMasterHlsAudioPlaylist', 'itemId', itemId);
|
|
1731
1790
|
// verify required parameter 'mediaSourceId' is not null or undefined
|
|
@@ -1885,11 +1944,16 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1885
1944
|
localVarQueryParameter['context'] = context;
|
|
1886
1945
|
}
|
|
1887
1946
|
if (streamOptions !== undefined) {
|
|
1888
|
-
|
|
1947
|
+
for (const [key, value] of Object.entries(streamOptions)) {
|
|
1948
|
+
localVarQueryParameter[key] = value;
|
|
1949
|
+
}
|
|
1889
1950
|
}
|
|
1890
1951
|
if (enableAdaptiveBitrateStreaming !== undefined) {
|
|
1891
1952
|
localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming;
|
|
1892
1953
|
}
|
|
1954
|
+
if (enableAudioVbrEncoding !== undefined) {
|
|
1955
|
+
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
|
|
1956
|
+
}
|
|
1893
1957
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1894
1958
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1895
1959
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1912,7 +1976,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1912
1976
|
* @param {number} [segmentLength] The segment length.
|
|
1913
1977
|
* @param {number} [minSegments] The minimum number of segments.
|
|
1914
1978
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1915
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
1979
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
1916
1980
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1917
1981
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1918
1982
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -1944,7 +2008,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1944
2008
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1945
2009
|
* @param {string} [liveStreamId] The live stream id.
|
|
1946
2010
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1947
|
-
* @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.
|
|
1948
2012
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1949
2013
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1950
2014
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -1953,10 +2017,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
1953
2017
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1954
2018
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
1955
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.
|
|
1956
2022
|
* @param {*} [options] Override http request option.
|
|
1957
2023
|
* @throws {RequiredError}
|
|
1958
2024
|
*/
|
|
1959
|
-
headMasterHlsVideoPlaylist: async (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options = {}) => {
|
|
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 = {}) => {
|
|
1960
2026
|
// verify required parameter 'itemId' is not null or undefined
|
|
1961
2027
|
assertParamExists('headMasterHlsVideoPlaylist', 'itemId', itemId);
|
|
1962
2028
|
// verify required parameter 'mediaSourceId' is not null or undefined
|
|
@@ -2119,7 +2185,9 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
2119
2185
|
localVarQueryParameter['context'] = context;
|
|
2120
2186
|
}
|
|
2121
2187
|
if (streamOptions !== undefined) {
|
|
2122
|
-
|
|
2188
|
+
for (const [key, value] of Object.entries(streamOptions)) {
|
|
2189
|
+
localVarQueryParameter[key] = value;
|
|
2190
|
+
}
|
|
2123
2191
|
}
|
|
2124
2192
|
if (enableAdaptiveBitrateStreaming !== undefined) {
|
|
2125
2193
|
localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming;
|
|
@@ -2127,6 +2195,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
|
|
|
2127
2195
|
if (enableTrickplay !== undefined) {
|
|
2128
2196
|
localVarQueryParameter['enableTrickplay'] = enableTrickplay;
|
|
2129
2197
|
}
|
|
2198
|
+
if (enableAudioVbrEncoding !== undefined) {
|
|
2199
|
+
localVarQueryParameter['enableAudioVbrEncoding'] = enableAudioVbrEncoding;
|
|
2200
|
+
}
|
|
2201
|
+
if (alwaysBurnInSubtitleWhenTranscoding !== undefined) {
|
|
2202
|
+
localVarQueryParameter['alwaysBurnInSubtitleWhenTranscoding'] = alwaysBurnInSubtitleWhenTranscoding;
|
|
2203
|
+
}
|
|
2130
2204
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2131
2205
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2132
2206
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2163,7 +2237,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2163
2237
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2164
2238
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
2165
2239
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2166
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2240
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2167
2241
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2168
2242
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2169
2243
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2194,19 +2268,23 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2194
2268
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2195
2269
|
* @param {string} [liveStreamId] The live stream id.
|
|
2196
2270
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2197
|
-
* @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.
|
|
2198
2272
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2199
2273
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2200
2274
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
2201
2275
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
2202
2276
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2203
2277
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2278
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
2204
2279
|
* @param {*} [options] Override http request option.
|
|
2205
2280
|
* @throws {RequiredError}
|
|
2206
2281
|
*/
|
|
2207
|
-
async getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
|
|
2208
|
-
|
|
2209
|
-
|
|
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);
|
|
2210
2288
|
},
|
|
2211
2289
|
/**
|
|
2212
2290
|
*
|
|
@@ -2227,7 +2305,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2227
2305
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2228
2306
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
2229
2307
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2230
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2308
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2231
2309
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2232
2310
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2233
2311
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2259,19 +2337,24 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2259
2337
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2260
2338
|
* @param {string} [liveStreamId] The live stream id.
|
|
2261
2339
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2262
|
-
* @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.
|
|
2263
2341
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2264
2342
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2265
2343
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
2266
2344
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
2267
2345
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2268
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.
|
|
2269
2349
|
* @param {*} [options] Override http request option.
|
|
2270
2350
|
* @throws {RequiredError}
|
|
2271
2351
|
*/
|
|
2272
|
-
async getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
|
|
2273
|
-
|
|
2274
|
-
|
|
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);
|
|
2275
2358
|
},
|
|
2276
2359
|
/**
|
|
2277
2360
|
*
|
|
@@ -2288,7 +2371,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2288
2371
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2289
2372
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
2290
2373
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2291
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2374
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2292
2375
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2293
2376
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2294
2377
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2318,7 +2401,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2318
2401
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2319
2402
|
* @param {string} [liveStreamId] The live stream id.
|
|
2320
2403
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2321
|
-
* @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.
|
|
2322
2405
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2323
2406
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2324
2407
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -2328,12 +2411,17 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2328
2411
|
* @param {number} [maxWidth] Optional. The max width.
|
|
2329
2412
|
* @param {number} [maxHeight] Optional. The max height.
|
|
2330
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.
|
|
2331
2416
|
* @param {*} [options] Override http request option.
|
|
2332
2417
|
* @throws {RequiredError}
|
|
2333
2418
|
*/
|
|
2334
|
-
async getLiveHlsStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options) {
|
|
2335
|
-
|
|
2336
|
-
|
|
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);
|
|
2337
2425
|
},
|
|
2338
2426
|
/**
|
|
2339
2427
|
*
|
|
@@ -2349,7 +2437,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2349
2437
|
* @param {number} [segmentLength] The segment length.
|
|
2350
2438
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2351
2439
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2352
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2440
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2353
2441
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2354
2442
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2355
2443
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2380,7 +2468,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2380
2468
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2381
2469
|
* @param {string} [liveStreamId] The live stream id.
|
|
2382
2470
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2383
|
-
* @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.
|
|
2384
2472
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2385
2473
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2386
2474
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -2388,12 +2476,16 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2388
2476
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2389
2477
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2390
2478
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
2479
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
2391
2480
|
* @param {*} [options] Override http request option.
|
|
2392
2481
|
* @throws {RequiredError}
|
|
2393
2482
|
*/
|
|
2394
|
-
async getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
|
|
2395
|
-
|
|
2396
|
-
|
|
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);
|
|
2397
2489
|
},
|
|
2398
2490
|
/**
|
|
2399
2491
|
*
|
|
@@ -2409,7 +2501,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2409
2501
|
* @param {number} [segmentLength] The segment length.
|
|
2410
2502
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2411
2503
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2412
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2504
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2413
2505
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2414
2506
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2415
2507
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2441,7 +2533,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2441
2533
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2442
2534
|
* @param {string} [liveStreamId] The live stream id.
|
|
2443
2535
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2444
|
-
* @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.
|
|
2445
2537
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2446
2538
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2447
2539
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -2450,12 +2542,17 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2450
2542
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2451
2543
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
2452
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.
|
|
2453
2547
|
* @param {*} [options] Override http request option.
|
|
2454
2548
|
* @throws {RequiredError}
|
|
2455
2549
|
*/
|
|
2456
|
-
async getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options) {
|
|
2457
|
-
|
|
2458
|
-
|
|
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);
|
|
2459
2556
|
},
|
|
2460
2557
|
/**
|
|
2461
2558
|
*
|
|
@@ -2471,7 +2568,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2471
2568
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2472
2569
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
2473
2570
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2474
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2571
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2475
2572
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2476
2573
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2477
2574
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2502,19 +2599,23 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2502
2599
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2503
2600
|
* @param {string} [liveStreamId] The live stream id.
|
|
2504
2601
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2505
|
-
* @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.
|
|
2506
2603
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2507
2604
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2508
2605
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
2509
2606
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
2510
2607
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2511
2608
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2609
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
2512
2610
|
* @param {*} [options] Override http request option.
|
|
2513
2611
|
* @throws {RequiredError}
|
|
2514
2612
|
*/
|
|
2515
|
-
async getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
|
|
2516
|
-
|
|
2517
|
-
|
|
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);
|
|
2518
2619
|
},
|
|
2519
2620
|
/**
|
|
2520
2621
|
*
|
|
@@ -2530,7 +2631,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2530
2631
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2531
2632
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
2532
2633
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2533
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2634
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2534
2635
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2535
2636
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2536
2637
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2562,19 +2663,24 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2562
2663
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2563
2664
|
* @param {string} [liveStreamId] The live stream id.
|
|
2564
2665
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2565
|
-
* @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.
|
|
2566
2667
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2567
2668
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2568
2669
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
2569
2670
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
2570
2671
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2571
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.
|
|
2572
2675
|
* @param {*} [options] Override http request option.
|
|
2573
2676
|
* @throws {RequiredError}
|
|
2574
2677
|
*/
|
|
2575
|
-
async getVariantHlsVideoPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
|
|
2576
|
-
|
|
2577
|
-
|
|
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);
|
|
2578
2684
|
},
|
|
2579
2685
|
/**
|
|
2580
2686
|
*
|
|
@@ -2590,7 +2696,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2590
2696
|
* @param {number} [segmentLength] The segment length.
|
|
2591
2697
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2592
2698
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2593
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2699
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2594
2700
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2595
2701
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2596
2702
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2621,7 +2727,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2621
2727
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2622
2728
|
* @param {string} [liveStreamId] The live stream id.
|
|
2623
2729
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2624
|
-
* @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.
|
|
2625
2731
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2626
2732
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2627
2733
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -2629,12 +2735,16 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2629
2735
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2630
2736
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2631
2737
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
2738
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
2632
2739
|
* @param {*} [options] Override http request option.
|
|
2633
2740
|
* @throws {RequiredError}
|
|
2634
2741
|
*/
|
|
2635
|
-
async headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
|
|
2636
|
-
|
|
2637
|
-
|
|
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);
|
|
2638
2748
|
},
|
|
2639
2749
|
/**
|
|
2640
2750
|
*
|
|
@@ -2650,7 +2760,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2650
2760
|
* @param {number} [segmentLength] The segment length.
|
|
2651
2761
|
* @param {number} [minSegments] The minimum number of segments.
|
|
2652
2762
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2653
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
2763
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2654
2764
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2655
2765
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2656
2766
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -2682,7 +2792,7 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2682
2792
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2683
2793
|
* @param {string} [liveStreamId] The live stream id.
|
|
2684
2794
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2685
|
-
* @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.
|
|
2686
2796
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2687
2797
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2688
2798
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -2691,12 +2801,17 @@ const DynamicHlsApiFp = function (configuration) {
|
|
|
2691
2801
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2692
2802
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
2693
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.
|
|
2694
2806
|
* @param {*} [options] Override http request option.
|
|
2695
2807
|
* @throws {RequiredError}
|
|
2696
2808
|
*/
|
|
2697
|
-
async headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options) {
|
|
2698
|
-
|
|
2699
|
-
|
|
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);
|
|
2700
2815
|
},
|
|
2701
2816
|
};
|
|
2702
2817
|
};
|
|
@@ -2710,547 +2825,92 @@ const DynamicHlsApiFactory = function (configuration, basePath, axios) {
|
|
|
2710
2825
|
/**
|
|
2711
2826
|
*
|
|
2712
2827
|
* @summary Gets a video stream using HTTP live streaming.
|
|
2713
|
-
* @param {
|
|
2714
|
-
* @param {string} playlistId The playlist id.
|
|
2715
|
-
* @param {number} segmentId The segment id.
|
|
2716
|
-
* @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.
|
|
2717
|
-
* @param {number} runtimeTicks The position of the requested segment in ticks.
|
|
2718
|
-
* @param {number} actualSegmentLengthTicks The length of the requested segment in ticks.
|
|
2719
|
-
* @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.
|
|
2720
|
-
* @param {string} [params] The streaming parameters.
|
|
2721
|
-
* @param {string} [tag] The tag.
|
|
2722
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
2723
|
-
* @param {string} [playSessionId] The play session id.
|
|
2724
|
-
* @param {string} [segmentContainer] The segment container.
|
|
2725
|
-
* @param {number} [segmentLength] The segment length.
|
|
2726
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
2727
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
2728
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2729
|
-
* @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.
|
|
2730
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2731
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2732
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
2733
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
2734
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
2735
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
2736
|
-
* @param {number} [maxStreamingBitrate] Optional. The maximum streaming bitrate.
|
|
2737
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
2738
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
2739
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
2740
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
2741
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
2742
|
-
* @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.
|
|
2743
|
-
* @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.
|
|
2744
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
2745
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
2746
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
2747
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
2748
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
2749
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
2750
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
2751
|
-
* @param {number} [maxRefFrames] Optional.
|
|
2752
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
2753
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
2754
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
2755
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
2756
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
2757
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2758
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
2759
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2760
|
-
* @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.
|
|
2761
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2762
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2763
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
2764
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
2765
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2766
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2828
|
+
* @param {DynamicHlsApiGetHlsAudioSegmentRequest} requestParameters Request parameters.
|
|
2767
2829
|
* @param {*} [options] Override http request option.
|
|
2768
2830
|
* @throws {RequiredError}
|
|
2769
2831
|
*/
|
|
2770
|
-
getHlsAudioSegment(
|
|
2771
|
-
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));
|
|
2772
2834
|
},
|
|
2773
2835
|
/**
|
|
2774
2836
|
*
|
|
2775
2837
|
* @summary Gets a video stream using HTTP live streaming.
|
|
2776
|
-
* @param {
|
|
2777
|
-
* @param {string} playlistId The playlist id.
|
|
2778
|
-
* @param {number} segmentId The segment id.
|
|
2779
|
-
* @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.
|
|
2780
|
-
* @param {number} runtimeTicks The position of the requested segment in ticks.
|
|
2781
|
-
* @param {number} actualSegmentLengthTicks The length of the requested segment in ticks.
|
|
2782
|
-
* @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.
|
|
2783
|
-
* @param {string} [params] The streaming parameters.
|
|
2784
|
-
* @param {string} [tag] The tag.
|
|
2785
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
2786
|
-
* @param {string} [playSessionId] The play session id.
|
|
2787
|
-
* @param {string} [segmentContainer] The segment container.
|
|
2788
|
-
* @param {number} [segmentLength] The desired segment length.
|
|
2789
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
2790
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
2791
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2792
|
-
* @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.
|
|
2793
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2794
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2795
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
2796
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
2797
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
2798
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
2799
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
2800
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
2801
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
2802
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
2803
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
2804
|
-
* @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.
|
|
2805
|
-
* @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.
|
|
2806
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
2807
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
2808
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
2809
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
2810
|
-
* @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
|
|
2811
|
-
* @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
|
|
2812
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
2813
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
2814
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
2815
|
-
* @param {number} [maxRefFrames] Optional.
|
|
2816
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
2817
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
2818
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
2819
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
2820
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
2821
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2822
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
2823
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2824
|
-
* @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.
|
|
2825
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2826
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2827
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
2828
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
2829
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2830
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2838
|
+
* @param {DynamicHlsApiGetHlsVideoSegmentRequest} requestParameters Request parameters.
|
|
2831
2839
|
* @param {*} [options] Override http request option.
|
|
2832
2840
|
* @throws {RequiredError}
|
|
2833
2841
|
*/
|
|
2834
|
-
getHlsVideoSegment(
|
|
2835
|
-
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));
|
|
2836
2844
|
},
|
|
2837
2845
|
/**
|
|
2838
2846
|
*
|
|
2839
2847
|
* @summary Gets a hls live stream.
|
|
2840
|
-
* @param {
|
|
2841
|
-
* @param {string} [container] The audio container.
|
|
2842
|
-
* @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.
|
|
2843
|
-
* @param {string} [params] The streaming parameters.
|
|
2844
|
-
* @param {string} [tag] The tag.
|
|
2845
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
2846
|
-
* @param {string} [playSessionId] The play session id.
|
|
2847
|
-
* @param {string} [segmentContainer] The segment container.
|
|
2848
|
-
* @param {number} [segmentLength] The segment length.
|
|
2849
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
2850
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
2851
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2852
|
-
* @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.
|
|
2853
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2854
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2855
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
2856
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
2857
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
2858
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
2859
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
2860
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
2861
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
2862
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
2863
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
2864
|
-
* @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.
|
|
2865
|
-
* @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.
|
|
2866
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
2867
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
2868
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
2869
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
2870
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
2871
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
2872
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
2873
|
-
* @param {number} [maxRefFrames] Optional.
|
|
2874
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
2875
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
2876
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
2877
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
2878
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
2879
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2880
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
2881
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2882
|
-
* @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.
|
|
2883
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2884
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2885
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
2886
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
2887
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2888
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2889
|
-
* @param {number} [maxWidth] Optional. The max width.
|
|
2890
|
-
* @param {number} [maxHeight] Optional. The max height.
|
|
2891
|
-
* @param {boolean} [enableSubtitlesInManifest] Optional. Whether to enable subtitles in the manifest.
|
|
2848
|
+
* @param {DynamicHlsApiGetLiveHlsStreamRequest} requestParameters Request parameters.
|
|
2892
2849
|
* @param {*} [options] Override http request option.
|
|
2893
2850
|
* @throws {RequiredError}
|
|
2894
2851
|
*/
|
|
2895
|
-
getLiveHlsStream(
|
|
2896
|
-
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));
|
|
2897
2854
|
},
|
|
2898
2855
|
/**
|
|
2899
2856
|
*
|
|
2900
2857
|
* @summary Gets an audio hls playlist stream.
|
|
2901
|
-
* @param {
|
|
2902
|
-
* @param {string} mediaSourceId The media version id, if playing an alternate version.
|
|
2903
|
-
* @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.
|
|
2904
|
-
* @param {string} [params] The streaming parameters.
|
|
2905
|
-
* @param {string} [tag] The tag.
|
|
2906
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
2907
|
-
* @param {string} [playSessionId] The play session id.
|
|
2908
|
-
* @param {string} [segmentContainer] The segment container.
|
|
2909
|
-
* @param {number} [segmentLength] The segment length.
|
|
2910
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
2911
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2912
|
-
* @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.
|
|
2913
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2914
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2915
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
2916
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
2917
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
2918
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
2919
|
-
* @param {number} [maxStreamingBitrate] Optional. The maximum streaming bitrate.
|
|
2920
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
2921
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
2922
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
2923
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
2924
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
2925
|
-
* @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.
|
|
2926
|
-
* @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.
|
|
2927
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
2928
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
2929
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
2930
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
2931
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
2932
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
2933
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
2934
|
-
* @param {number} [maxRefFrames] Optional.
|
|
2935
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
2936
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
2937
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
2938
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
2939
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
2940
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
2941
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
2942
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
2943
|
-
* @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.
|
|
2944
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
2945
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
2946
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
2947
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
2948
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
2949
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2950
|
-
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
2858
|
+
* @param {DynamicHlsApiGetMasterHlsAudioPlaylistRequest} requestParameters Request parameters.
|
|
2951
2859
|
* @param {*} [options] Override http request option.
|
|
2952
2860
|
* @throws {RequiredError}
|
|
2953
2861
|
*/
|
|
2954
|
-
getMasterHlsAudioPlaylist(
|
|
2955
|
-
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));
|
|
2956
2864
|
},
|
|
2957
2865
|
/**
|
|
2958
2866
|
*
|
|
2959
2867
|
* @summary Gets a video hls playlist stream.
|
|
2960
|
-
* @param {
|
|
2961
|
-
* @param {string} mediaSourceId The media version id, if playing an alternate version.
|
|
2962
|
-
* @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.
|
|
2963
|
-
* @param {string} [params] The streaming parameters.
|
|
2964
|
-
* @param {string} [tag] The tag.
|
|
2965
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
2966
|
-
* @param {string} [playSessionId] The play session id.
|
|
2967
|
-
* @param {string} [segmentContainer] The segment container.
|
|
2968
|
-
* @param {number} [segmentLength] The segment length.
|
|
2969
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
2970
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
2971
|
-
* @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.
|
|
2972
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
2973
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
2974
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
2975
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
2976
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
2977
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
2978
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
2979
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
2980
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
2981
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
2982
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
2983
|
-
* @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.
|
|
2984
|
-
* @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.
|
|
2985
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
2986
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
2987
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
2988
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
2989
|
-
* @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
|
|
2990
|
-
* @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
|
|
2991
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
2992
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
2993
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
2994
|
-
* @param {number} [maxRefFrames] Optional.
|
|
2995
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
2996
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
2997
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
2998
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
2999
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
3000
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
3001
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
3002
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
3003
|
-
* @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.
|
|
3004
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
3005
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
3006
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
3007
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
3008
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
3009
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
3010
|
-
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
3011
|
-
* @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist.
|
|
2868
|
+
* @param {DynamicHlsApiGetMasterHlsVideoPlaylistRequest} requestParameters Request parameters.
|
|
3012
2869
|
* @param {*} [options] Override http request option.
|
|
3013
2870
|
* @throws {RequiredError}
|
|
3014
2871
|
*/
|
|
3015
|
-
getMasterHlsVideoPlaylist(
|
|
3016
|
-
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));
|
|
3017
2874
|
},
|
|
3018
2875
|
/**
|
|
3019
2876
|
*
|
|
3020
2877
|
* @summary Gets an audio stream using HTTP live streaming.
|
|
3021
|
-
* @param {
|
|
3022
|
-
* @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.
|
|
3023
|
-
* @param {string} [params] The streaming parameters.
|
|
3024
|
-
* @param {string} [tag] The tag.
|
|
3025
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
3026
|
-
* @param {string} [playSessionId] The play session id.
|
|
3027
|
-
* @param {string} [segmentContainer] The segment container.
|
|
3028
|
-
* @param {number} [segmentLength] The segment length.
|
|
3029
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
3030
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
3031
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
3032
|
-
* @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.
|
|
3033
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
3034
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
3035
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
3036
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
3037
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
3038
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
3039
|
-
* @param {number} [maxStreamingBitrate] Optional. The maximum streaming bitrate.
|
|
3040
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
3041
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
3042
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
3043
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
3044
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
3045
|
-
* @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.
|
|
3046
|
-
* @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.
|
|
3047
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
3048
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
3049
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
3050
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
3051
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
3052
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
3053
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
3054
|
-
* @param {number} [maxRefFrames] Optional.
|
|
3055
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
3056
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
3057
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
3058
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
3059
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
3060
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
3061
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
3062
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
3063
|
-
* @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.
|
|
3064
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
3065
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
3066
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
3067
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
3068
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
3069
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2878
|
+
* @param {DynamicHlsApiGetVariantHlsAudioPlaylistRequest} requestParameters Request parameters.
|
|
3070
2879
|
* @param {*} [options] Override http request option.
|
|
3071
2880
|
* @throws {RequiredError}
|
|
3072
2881
|
*/
|
|
3073
|
-
getVariantHlsAudioPlaylist(
|
|
3074
|
-
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));
|
|
3075
2884
|
},
|
|
3076
2885
|
/**
|
|
3077
2886
|
*
|
|
3078
2887
|
* @summary Gets a video stream using HTTP live streaming.
|
|
3079
|
-
* @param {
|
|
3080
|
-
* @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.
|
|
3081
|
-
* @param {string} [params] The streaming parameters.
|
|
3082
|
-
* @param {string} [tag] The tag.
|
|
3083
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
3084
|
-
* @param {string} [playSessionId] The play session id.
|
|
3085
|
-
* @param {string} [segmentContainer] The segment container.
|
|
3086
|
-
* @param {number} [segmentLength] The segment length.
|
|
3087
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
3088
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
3089
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
3090
|
-
* @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.
|
|
3091
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
3092
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
3093
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
3094
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
3095
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
3096
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
3097
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
3098
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
3099
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
3100
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
3101
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
3102
|
-
* @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.
|
|
3103
|
-
* @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.
|
|
3104
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
3105
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
3106
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
3107
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
3108
|
-
* @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
|
|
3109
|
-
* @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
|
|
3110
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
3111
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
3112
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
3113
|
-
* @param {number} [maxRefFrames] Optional.
|
|
3114
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
3115
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
3116
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
3117
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
3118
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
3119
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
3120
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
3121
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
3122
|
-
* @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.
|
|
3123
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
3124
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
3125
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
3126
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
3127
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
3128
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
2888
|
+
* @param {DynamicHlsApiGetVariantHlsVideoPlaylistRequest} requestParameters Request parameters.
|
|
3129
2889
|
* @param {*} [options] Override http request option.
|
|
3130
2890
|
* @throws {RequiredError}
|
|
3131
2891
|
*/
|
|
3132
|
-
getVariantHlsVideoPlaylist(
|
|
3133
|
-
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));
|
|
3134
2894
|
},
|
|
3135
2895
|
/**
|
|
3136
2896
|
*
|
|
3137
2897
|
* @summary Gets an audio hls playlist stream.
|
|
3138
|
-
* @param {
|
|
3139
|
-
* @param {string} mediaSourceId The media version id, if playing an alternate version.
|
|
3140
|
-
* @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.
|
|
3141
|
-
* @param {string} [params] The streaming parameters.
|
|
3142
|
-
* @param {string} [tag] The tag.
|
|
3143
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
3144
|
-
* @param {string} [playSessionId] The play session id.
|
|
3145
|
-
* @param {string} [segmentContainer] The segment container.
|
|
3146
|
-
* @param {number} [segmentLength] The segment length.
|
|
3147
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
3148
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
3149
|
-
* @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.
|
|
3150
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
3151
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
3152
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
3153
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
3154
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
3155
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
3156
|
-
* @param {number} [maxStreamingBitrate] Optional. The maximum streaming bitrate.
|
|
3157
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
3158
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
3159
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
3160
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
3161
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
3162
|
-
* @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.
|
|
3163
|
-
* @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.
|
|
3164
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
3165
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
3166
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
3167
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
3168
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
3169
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
3170
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
3171
|
-
* @param {number} [maxRefFrames] Optional.
|
|
3172
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
3173
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
3174
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
3175
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
3176
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
3177
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
3178
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
3179
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
3180
|
-
* @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.
|
|
3181
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
3182
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
3183
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
3184
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
3185
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
3186
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
3187
|
-
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
2898
|
+
* @param {DynamicHlsApiHeadMasterHlsAudioPlaylistRequest} requestParameters Request parameters.
|
|
3188
2899
|
* @param {*} [options] Override http request option.
|
|
3189
2900
|
* @throws {RequiredError}
|
|
3190
2901
|
*/
|
|
3191
|
-
headMasterHlsAudioPlaylist(
|
|
3192
|
-
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));
|
|
3193
2904
|
},
|
|
3194
2905
|
/**
|
|
3195
2906
|
*
|
|
3196
2907
|
* @summary Gets a video hls playlist stream.
|
|
3197
|
-
* @param {
|
|
3198
|
-
* @param {string} mediaSourceId The media version id, if playing an alternate version.
|
|
3199
|
-
* @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.
|
|
3200
|
-
* @param {string} [params] The streaming parameters.
|
|
3201
|
-
* @param {string} [tag] The tag.
|
|
3202
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
3203
|
-
* @param {string} [playSessionId] The play session id.
|
|
3204
|
-
* @param {string} [segmentContainer] The segment container.
|
|
3205
|
-
* @param {number} [segmentLength] The segment length.
|
|
3206
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
3207
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
3208
|
-
* @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.
|
|
3209
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
3210
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
3211
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
3212
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
3213
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
3214
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
3215
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
3216
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
3217
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
3218
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
3219
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
3220
|
-
* @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.
|
|
3221
|
-
* @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.
|
|
3222
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
3223
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
3224
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
3225
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
3226
|
-
* @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
|
|
3227
|
-
* @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
|
|
3228
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
3229
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
3230
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
3231
|
-
* @param {number} [maxRefFrames] Optional.
|
|
3232
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
3233
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
3234
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
3235
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
3236
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
3237
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
3238
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
3239
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
3240
|
-
* @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.
|
|
3241
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
3242
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
3243
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
3244
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
3245
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
3246
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
3247
|
-
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
3248
|
-
* @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist.
|
|
2908
|
+
* @param {DynamicHlsApiHeadMasterHlsVideoPlaylistRequest} requestParameters Request parameters.
|
|
3249
2909
|
* @param {*} [options] Override http request option.
|
|
3250
2910
|
* @throws {RequiredError}
|
|
3251
2911
|
*/
|
|
3252
|
-
headMasterHlsVideoPlaylist(
|
|
3253
|
-
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));
|
|
3254
2914
|
},
|
|
3255
2915
|
};
|
|
3256
2916
|
};
|
|
@@ -3270,7 +2930,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3270
2930
|
* @memberof DynamicHlsApi
|
|
3271
2931
|
*/
|
|
3272
2932
|
getHlsAudioSegment(requestParameters, options) {
|
|
3273
|
-
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));
|
|
3274
2934
|
}
|
|
3275
2935
|
/**
|
|
3276
2936
|
*
|
|
@@ -3281,7 +2941,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3281
2941
|
* @memberof DynamicHlsApi
|
|
3282
2942
|
*/
|
|
3283
2943
|
getHlsVideoSegment(requestParameters, options) {
|
|
3284
|
-
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));
|
|
3285
2945
|
}
|
|
3286
2946
|
/**
|
|
3287
2947
|
*
|
|
@@ -3292,7 +2952,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3292
2952
|
* @memberof DynamicHlsApi
|
|
3293
2953
|
*/
|
|
3294
2954
|
getLiveHlsStream(requestParameters, options) {
|
|
3295
|
-
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));
|
|
3296
2956
|
}
|
|
3297
2957
|
/**
|
|
3298
2958
|
*
|
|
@@ -3303,7 +2963,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3303
2963
|
* @memberof DynamicHlsApi
|
|
3304
2964
|
*/
|
|
3305
2965
|
getMasterHlsAudioPlaylist(requestParameters, options) {
|
|
3306
|
-
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));
|
|
3307
2967
|
}
|
|
3308
2968
|
/**
|
|
3309
2969
|
*
|
|
@@ -3314,7 +2974,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3314
2974
|
* @memberof DynamicHlsApi
|
|
3315
2975
|
*/
|
|
3316
2976
|
getMasterHlsVideoPlaylist(requestParameters, options) {
|
|
3317
|
-
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));
|
|
3318
2978
|
}
|
|
3319
2979
|
/**
|
|
3320
2980
|
*
|
|
@@ -3325,7 +2985,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3325
2985
|
* @memberof DynamicHlsApi
|
|
3326
2986
|
*/
|
|
3327
2987
|
getVariantHlsAudioPlaylist(requestParameters, options) {
|
|
3328
|
-
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));
|
|
3329
2989
|
}
|
|
3330
2990
|
/**
|
|
3331
2991
|
*
|
|
@@ -3336,7 +2996,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3336
2996
|
* @memberof DynamicHlsApi
|
|
3337
2997
|
*/
|
|
3338
2998
|
getVariantHlsVideoPlaylist(requestParameters, options) {
|
|
3339
|
-
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));
|
|
3340
3000
|
}
|
|
3341
3001
|
/**
|
|
3342
3002
|
*
|
|
@@ -3347,7 +3007,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3347
3007
|
* @memberof DynamicHlsApi
|
|
3348
3008
|
*/
|
|
3349
3009
|
headMasterHlsAudioPlaylist(requestParameters, options) {
|
|
3350
|
-
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));
|
|
3351
3011
|
}
|
|
3352
3012
|
/**
|
|
3353
3013
|
*
|
|
@@ -3358,7 +3018,7 @@ class DynamicHlsApi extends BaseAPI {
|
|
|
3358
3018
|
* @memberof DynamicHlsApi
|
|
3359
3019
|
*/
|
|
3360
3020
|
headMasterHlsVideoPlaylist(requestParameters, options) {
|
|
3361
|
-
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));
|
|
3362
3022
|
}
|
|
3363
3023
|
}
|
|
3364
3024
|
|