@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
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
-
import { BaseItemDtoQueryResult } from '../models';
|
|
15
|
-
import { EncodingContext } from '../models';
|
|
16
|
-
import { SubtitleDeliveryMethod } from '../models';
|
|
11
|
+
import type { Configuration } from '../configuration';
|
|
12
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
13
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
14
|
+
import type { BaseItemDtoQueryResult } from '../models';
|
|
15
|
+
import type { EncodingContext } from '../models';
|
|
16
|
+
import type { SubtitleDeliveryMethod } from '../models';
|
|
17
17
|
/**
|
|
18
18
|
* VideosApi - axios parameter creator
|
|
19
19
|
* @export
|
|
@@ -26,7 +26,7 @@ export declare const VideosApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
26
26
|
* @param {*} [options] Override http request option.
|
|
27
27
|
* @throws {RequiredError}
|
|
28
28
|
*/
|
|
29
|
-
deleteAlternateSources: (itemId: string, options?:
|
|
29
|
+
deleteAlternateSources: (itemId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @summary Gets additional parts for a video.
|
|
@@ -35,7 +35,7 @@ export declare const VideosApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
36
36
|
* @throws {RequiredError}
|
|
37
37
|
*/
|
|
38
|
-
getAdditionalPart: (itemId: string, userId?: string, options?:
|
|
38
|
+
getAdditionalPart: (itemId: string, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @summary Gets a video stream.
|
|
@@ -51,7 +51,7 @@ export declare const VideosApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
51
51
|
* @param {number} [minSegments] The minimum number of segments.
|
|
52
52
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
53
53
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
54
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
54
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
|
|
55
55
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
56
56
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
57
57
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -83,19 +83,20 @@ export declare const VideosApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
83
83
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
84
84
|
* @param {string} [liveStreamId] The live stream id.
|
|
85
85
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
86
|
-
* @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.
|
|
86
|
+
* @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.
|
|
87
87
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
88
88
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
89
89
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
90
90
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
91
91
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
92
92
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
93
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
93
94
|
* @param {*} [options] Override http request option.
|
|
94
95
|
* @throws {RequiredError}
|
|
95
96
|
*/
|
|
96
97
|
getVideoStream: (itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
|
|
97
98
|
[key: string]: string;
|
|
98
|
-
}, options?:
|
|
99
|
+
}, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
99
100
|
/**
|
|
100
101
|
*
|
|
101
102
|
* @summary Gets a video stream.
|
|
@@ -111,7 +112,7 @@ export declare const VideosApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
111
112
|
* @param {number} [minSegments] The minimum number of segments.
|
|
112
113
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
113
114
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
114
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
115
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
|
|
115
116
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
116
117
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
117
118
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -143,19 +144,20 @@ export declare const VideosApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
143
144
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
144
145
|
* @param {string} [liveStreamId] The live stream id.
|
|
145
146
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
146
|
-
* @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.
|
|
147
|
+
* @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.
|
|
147
148
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
148
149
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
149
150
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
150
151
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
151
152
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
152
153
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
154
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
153
155
|
* @param {*} [options] Override http request option.
|
|
154
156
|
* @throws {RequiredError}
|
|
155
157
|
*/
|
|
156
158
|
getVideoStreamByContainer: (itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
|
|
157
159
|
[key: string]: string;
|
|
158
|
-
}, options?:
|
|
160
|
+
}, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
159
161
|
/**
|
|
160
162
|
*
|
|
161
163
|
* @summary Gets a video stream.
|
|
@@ -171,7 +173,7 @@ export declare const VideosApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
171
173
|
* @param {number} [minSegments] The minimum number of segments.
|
|
172
174
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
173
175
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
174
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
176
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
|
|
175
177
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
176
178
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
177
179
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -203,19 +205,20 @@ export declare const VideosApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
203
205
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
204
206
|
* @param {string} [liveStreamId] The live stream id.
|
|
205
207
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
206
|
-
* @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.
|
|
208
|
+
* @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.
|
|
207
209
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
208
210
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
209
211
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
210
212
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
211
213
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
212
214
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
215
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
213
216
|
* @param {*} [options] Override http request option.
|
|
214
217
|
* @throws {RequiredError}
|
|
215
218
|
*/
|
|
216
219
|
headVideoStream: (itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
|
|
217
220
|
[key: string]: string;
|
|
218
|
-
}, options?:
|
|
221
|
+
}, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
219
222
|
/**
|
|
220
223
|
*
|
|
221
224
|
* @summary Gets a video stream.
|
|
@@ -231,7 +234,7 @@ export declare const VideosApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
231
234
|
* @param {number} [minSegments] The minimum number of segments.
|
|
232
235
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
233
236
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
234
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
237
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
|
|
235
238
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
236
239
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
237
240
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -263,19 +266,20 @@ export declare const VideosApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
263
266
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
264
267
|
* @param {string} [liveStreamId] The live stream id.
|
|
265
268
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
266
|
-
* @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.
|
|
269
|
+
* @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.
|
|
267
270
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
268
271
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
269
272
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
270
273
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
271
274
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
272
275
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
276
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
273
277
|
* @param {*} [options] Override http request option.
|
|
274
278
|
* @throws {RequiredError}
|
|
275
279
|
*/
|
|
276
280
|
headVideoStreamByContainer: (itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
|
|
277
281
|
[key: string]: string;
|
|
278
|
-
}, options?:
|
|
282
|
+
}, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
279
283
|
/**
|
|
280
284
|
*
|
|
281
285
|
* @summary Merges videos into a single record.
|
|
@@ -283,7 +287,7 @@ export declare const VideosApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
283
287
|
* @param {*} [options] Override http request option.
|
|
284
288
|
* @throws {RequiredError}
|
|
285
289
|
*/
|
|
286
|
-
mergeVersions: (ids: Array<string>, options?:
|
|
290
|
+
mergeVersions: (ids: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
287
291
|
};
|
|
288
292
|
/**
|
|
289
293
|
* VideosApi - functional programming interface
|
|
@@ -297,7 +301,7 @@ export declare const VideosApiFp: (configuration?: Configuration) => {
|
|
|
297
301
|
* @param {*} [options] Override http request option.
|
|
298
302
|
* @throws {RequiredError}
|
|
299
303
|
*/
|
|
300
|
-
deleteAlternateSources(itemId: string, options?:
|
|
304
|
+
deleteAlternateSources(itemId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
301
305
|
/**
|
|
302
306
|
*
|
|
303
307
|
* @summary Gets additional parts for a video.
|
|
@@ -306,7 +310,7 @@ export declare const VideosApiFp: (configuration?: Configuration) => {
|
|
|
306
310
|
* @param {*} [options] Override http request option.
|
|
307
311
|
* @throws {RequiredError}
|
|
308
312
|
*/
|
|
309
|
-
getAdditionalPart(itemId: string, userId?: string, options?:
|
|
313
|
+
getAdditionalPart(itemId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
|
|
310
314
|
/**
|
|
311
315
|
*
|
|
312
316
|
* @summary Gets a video stream.
|
|
@@ -322,7 +326,7 @@ export declare const VideosApiFp: (configuration?: Configuration) => {
|
|
|
322
326
|
* @param {number} [minSegments] The minimum number of segments.
|
|
323
327
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
324
328
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
325
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
329
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
|
|
326
330
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
327
331
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
328
332
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -354,19 +358,20 @@ export declare const VideosApiFp: (configuration?: Configuration) => {
|
|
|
354
358
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
355
359
|
* @param {string} [liveStreamId] The live stream id.
|
|
356
360
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
357
|
-
* @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.
|
|
361
|
+
* @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.
|
|
358
362
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
359
363
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
360
364
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
361
365
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
362
366
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
363
367
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
368
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
364
369
|
* @param {*} [options] Override http request option.
|
|
365
370
|
* @throws {RequiredError}
|
|
366
371
|
*/
|
|
367
372
|
getVideoStream(itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
|
|
368
373
|
[key: string]: string;
|
|
369
|
-
}, options?:
|
|
374
|
+
}, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
370
375
|
/**
|
|
371
376
|
*
|
|
372
377
|
* @summary Gets a video stream.
|
|
@@ -382,7 +387,7 @@ export declare const VideosApiFp: (configuration?: Configuration) => {
|
|
|
382
387
|
* @param {number} [minSegments] The minimum number of segments.
|
|
383
388
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
384
389
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
385
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
390
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
|
|
386
391
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
387
392
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
388
393
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -414,19 +419,20 @@ export declare const VideosApiFp: (configuration?: Configuration) => {
|
|
|
414
419
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
415
420
|
* @param {string} [liveStreamId] The live stream id.
|
|
416
421
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
417
|
-
* @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.
|
|
422
|
+
* @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.
|
|
418
423
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
419
424
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
420
425
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
421
426
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
422
427
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
423
428
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
429
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
424
430
|
* @param {*} [options] Override http request option.
|
|
425
431
|
* @throws {RequiredError}
|
|
426
432
|
*/
|
|
427
433
|
getVideoStreamByContainer(itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
|
|
428
434
|
[key: string]: string;
|
|
429
|
-
}, options?:
|
|
435
|
+
}, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
430
436
|
/**
|
|
431
437
|
*
|
|
432
438
|
* @summary Gets a video stream.
|
|
@@ -442,7 +448,7 @@ export declare const VideosApiFp: (configuration?: Configuration) => {
|
|
|
442
448
|
* @param {number} [minSegments] The minimum number of segments.
|
|
443
449
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
444
450
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
445
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
451
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
|
|
446
452
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
447
453
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
448
454
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -474,19 +480,20 @@ export declare const VideosApiFp: (configuration?: Configuration) => {
|
|
|
474
480
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
475
481
|
* @param {string} [liveStreamId] The live stream id.
|
|
476
482
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
477
|
-
* @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.
|
|
483
|
+
* @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.
|
|
478
484
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
479
485
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
480
486
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
481
487
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
482
488
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
483
489
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
490
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
484
491
|
* @param {*} [options] Override http request option.
|
|
485
492
|
* @throws {RequiredError}
|
|
486
493
|
*/
|
|
487
494
|
headVideoStream(itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
|
|
488
495
|
[key: string]: string;
|
|
489
|
-
}, options?:
|
|
496
|
+
}, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
490
497
|
/**
|
|
491
498
|
*
|
|
492
499
|
* @summary Gets a video stream.
|
|
@@ -502,7 +509,7 @@ export declare const VideosApiFp: (configuration?: Configuration) => {
|
|
|
502
509
|
* @param {number} [minSegments] The minimum number of segments.
|
|
503
510
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
504
511
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
505
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
512
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
|
|
506
513
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
507
514
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
508
515
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -534,19 +541,20 @@ export declare const VideosApiFp: (configuration?: Configuration) => {
|
|
|
534
541
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
535
542
|
* @param {string} [liveStreamId] The live stream id.
|
|
536
543
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
537
|
-
* @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.
|
|
544
|
+
* @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.
|
|
538
545
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
539
546
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
540
547
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
541
548
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
542
549
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
543
550
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
551
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
544
552
|
* @param {*} [options] Override http request option.
|
|
545
553
|
* @throws {RequiredError}
|
|
546
554
|
*/
|
|
547
555
|
headVideoStreamByContainer(itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
|
|
548
556
|
[key: string]: string;
|
|
549
|
-
}, options?:
|
|
557
|
+
}, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
550
558
|
/**
|
|
551
559
|
*
|
|
552
560
|
* @summary Merges videos into a single record.
|
|
@@ -554,7 +562,7 @@ export declare const VideosApiFp: (configuration?: Configuration) => {
|
|
|
554
562
|
* @param {*} [options] Override http request option.
|
|
555
563
|
* @throws {RequiredError}
|
|
556
564
|
*/
|
|
557
|
-
mergeVersions(ids: Array<string>, options?:
|
|
565
|
+
mergeVersions(ids: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
558
566
|
};
|
|
559
567
|
/**
|
|
560
568
|
* VideosApi - factory interface
|
|
@@ -564,268 +572,59 @@ export declare const VideosApiFactory: (configuration?: Configuration, basePath?
|
|
|
564
572
|
/**
|
|
565
573
|
*
|
|
566
574
|
* @summary Removes alternate video sources.
|
|
567
|
-
* @param {
|
|
575
|
+
* @param {VideosApiDeleteAlternateSourcesRequest} requestParameters Request parameters.
|
|
568
576
|
* @param {*} [options] Override http request option.
|
|
569
577
|
* @throws {RequiredError}
|
|
570
578
|
*/
|
|
571
|
-
deleteAlternateSources(
|
|
579
|
+
deleteAlternateSources(requestParameters: VideosApiDeleteAlternateSourcesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
572
580
|
/**
|
|
573
581
|
*
|
|
574
582
|
* @summary Gets additional parts for a video.
|
|
575
|
-
* @param {
|
|
576
|
-
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
583
|
+
* @param {VideosApiGetAdditionalPartRequest} requestParameters Request parameters.
|
|
577
584
|
* @param {*} [options] Override http request option.
|
|
578
585
|
* @throws {RequiredError}
|
|
579
586
|
*/
|
|
580
|
-
getAdditionalPart(
|
|
587
|
+
getAdditionalPart(requestParameters: VideosApiGetAdditionalPartRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseItemDtoQueryResult>;
|
|
581
588
|
/**
|
|
582
589
|
*
|
|
583
590
|
* @summary Gets a video stream.
|
|
584
|
-
* @param {
|
|
585
|
-
* @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.
|
|
586
|
-
* @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.
|
|
587
|
-
* @param {string} [params] The streaming parameters.
|
|
588
|
-
* @param {string} [tag] The tag.
|
|
589
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
590
|
-
* @param {string} [playSessionId] The play session id.
|
|
591
|
-
* @param {string} [segmentContainer] The segment container.
|
|
592
|
-
* @param {number} [segmentLength] The segment length.
|
|
593
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
594
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
595
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
596
|
-
* @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.
|
|
597
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
598
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
599
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
600
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
601
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
602
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
603
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
604
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
605
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
606
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
607
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
608
|
-
* @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.
|
|
609
|
-
* @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.
|
|
610
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
611
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
612
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
613
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
614
|
-
* @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
|
|
615
|
-
* @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
|
|
616
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
617
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
618
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
619
|
-
* @param {number} [maxRefFrames] Optional.
|
|
620
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
621
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
622
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
623
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
624
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
625
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
626
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
627
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
628
|
-
* @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.
|
|
629
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
630
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
631
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
632
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
633
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
634
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
591
|
+
* @param {VideosApiGetVideoStreamRequest} requestParameters Request parameters.
|
|
635
592
|
* @param {*} [options] Override http request option.
|
|
636
593
|
* @throws {RequiredError}
|
|
637
594
|
*/
|
|
638
|
-
getVideoStream(
|
|
639
|
-
[key: string]: string;
|
|
640
|
-
}, options?: any): AxiosPromise<any>;
|
|
595
|
+
getVideoStream(requestParameters: VideosApiGetVideoStreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
641
596
|
/**
|
|
642
597
|
*
|
|
643
598
|
* @summary Gets a video stream.
|
|
644
|
-
* @param {
|
|
645
|
-
* @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.
|
|
646
|
-
* @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.
|
|
647
|
-
* @param {string} [params] The streaming parameters.
|
|
648
|
-
* @param {string} [tag] The tag.
|
|
649
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
650
|
-
* @param {string} [playSessionId] The play session id.
|
|
651
|
-
* @param {string} [segmentContainer] The segment container.
|
|
652
|
-
* @param {number} [segmentLength] The segment length.
|
|
653
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
654
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
655
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
656
|
-
* @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.
|
|
657
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
658
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
659
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
660
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
661
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
662
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
663
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
664
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
665
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
666
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
667
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
668
|
-
* @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.
|
|
669
|
-
* @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.
|
|
670
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
671
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
672
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
673
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
674
|
-
* @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
|
|
675
|
-
* @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
|
|
676
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
677
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
678
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
679
|
-
* @param {number} [maxRefFrames] Optional.
|
|
680
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
681
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
682
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
683
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
684
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
685
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
686
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
687
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
688
|
-
* @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.
|
|
689
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
690
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
691
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
692
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
693
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
694
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
599
|
+
* @param {VideosApiGetVideoStreamByContainerRequest} requestParameters Request parameters.
|
|
695
600
|
* @param {*} [options] Override http request option.
|
|
696
601
|
* @throws {RequiredError}
|
|
697
602
|
*/
|
|
698
|
-
getVideoStreamByContainer(
|
|
699
|
-
[key: string]: string;
|
|
700
|
-
}, options?: any): AxiosPromise<any>;
|
|
603
|
+
getVideoStreamByContainer(requestParameters: VideosApiGetVideoStreamByContainerRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
701
604
|
/**
|
|
702
605
|
*
|
|
703
606
|
* @summary Gets a video stream.
|
|
704
|
-
* @param {
|
|
705
|
-
* @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.
|
|
706
|
-
* @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.
|
|
707
|
-
* @param {string} [params] The streaming parameters.
|
|
708
|
-
* @param {string} [tag] The tag.
|
|
709
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
710
|
-
* @param {string} [playSessionId] The play session id.
|
|
711
|
-
* @param {string} [segmentContainer] The segment container.
|
|
712
|
-
* @param {number} [segmentLength] The segment length.
|
|
713
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
714
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
715
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
716
|
-
* @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.
|
|
717
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
718
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
719
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
720
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
721
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
722
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
723
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
724
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
725
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
726
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
727
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
728
|
-
* @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.
|
|
729
|
-
* @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.
|
|
730
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
731
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
732
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
733
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
734
|
-
* @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
|
|
735
|
-
* @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
|
|
736
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
737
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
738
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
739
|
-
* @param {number} [maxRefFrames] Optional.
|
|
740
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
741
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
742
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
743
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
744
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
745
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
746
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
747
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
748
|
-
* @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.
|
|
749
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
750
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
751
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
752
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
753
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
754
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
607
|
+
* @param {VideosApiHeadVideoStreamRequest} requestParameters Request parameters.
|
|
755
608
|
* @param {*} [options] Override http request option.
|
|
756
609
|
* @throws {RequiredError}
|
|
757
610
|
*/
|
|
758
|
-
headVideoStream(
|
|
759
|
-
[key: string]: string;
|
|
760
|
-
}, options?: any): AxiosPromise<any>;
|
|
611
|
+
headVideoStream(requestParameters: VideosApiHeadVideoStreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
761
612
|
/**
|
|
762
613
|
*
|
|
763
614
|
* @summary Gets a video stream.
|
|
764
|
-
* @param {
|
|
765
|
-
* @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.
|
|
766
|
-
* @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.
|
|
767
|
-
* @param {string} [params] The streaming parameters.
|
|
768
|
-
* @param {string} [tag] The tag.
|
|
769
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
770
|
-
* @param {string} [playSessionId] The play session id.
|
|
771
|
-
* @param {string} [segmentContainer] The segment container.
|
|
772
|
-
* @param {number} [segmentLength] The segment length.
|
|
773
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
774
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
775
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
776
|
-
* @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.
|
|
777
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
778
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
779
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
780
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
781
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
782
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
783
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
784
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
785
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
786
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
787
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
788
|
-
* @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.
|
|
789
|
-
* @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.
|
|
790
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
791
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
792
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
793
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
794
|
-
* @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
|
|
795
|
-
* @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
|
|
796
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
797
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
798
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
799
|
-
* @param {number} [maxRefFrames] Optional.
|
|
800
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
801
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
802
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
803
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
804
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
805
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
806
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
807
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
808
|
-
* @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.
|
|
809
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
810
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
811
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
812
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
813
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
814
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
615
|
+
* @param {VideosApiHeadVideoStreamByContainerRequest} requestParameters Request parameters.
|
|
815
616
|
* @param {*} [options] Override http request option.
|
|
816
617
|
* @throws {RequiredError}
|
|
817
618
|
*/
|
|
818
|
-
headVideoStreamByContainer(
|
|
819
|
-
[key: string]: string;
|
|
820
|
-
}, options?: any): AxiosPromise<any>;
|
|
619
|
+
headVideoStreamByContainer(requestParameters: VideosApiHeadVideoStreamByContainerRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
821
620
|
/**
|
|
822
621
|
*
|
|
823
622
|
* @summary Merges videos into a single record.
|
|
824
|
-
* @param {
|
|
623
|
+
* @param {VideosApiMergeVersionsRequest} requestParameters Request parameters.
|
|
825
624
|
* @param {*} [options] Override http request option.
|
|
826
625
|
* @throws {RequiredError}
|
|
827
626
|
*/
|
|
828
|
-
mergeVersions(
|
|
627
|
+
mergeVersions(requestParameters: VideosApiMergeVersionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
829
628
|
};
|
|
830
629
|
/**
|
|
831
630
|
* Request parameters for deleteAlternateSources operation in VideosApi.
|
|
@@ -938,7 +737,7 @@ export interface VideosApiGetVideoStreamRequest {
|
|
|
938
737
|
*/
|
|
939
738
|
readonly deviceId?: string;
|
|
940
739
|
/**
|
|
941
|
-
* Optional. Specify
|
|
740
|
+
* Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
|
|
942
741
|
* @type {string}
|
|
943
742
|
* @memberof VideosApiGetVideoStream
|
|
944
743
|
*/
|
|
@@ -1130,7 +929,7 @@ export interface VideosApiGetVideoStreamRequest {
|
|
|
1130
929
|
*/
|
|
1131
930
|
readonly enableMpegtsM2TsMode?: boolean;
|
|
1132
931
|
/**
|
|
1133
|
-
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension.
|
|
932
|
+
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension.
|
|
1134
933
|
* @type {string}
|
|
1135
934
|
* @memberof VideosApiGetVideoStream
|
|
1136
935
|
*/
|
|
@@ -1173,6 +972,12 @@ export interface VideosApiGetVideoStreamRequest {
|
|
|
1173
972
|
readonly streamOptions?: {
|
|
1174
973
|
[key: string]: string;
|
|
1175
974
|
};
|
|
975
|
+
/**
|
|
976
|
+
* Optional. Whether to enable Audio Encoding.
|
|
977
|
+
* @type {boolean}
|
|
978
|
+
* @memberof VideosApiGetVideoStream
|
|
979
|
+
*/
|
|
980
|
+
readonly enableAudioVbrEncoding?: boolean;
|
|
1176
981
|
}
|
|
1177
982
|
/**
|
|
1178
983
|
* Request parameters for getVideoStreamByContainer operation in VideosApi.
|
|
@@ -1253,7 +1058,7 @@ export interface VideosApiGetVideoStreamByContainerRequest {
|
|
|
1253
1058
|
*/
|
|
1254
1059
|
readonly deviceId?: string;
|
|
1255
1060
|
/**
|
|
1256
|
-
* Optional. Specify
|
|
1061
|
+
* Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
|
|
1257
1062
|
* @type {string}
|
|
1258
1063
|
* @memberof VideosApiGetVideoStreamByContainer
|
|
1259
1064
|
*/
|
|
@@ -1445,7 +1250,7 @@ export interface VideosApiGetVideoStreamByContainerRequest {
|
|
|
1445
1250
|
*/
|
|
1446
1251
|
readonly enableMpegtsM2TsMode?: boolean;
|
|
1447
1252
|
/**
|
|
1448
|
-
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension.
|
|
1253
|
+
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension.
|
|
1449
1254
|
* @type {string}
|
|
1450
1255
|
* @memberof VideosApiGetVideoStreamByContainer
|
|
1451
1256
|
*/
|
|
@@ -1488,6 +1293,12 @@ export interface VideosApiGetVideoStreamByContainerRequest {
|
|
|
1488
1293
|
readonly streamOptions?: {
|
|
1489
1294
|
[key: string]: string;
|
|
1490
1295
|
};
|
|
1296
|
+
/**
|
|
1297
|
+
* Optional. Whether to enable Audio Encoding.
|
|
1298
|
+
* @type {boolean}
|
|
1299
|
+
* @memberof VideosApiGetVideoStreamByContainer
|
|
1300
|
+
*/
|
|
1301
|
+
readonly enableAudioVbrEncoding?: boolean;
|
|
1491
1302
|
}
|
|
1492
1303
|
/**
|
|
1493
1304
|
* Request parameters for headVideoStream operation in VideosApi.
|
|
@@ -1568,7 +1379,7 @@ export interface VideosApiHeadVideoStreamRequest {
|
|
|
1568
1379
|
*/
|
|
1569
1380
|
readonly deviceId?: string;
|
|
1570
1381
|
/**
|
|
1571
|
-
* Optional. Specify
|
|
1382
|
+
* Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
|
|
1572
1383
|
* @type {string}
|
|
1573
1384
|
* @memberof VideosApiHeadVideoStream
|
|
1574
1385
|
*/
|
|
@@ -1760,7 +1571,7 @@ export interface VideosApiHeadVideoStreamRequest {
|
|
|
1760
1571
|
*/
|
|
1761
1572
|
readonly enableMpegtsM2TsMode?: boolean;
|
|
1762
1573
|
/**
|
|
1763
|
-
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension.
|
|
1574
|
+
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension.
|
|
1764
1575
|
* @type {string}
|
|
1765
1576
|
* @memberof VideosApiHeadVideoStream
|
|
1766
1577
|
*/
|
|
@@ -1803,6 +1614,12 @@ export interface VideosApiHeadVideoStreamRequest {
|
|
|
1803
1614
|
readonly streamOptions?: {
|
|
1804
1615
|
[key: string]: string;
|
|
1805
1616
|
};
|
|
1617
|
+
/**
|
|
1618
|
+
* Optional. Whether to enable Audio Encoding.
|
|
1619
|
+
* @type {boolean}
|
|
1620
|
+
* @memberof VideosApiHeadVideoStream
|
|
1621
|
+
*/
|
|
1622
|
+
readonly enableAudioVbrEncoding?: boolean;
|
|
1806
1623
|
}
|
|
1807
1624
|
/**
|
|
1808
1625
|
* Request parameters for headVideoStreamByContainer operation in VideosApi.
|
|
@@ -1883,7 +1700,7 @@ export interface VideosApiHeadVideoStreamByContainerRequest {
|
|
|
1883
1700
|
*/
|
|
1884
1701
|
readonly deviceId?: string;
|
|
1885
1702
|
/**
|
|
1886
|
-
* Optional. Specify
|
|
1703
|
+
* Optional. Specify an audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url\'s extension.
|
|
1887
1704
|
* @type {string}
|
|
1888
1705
|
* @memberof VideosApiHeadVideoStreamByContainer
|
|
1889
1706
|
*/
|
|
@@ -2075,7 +1892,7 @@ export interface VideosApiHeadVideoStreamByContainerRequest {
|
|
|
2075
1892
|
*/
|
|
2076
1893
|
readonly enableMpegtsM2TsMode?: boolean;
|
|
2077
1894
|
/**
|
|
2078
|
-
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension.
|
|
1895
|
+
* Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension.
|
|
2079
1896
|
* @type {string}
|
|
2080
1897
|
* @memberof VideosApiHeadVideoStreamByContainer
|
|
2081
1898
|
*/
|
|
@@ -2118,6 +1935,12 @@ export interface VideosApiHeadVideoStreamByContainerRequest {
|
|
|
2118
1935
|
readonly streamOptions?: {
|
|
2119
1936
|
[key: string]: string;
|
|
2120
1937
|
};
|
|
1938
|
+
/**
|
|
1939
|
+
* Optional. Whether to enable Audio Encoding.
|
|
1940
|
+
* @type {boolean}
|
|
1941
|
+
* @memberof VideosApiHeadVideoStreamByContainer
|
|
1942
|
+
*/
|
|
1943
|
+
readonly enableAudioVbrEncoding?: boolean;
|
|
2121
1944
|
}
|
|
2122
1945
|
/**
|
|
2123
1946
|
* Request parameters for mergeVersions operation in VideosApi.
|
|
@@ -2147,7 +1970,7 @@ export declare class VideosApi extends BaseAPI {
|
|
|
2147
1970
|
* @throws {RequiredError}
|
|
2148
1971
|
* @memberof VideosApi
|
|
2149
1972
|
*/
|
|
2150
|
-
deleteAlternateSources(requestParameters: VideosApiDeleteAlternateSourcesRequest, options?:
|
|
1973
|
+
deleteAlternateSources(requestParameters: VideosApiDeleteAlternateSourcesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2151
1974
|
/**
|
|
2152
1975
|
*
|
|
2153
1976
|
* @summary Gets additional parts for a video.
|
|
@@ -2156,7 +1979,7 @@ export declare class VideosApi extends BaseAPI {
|
|
|
2156
1979
|
* @throws {RequiredError}
|
|
2157
1980
|
* @memberof VideosApi
|
|
2158
1981
|
*/
|
|
2159
|
-
getAdditionalPart(requestParameters: VideosApiGetAdditionalPartRequest, options?:
|
|
1982
|
+
getAdditionalPart(requestParameters: VideosApiGetAdditionalPartRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
2160
1983
|
/**
|
|
2161
1984
|
*
|
|
2162
1985
|
* @summary Gets a video stream.
|
|
@@ -2165,7 +1988,7 @@ export declare class VideosApi extends BaseAPI {
|
|
|
2165
1988
|
* @throws {RequiredError}
|
|
2166
1989
|
* @memberof VideosApi
|
|
2167
1990
|
*/
|
|
2168
|
-
getVideoStream(requestParameters: VideosApiGetVideoStreamRequest, options?:
|
|
1991
|
+
getVideoStream(requestParameters: VideosApiGetVideoStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
2169
1992
|
/**
|
|
2170
1993
|
*
|
|
2171
1994
|
* @summary Gets a video stream.
|
|
@@ -2174,7 +1997,7 @@ export declare class VideosApi extends BaseAPI {
|
|
|
2174
1997
|
* @throws {RequiredError}
|
|
2175
1998
|
* @memberof VideosApi
|
|
2176
1999
|
*/
|
|
2177
|
-
getVideoStreamByContainer(requestParameters: VideosApiGetVideoStreamByContainerRequest, options?:
|
|
2000
|
+
getVideoStreamByContainer(requestParameters: VideosApiGetVideoStreamByContainerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
2178
2001
|
/**
|
|
2179
2002
|
*
|
|
2180
2003
|
* @summary Gets a video stream.
|
|
@@ -2183,7 +2006,7 @@ export declare class VideosApi extends BaseAPI {
|
|
|
2183
2006
|
* @throws {RequiredError}
|
|
2184
2007
|
* @memberof VideosApi
|
|
2185
2008
|
*/
|
|
2186
|
-
headVideoStream(requestParameters: VideosApiHeadVideoStreamRequest, options?:
|
|
2009
|
+
headVideoStream(requestParameters: VideosApiHeadVideoStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
2187
2010
|
/**
|
|
2188
2011
|
*
|
|
2189
2012
|
* @summary Gets a video stream.
|
|
@@ -2192,7 +2015,7 @@ export declare class VideosApi extends BaseAPI {
|
|
|
2192
2015
|
* @throws {RequiredError}
|
|
2193
2016
|
* @memberof VideosApi
|
|
2194
2017
|
*/
|
|
2195
|
-
headVideoStreamByContainer(requestParameters: VideosApiHeadVideoStreamByContainerRequest, options?:
|
|
2018
|
+
headVideoStreamByContainer(requestParameters: VideosApiHeadVideoStreamByContainerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
2196
2019
|
/**
|
|
2197
2020
|
*
|
|
2198
2021
|
* @summary Merges videos into a single record.
|
|
@@ -2201,5 +2024,5 @@ export declare class VideosApi extends BaseAPI {
|
|
|
2201
2024
|
* @throws {RequiredError}
|
|
2202
2025
|
* @memberof VideosApi
|
|
2203
2026
|
*/
|
|
2204
|
-
mergeVersions(requestParameters: VideosApiMergeVersionsRequest, options?:
|
|
2027
|
+
mergeVersions(requestParameters: VideosApiMergeVersionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2205
2028
|
}
|