@jellyfin/sdk 0.10.0 → 0.12.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/CHANGELOG.md +127 -0
- package/README.md +3 -41
- package/lib/api.d.ts +7 -11
- package/lib/api.js +13 -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 +87 -255
- package/lib/generated-client/api/audio-api.js +97 -249
- package/lib/generated-client/api/backup-api.d.ts +209 -0
- package/lib/generated-client/api/backup-api.js +311 -0
- 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 +75 -29
- package/lib/generated-client/api/configuration-api.js +98 -17
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +16 -10
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +37 -23
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +16 -15
- package/lib/generated-client/api/dlna-api.d.ts +6 -6
- package/lib/generated-client/api/dlna-server-api.d.ts +16 -16
- 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 +35 -19
- 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 +16 -28
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +37 -29
- package/lib/generated-client/api/image-api.d.ts +216 -942
- package/lib/generated-client/api/image-api.js +282 -789
- package/lib/generated-client/api/image-by-name-api.d.ts +6 -6
- 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 +17 -13
- package/lib/generated-client/api/item-refresh-api.js +17 -13
- 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 +39 -123
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +213 -143
- 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 +236 -336
- package/lib/generated-client/api/live-tv-api.js +287 -267
- 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 +46 -31
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +46 -53
- 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 +16 -28
- package/lib/generated-client/api/notifications-api.d.ts +7 -7
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +38 -24
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +16 -23
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +138 -64
- package/lib/generated-client/api/playstate-api.d.ts +66 -80
- package/lib/generated-client/api/playstate-api.js +77 -64
- 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 +24 -13
- 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 +37 -24
- 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 +39 -18
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +16 -27
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +69 -70
- 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 +166 -120
- package/lib/generated-client/api/sync-play-api.js +200 -71
- package/lib/generated-client/api/system-api.d.ts +53 -57
- package/lib/generated-client/api/system-api.js +56 -30
- 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 +30 -63
- 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 +94 -57
- 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 +16 -25
- package/lib/generated-client/api.d.ts +2 -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 +4 -4
- 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 +11 -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/backup-manifest-dto.d.ts +48 -0
- package/lib/generated-client/models/backup-options-dto.d.ts +41 -0
- package/lib/generated-client/models/backup-restore-request-dto.d.ts +23 -0
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +28 -28
- 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/branding-options-dto.d.ts +35 -0
- 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/custom-database-option.d.ts +29 -0
- package/lib/generated-client/models/custom-database-options.d.ts +42 -0
- package/lib/generated-client/models/database-configuration-options.d.ts +37 -0
- package/lib/generated-client/models/database-locking-behavior-types.d.ts +21 -0
- package/lib/generated-client/models/database-locking-behavior-types.js +24 -0
- 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 +1 -7
- package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
- package/lib/generated-client/models/external-id-media-type.js +2 -1
- package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
- package/lib/generated-client/models/folder-storage-dto.d.ts +47 -0
- 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-type.d.ts +0 -2
- package/lib/generated-client/models/group-update-type.js +0 -2
- package/lib/generated-client/models/group-update.d.ts +29 -6
- 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 +38 -14
- package/lib/generated-client/models/index.js +9 -1
- package/lib/generated-client/models/installation-info.d.ts +1 -1
- package/lib/generated-client/models/item-fields.d.ts +0 -11
- package/lib/generated-client/models/item-fields.js +0 -11
- package/lib/generated-client/models/item-sort-by.d.ts +0 -2
- package/lib/generated-client/models/item-sort-by.js +1 -3
- package/lib/generated-client/models/library-changed-message.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +14 -2
- package/lib/generated-client/models/library-options.d.ts +57 -3
- package/lib/generated-client/models/library-storage-dto.d.ts +36 -0
- 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/lyric-line-cue.d.ts +41 -0
- package/lib/generated-client/models/lyric-line.d.ts +7 -0
- 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 +23 -5
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +12 -12
- 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/network-configuration.d.ts +1 -0
- package/lib/generated-client/models/open-live-stream-dto.d.ts +9 -3
- 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/parental-rating-score.d.ts +29 -0
- package/lib/generated-client/models/parental-rating.d.ts +8 -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 +8 -2
- 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-status.d.ts +1 -0
- package/lib/generated-client/models/plugin-status.js +1 -0
- 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-value.d.ts +1 -0
- package/lib/generated-client/models/profile-condition-value.js +2 -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 +29 -23
- 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/startup-configuration-dto.d.ts +6 -0
- package/lib/generated-client/models/startup-remote-access-dto.d.ts +1 -0
- 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-does-not-exist-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-group-joined-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-group-left-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-update-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-library-access-denied-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-not-in-group-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-play-queue-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-state-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-user-joined-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-user-left-update.d.ts +36 -0
- package/lib/generated-client/models/system-info.d.ts +9 -2
- package/lib/generated-client/models/system-storage-dto.d.ts +67 -0
- 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-type.d.ts +22 -0
- package/lib/generated-client/models/task-trigger-info-type.js +25 -0
- package/lib/generated-client/models/task-trigger-info.d.ts +5 -4
- 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 +2 -0
- package/lib/generated-client/models/transcode-reason.js +3 -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-info-dto.d.ts +59 -0
- package/lib/generated-client/models/trickplay-info.d.ts +7 -1
- package/lib/generated-client/models/trickplay-options.d.ts +8 -2
- package/lib/generated-client/models/tuner-host-info.d.ts +24 -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 +9 -3
- package/lib/generated-client/models/user-updated-message.d.ts +2 -2
- package/lib/generated-client/models/video-range-type.d.ts +4 -0
- package/lib/generated-client/models/video-range-type.js +4 -0
- 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/models/api/image-request-parameters.d.ts +0 -1
- package/lib/models/api/index.d.ts +0 -1
- package/lib/models/api/index.js +1 -1
- 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 +2 -2
- package/lib/versions.js +2 -2
- package/package.json +20 -18
- package/lib/models/api/item-sort-by.d.ts +0 -40
- package/lib/models/api/item-sort-by.js +0 -43
|
@@ -8,11 +8,11 @@
|
|
|
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 { EncodingContext } from '../models';
|
|
15
|
-
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 { EncodingContext } from '../models';
|
|
15
|
+
import type { SubtitleDeliveryMethod } from '../models';
|
|
16
16
|
/**
|
|
17
17
|
* DynamicHlsApi - axios parameter creator
|
|
18
18
|
* @export
|
|
@@ -37,7 +37,7 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
37
37
|
* @param {number} [minSegments] The minimum number of segments.
|
|
38
38
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
39
39
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
40
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
40
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
41
41
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
42
42
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
43
43
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -68,19 +68,20 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
68
68
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
69
69
|
* @param {string} [liveStreamId] The live stream id.
|
|
70
70
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
71
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
71
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
72
72
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
73
73
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
74
74
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
75
75
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
76
76
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
77
77
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
78
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
78
79
|
* @param {*} [options] Override http request option.
|
|
79
80
|
* @throws {RequiredError}
|
|
80
81
|
*/
|
|
81
82
|
getHlsAudioSegment: (itemId: string, playlistId: string, segmentId: number, container: string, runtimeTicks: number, actualSegmentLengthTicks: number, _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, maxStreamingBitrate?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: 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?: {
|
|
82
83
|
[key: string]: string;
|
|
83
|
-
}, options?:
|
|
84
|
+
}, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
85
|
/**
|
|
85
86
|
*
|
|
86
87
|
* @summary Gets a video stream using HTTP live streaming.
|
|
@@ -100,7 +101,7 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
100
101
|
* @param {number} [minSegments] The minimum number of segments.
|
|
101
102
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
102
103
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
103
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
104
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
104
105
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
105
106
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
106
107
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -132,19 +133,21 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
132
133
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
133
134
|
* @param {string} [liveStreamId] The live stream id.
|
|
134
135
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
135
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
136
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
136
137
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
137
138
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
138
139
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
139
140
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
140
141
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
141
142
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
143
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
144
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
142
145
|
* @param {*} [options] Override http request option.
|
|
143
146
|
* @throws {RequiredError}
|
|
144
147
|
*/
|
|
145
148
|
getHlsVideoSegment: (itemId: string, playlistId: string, segmentId: number, container: string, runtimeTicks: number, actualSegmentLengthTicks: number, _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?: {
|
|
146
149
|
[key: string]: string;
|
|
147
|
-
}, options?:
|
|
150
|
+
}, enableAudioVbrEncoding?: boolean, alwaysBurnInSubtitleWhenTranscoding?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
148
151
|
/**
|
|
149
152
|
*
|
|
150
153
|
* @summary Gets a hls live stream.
|
|
@@ -160,7 +163,7 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
160
163
|
* @param {number} [minSegments] The minimum number of segments.
|
|
161
164
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
162
165
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
163
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
166
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
164
167
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
165
168
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
166
169
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -190,7 +193,7 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
190
193
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
191
194
|
* @param {string} [liveStreamId] The live stream id.
|
|
192
195
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
193
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
196
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
194
197
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
195
198
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
196
199
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -200,12 +203,14 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
200
203
|
* @param {number} [maxWidth] Optional. The max width.
|
|
201
204
|
* @param {number} [maxHeight] Optional. The max height.
|
|
202
205
|
* @param {boolean} [enableSubtitlesInManifest] Optional. Whether to enable subtitles in the manifest.
|
|
206
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
207
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
203
208
|
* @param {*} [options] Override http request option.
|
|
204
209
|
* @throws {RequiredError}
|
|
205
210
|
*/
|
|
206
211
|
getLiveHlsStream: (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, 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?: {
|
|
207
212
|
[key: string]: string;
|
|
208
|
-
}, maxWidth?: number, maxHeight?: number, enableSubtitlesInManifest?: boolean, options?:
|
|
213
|
+
}, maxWidth?: number, maxHeight?: number, enableSubtitlesInManifest?: boolean, enableAudioVbrEncoding?: boolean, alwaysBurnInSubtitleWhenTranscoding?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
209
214
|
/**
|
|
210
215
|
*
|
|
211
216
|
* @summary Gets an audio hls playlist stream.
|
|
@@ -220,7 +225,7 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
220
225
|
* @param {number} [segmentLength] The segment length.
|
|
221
226
|
* @param {number} [minSegments] The minimum number of segments.
|
|
222
227
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
223
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
228
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
224
229
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
225
230
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
226
231
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -251,7 +256,7 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
251
256
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
252
257
|
* @param {string} [liveStreamId] The live stream id.
|
|
253
258
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
254
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
259
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
255
260
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
256
261
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
257
262
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -259,12 +264,13 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
259
264
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
260
265
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
261
266
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
267
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
262
268
|
* @param {*} [options] Override http request option.
|
|
263
269
|
* @throws {RequiredError}
|
|
264
270
|
*/
|
|
265
271
|
getMasterHlsAudioPlaylist: (itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, maxStreamingBitrate?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: 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?: {
|
|
266
272
|
[key: string]: string;
|
|
267
|
-
}, enableAdaptiveBitrateStreaming?: boolean, options?:
|
|
273
|
+
}, enableAdaptiveBitrateStreaming?: boolean, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
268
274
|
/**
|
|
269
275
|
*
|
|
270
276
|
* @summary Gets a video hls playlist stream.
|
|
@@ -279,7 +285,7 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
279
285
|
* @param {number} [segmentLength] The segment length.
|
|
280
286
|
* @param {number} [minSegments] The minimum number of segments.
|
|
281
287
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
282
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
288
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
283
289
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
284
290
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
285
291
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -311,7 +317,7 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
311
317
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
312
318
|
* @param {string} [liveStreamId] The live stream id.
|
|
313
319
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
314
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
320
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
315
321
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
316
322
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
317
323
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -320,12 +326,14 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
320
326
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
321
327
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
322
328
|
* @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist.
|
|
329
|
+
* @param {boolean} [enableAudioVbrEncoding] Whether to enable Audio Encoding.
|
|
330
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
323
331
|
* @param {*} [options] Override http request option.
|
|
324
332
|
* @throws {RequiredError}
|
|
325
333
|
*/
|
|
326
334
|
getMasterHlsVideoPlaylist: (itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, 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?: {
|
|
327
335
|
[key: string]: string;
|
|
328
|
-
}, enableAdaptiveBitrateStreaming?: boolean, enableTrickplay?: boolean, options?:
|
|
336
|
+
}, enableAdaptiveBitrateStreaming?: boolean, enableTrickplay?: boolean, enableAudioVbrEncoding?: boolean, alwaysBurnInSubtitleWhenTranscoding?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
329
337
|
/**
|
|
330
338
|
*
|
|
331
339
|
* @summary Gets an audio stream using HTTP live streaming.
|
|
@@ -340,7 +348,7 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
340
348
|
* @param {number} [minSegments] The minimum number of segments.
|
|
341
349
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
342
350
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
343
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
351
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
344
352
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
345
353
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
346
354
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -371,19 +379,20 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
371
379
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
372
380
|
* @param {string} [liveStreamId] The live stream id.
|
|
373
381
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
374
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
382
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
375
383
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
376
384
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
377
385
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
378
386
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
379
387
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
380
388
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
389
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
381
390
|
* @param {*} [options] Override http request option.
|
|
382
391
|
* @throws {RequiredError}
|
|
383
392
|
*/
|
|
384
393
|
getVariantHlsAudioPlaylist: (itemId: 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, maxStreamingBitrate?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: 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?: {
|
|
385
394
|
[key: string]: string;
|
|
386
|
-
}, options?:
|
|
395
|
+
}, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
387
396
|
/**
|
|
388
397
|
*
|
|
389
398
|
* @summary Gets a video stream using HTTP live streaming.
|
|
@@ -398,7 +407,7 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
398
407
|
* @param {number} [minSegments] The minimum number of segments.
|
|
399
408
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
400
409
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
401
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
410
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
402
411
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
403
412
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
404
413
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -430,19 +439,21 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
430
439
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
431
440
|
* @param {string} [liveStreamId] The live stream id.
|
|
432
441
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
433
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
442
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
434
443
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
435
444
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
436
445
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
437
446
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
438
447
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
439
448
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
449
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
450
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
440
451
|
* @param {*} [options] Override http request option.
|
|
441
452
|
* @throws {RequiredError}
|
|
442
453
|
*/
|
|
443
454
|
getVariantHlsVideoPlaylist: (itemId: 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?: {
|
|
444
455
|
[key: string]: string;
|
|
445
|
-
}, options?:
|
|
456
|
+
}, enableAudioVbrEncoding?: boolean, alwaysBurnInSubtitleWhenTranscoding?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
446
457
|
/**
|
|
447
458
|
*
|
|
448
459
|
* @summary Gets an audio hls playlist stream.
|
|
@@ -457,7 +468,7 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
457
468
|
* @param {number} [segmentLength] The segment length.
|
|
458
469
|
* @param {number} [minSegments] The minimum number of segments.
|
|
459
470
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
460
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
471
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
461
472
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
462
473
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
463
474
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -488,7 +499,7 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
488
499
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
489
500
|
* @param {string} [liveStreamId] The live stream id.
|
|
490
501
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
491
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
502
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
492
503
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
493
504
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
494
505
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -496,12 +507,13 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
496
507
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
497
508
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
498
509
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
510
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
499
511
|
* @param {*} [options] Override http request option.
|
|
500
512
|
* @throws {RequiredError}
|
|
501
513
|
*/
|
|
502
514
|
headMasterHlsAudioPlaylist: (itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, maxStreamingBitrate?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: 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?: {
|
|
503
515
|
[key: string]: string;
|
|
504
|
-
}, enableAdaptiveBitrateStreaming?: boolean, options?:
|
|
516
|
+
}, enableAdaptiveBitrateStreaming?: boolean, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
505
517
|
/**
|
|
506
518
|
*
|
|
507
519
|
* @summary Gets a video hls playlist stream.
|
|
@@ -516,7 +528,7 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
516
528
|
* @param {number} [segmentLength] The segment length.
|
|
517
529
|
* @param {number} [minSegments] The minimum number of segments.
|
|
518
530
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
519
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
531
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
520
532
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
521
533
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
522
534
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -548,7 +560,7 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
548
560
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
549
561
|
* @param {string} [liveStreamId] The live stream id.
|
|
550
562
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
551
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
563
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
552
564
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
553
565
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
554
566
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -557,12 +569,14 @@ export declare const DynamicHlsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
557
569
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
558
570
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
559
571
|
* @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist.
|
|
572
|
+
* @param {boolean} [enableAudioVbrEncoding] Whether to enable Audio Encoding.
|
|
573
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
560
574
|
* @param {*} [options] Override http request option.
|
|
561
575
|
* @throws {RequiredError}
|
|
562
576
|
*/
|
|
563
577
|
headMasterHlsVideoPlaylist: (itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, 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?: {
|
|
564
578
|
[key: string]: string;
|
|
565
|
-
}, enableAdaptiveBitrateStreaming?: boolean, enableTrickplay?: boolean, options?:
|
|
579
|
+
}, enableAdaptiveBitrateStreaming?: boolean, enableTrickplay?: boolean, enableAudioVbrEncoding?: boolean, alwaysBurnInSubtitleWhenTranscoding?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
566
580
|
};
|
|
567
581
|
/**
|
|
568
582
|
* DynamicHlsApi - functional programming interface
|
|
@@ -588,7 +602,7 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
588
602
|
* @param {number} [minSegments] The minimum number of segments.
|
|
589
603
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
590
604
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
591
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
605
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
592
606
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
593
607
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
594
608
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -619,19 +633,20 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
619
633
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
620
634
|
* @param {string} [liveStreamId] The live stream id.
|
|
621
635
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
622
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
636
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
623
637
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
624
638
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
625
639
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
626
640
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
627
641
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
628
642
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
643
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
629
644
|
* @param {*} [options] Override http request option.
|
|
630
645
|
* @throws {RequiredError}
|
|
631
646
|
*/
|
|
632
647
|
getHlsAudioSegment(itemId: string, playlistId: string, segmentId: number, container: string, runtimeTicks: number, actualSegmentLengthTicks: number, _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, maxStreamingBitrate?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: 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?: {
|
|
633
648
|
[key: string]: string;
|
|
634
|
-
}, options?:
|
|
649
|
+
}, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
635
650
|
/**
|
|
636
651
|
*
|
|
637
652
|
* @summary Gets a video stream using HTTP live streaming.
|
|
@@ -651,7 +666,7 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
651
666
|
* @param {number} [minSegments] The minimum number of segments.
|
|
652
667
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
653
668
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
654
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
669
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
655
670
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
656
671
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
657
672
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -683,19 +698,21 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
683
698
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
684
699
|
* @param {string} [liveStreamId] The live stream id.
|
|
685
700
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
686
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
701
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
687
702
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
688
703
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
689
704
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
690
705
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
691
706
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
692
707
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
708
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
709
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
693
710
|
* @param {*} [options] Override http request option.
|
|
694
711
|
* @throws {RequiredError}
|
|
695
712
|
*/
|
|
696
713
|
getHlsVideoSegment(itemId: string, playlistId: string, segmentId: number, container: string, runtimeTicks: number, actualSegmentLengthTicks: number, _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?: {
|
|
697
714
|
[key: string]: string;
|
|
698
|
-
}, options?:
|
|
715
|
+
}, enableAudioVbrEncoding?: boolean, alwaysBurnInSubtitleWhenTranscoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
699
716
|
/**
|
|
700
717
|
*
|
|
701
718
|
* @summary Gets a hls live stream.
|
|
@@ -711,7 +728,7 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
711
728
|
* @param {number} [minSegments] The minimum number of segments.
|
|
712
729
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
713
730
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
714
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
731
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
715
732
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
716
733
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
717
734
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -741,7 +758,7 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
741
758
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
742
759
|
* @param {string} [liveStreamId] The live stream id.
|
|
743
760
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
744
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
761
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
745
762
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
746
763
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
747
764
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -751,12 +768,14 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
751
768
|
* @param {number} [maxWidth] Optional. The max width.
|
|
752
769
|
* @param {number} [maxHeight] Optional. The max height.
|
|
753
770
|
* @param {boolean} [enableSubtitlesInManifest] Optional. Whether to enable subtitles in the manifest.
|
|
771
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
772
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
754
773
|
* @param {*} [options] Override http request option.
|
|
755
774
|
* @throws {RequiredError}
|
|
756
775
|
*/
|
|
757
776
|
getLiveHlsStream(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, 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?: {
|
|
758
777
|
[key: string]: string;
|
|
759
|
-
}, maxWidth?: number, maxHeight?: number, enableSubtitlesInManifest?: boolean, options?:
|
|
778
|
+
}, maxWidth?: number, maxHeight?: number, enableSubtitlesInManifest?: boolean, enableAudioVbrEncoding?: boolean, alwaysBurnInSubtitleWhenTranscoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
760
779
|
/**
|
|
761
780
|
*
|
|
762
781
|
* @summary Gets an audio hls playlist stream.
|
|
@@ -771,7 +790,7 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
771
790
|
* @param {number} [segmentLength] The segment length.
|
|
772
791
|
* @param {number} [minSegments] The minimum number of segments.
|
|
773
792
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
774
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
793
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
775
794
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
776
795
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
777
796
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -802,7 +821,7 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
802
821
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
803
822
|
* @param {string} [liveStreamId] The live stream id.
|
|
804
823
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
805
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
824
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
806
825
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
807
826
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
808
827
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -810,12 +829,13 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
810
829
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
811
830
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
812
831
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
832
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
813
833
|
* @param {*} [options] Override http request option.
|
|
814
834
|
* @throws {RequiredError}
|
|
815
835
|
*/
|
|
816
836
|
getMasterHlsAudioPlaylist(itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, maxStreamingBitrate?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: 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?: {
|
|
817
837
|
[key: string]: string;
|
|
818
|
-
}, enableAdaptiveBitrateStreaming?: boolean, options?:
|
|
838
|
+
}, enableAdaptiveBitrateStreaming?: boolean, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
819
839
|
/**
|
|
820
840
|
*
|
|
821
841
|
* @summary Gets a video hls playlist stream.
|
|
@@ -830,7 +850,7 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
830
850
|
* @param {number} [segmentLength] The segment length.
|
|
831
851
|
* @param {number} [minSegments] The minimum number of segments.
|
|
832
852
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
833
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
853
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
834
854
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
835
855
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
836
856
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -862,7 +882,7 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
862
882
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
863
883
|
* @param {string} [liveStreamId] The live stream id.
|
|
864
884
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
865
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
885
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
866
886
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
867
887
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
868
888
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -871,12 +891,14 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
871
891
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
872
892
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
873
893
|
* @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist.
|
|
894
|
+
* @param {boolean} [enableAudioVbrEncoding] Whether to enable Audio Encoding.
|
|
895
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
874
896
|
* @param {*} [options] Override http request option.
|
|
875
897
|
* @throws {RequiredError}
|
|
876
898
|
*/
|
|
877
899
|
getMasterHlsVideoPlaylist(itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, 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?: {
|
|
878
900
|
[key: string]: string;
|
|
879
|
-
}, enableAdaptiveBitrateStreaming?: boolean, enableTrickplay?: boolean, options?:
|
|
901
|
+
}, enableAdaptiveBitrateStreaming?: boolean, enableTrickplay?: boolean, enableAudioVbrEncoding?: boolean, alwaysBurnInSubtitleWhenTranscoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
880
902
|
/**
|
|
881
903
|
*
|
|
882
904
|
* @summary Gets an audio stream using HTTP live streaming.
|
|
@@ -891,7 +913,7 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
891
913
|
* @param {number} [minSegments] The minimum number of segments.
|
|
892
914
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
893
915
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
894
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
916
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
895
917
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
896
918
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
897
919
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -922,19 +944,20 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
922
944
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
923
945
|
* @param {string} [liveStreamId] The live stream id.
|
|
924
946
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
925
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
947
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
926
948
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
927
949
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
928
950
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
929
951
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
930
952
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
931
953
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
954
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
932
955
|
* @param {*} [options] Override http request option.
|
|
933
956
|
* @throws {RequiredError}
|
|
934
957
|
*/
|
|
935
958
|
getVariantHlsAudioPlaylist(itemId: 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, maxStreamingBitrate?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: 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?: {
|
|
936
959
|
[key: string]: string;
|
|
937
|
-
}, options?:
|
|
960
|
+
}, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
938
961
|
/**
|
|
939
962
|
*
|
|
940
963
|
* @summary Gets a video stream using HTTP live streaming.
|
|
@@ -949,7 +972,7 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
949
972
|
* @param {number} [minSegments] The minimum number of segments.
|
|
950
973
|
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
951
974
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
952
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
975
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
953
976
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
954
977
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
955
978
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -981,19 +1004,21 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
981
1004
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
982
1005
|
* @param {string} [liveStreamId] The live stream id.
|
|
983
1006
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
984
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
1007
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
985
1008
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
986
1009
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
987
1010
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
988
1011
|
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
989
1012
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
990
1013
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1014
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
1015
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
991
1016
|
* @param {*} [options] Override http request option.
|
|
992
1017
|
* @throws {RequiredError}
|
|
993
1018
|
*/
|
|
994
1019
|
getVariantHlsVideoPlaylist(itemId: 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?: {
|
|
995
1020
|
[key: string]: string;
|
|
996
|
-
}, options?:
|
|
1021
|
+
}, enableAudioVbrEncoding?: boolean, alwaysBurnInSubtitleWhenTranscoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
997
1022
|
/**
|
|
998
1023
|
*
|
|
999
1024
|
* @summary Gets an audio hls playlist stream.
|
|
@@ -1008,7 +1033,7 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
1008
1033
|
* @param {number} [segmentLength] The segment length.
|
|
1009
1034
|
* @param {number} [minSegments] The minimum number of segments.
|
|
1010
1035
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1011
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
1036
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
1012
1037
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1013
1038
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1014
1039
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -1039,7 +1064,7 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
1039
1064
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1040
1065
|
* @param {string} [liveStreamId] The live stream id.
|
|
1041
1066
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1042
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
1067
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
1043
1068
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1044
1069
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1045
1070
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -1047,12 +1072,13 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
1047
1072
|
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1048
1073
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1049
1074
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
1075
|
+
* @param {boolean} [enableAudioVbrEncoding] Optional. Whether to enable Audio Encoding.
|
|
1050
1076
|
* @param {*} [options] Override http request option.
|
|
1051
1077
|
* @throws {RequiredError}
|
|
1052
1078
|
*/
|
|
1053
1079
|
headMasterHlsAudioPlaylist(itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, maxStreamingBitrate?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: 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?: {
|
|
1054
1080
|
[key: string]: string;
|
|
1055
|
-
}, enableAdaptiveBitrateStreaming?: boolean, options?:
|
|
1081
|
+
}, enableAdaptiveBitrateStreaming?: boolean, enableAudioVbrEncoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1056
1082
|
/**
|
|
1057
1083
|
*
|
|
1058
1084
|
* @summary Gets a video hls playlist stream.
|
|
@@ -1067,7 +1093,7 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
1067
1093
|
* @param {number} [segmentLength] The segment length.
|
|
1068
1094
|
* @param {number} [minSegments] The minimum number of segments.
|
|
1069
1095
|
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1070
|
-
* @param {string} [audioCodec] Optional. Specify
|
|
1096
|
+
* @param {string} [audioCodec] Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
1071
1097
|
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1072
1098
|
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1073
1099
|
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
@@ -1099,7 +1125,7 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
1099
1125
|
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1100
1126
|
* @param {string} [liveStreamId] The live stream id.
|
|
1101
1127
|
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1102
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
1128
|
+
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264.
|
|
1103
1129
|
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1104
1130
|
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1105
1131
|
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
@@ -1108,12 +1134,14 @@ export declare const DynamicHlsApiFp: (configuration?: Configuration) => {
|
|
|
1108
1134
|
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1109
1135
|
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
1110
1136
|
* @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist.
|
|
1137
|
+
* @param {boolean} [enableAudioVbrEncoding] Whether to enable Audio Encoding.
|
|
1138
|
+
* @param {boolean} [alwaysBurnInSubtitleWhenTranscoding] Whether to always burn in subtitles when transcoding.
|
|
1111
1139
|
* @param {*} [options] Override http request option.
|
|
1112
1140
|
* @throws {RequiredError}
|
|
1113
1141
|
*/
|
|
1114
1142
|
headMasterHlsVideoPlaylist(itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, 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?: {
|
|
1115
1143
|
[key: string]: string;
|
|
1116
|
-
}, enableAdaptiveBitrateStreaming?: boolean, enableTrickplay?: boolean, options?:
|
|
1144
|
+
}, enableAdaptiveBitrateStreaming?: boolean, enableTrickplay?: boolean, enableAudioVbrEncoding?: boolean, alwaysBurnInSubtitleWhenTranscoding?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1117
1145
|
};
|
|
1118
1146
|
/**
|
|
1119
1147
|
* DynamicHlsApi - factory interface
|
|
@@ -1123,548 +1151,75 @@ export declare const DynamicHlsApiFactory: (configuration?: Configuration, baseP
|
|
|
1123
1151
|
/**
|
|
1124
1152
|
*
|
|
1125
1153
|
* @summary Gets a video stream using HTTP live streaming.
|
|
1126
|
-
* @param {
|
|
1127
|
-
* @param {string} playlistId The playlist id.
|
|
1128
|
-
* @param {number} segmentId The segment id.
|
|
1129
|
-
* @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.
|
|
1130
|
-
* @param {number} runtimeTicks The position of the requested segment in ticks.
|
|
1131
|
-
* @param {number} actualSegmentLengthTicks The length of the requested segment in ticks.
|
|
1132
|
-
* @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.
|
|
1133
|
-
* @param {string} [params] The streaming parameters.
|
|
1134
|
-
* @param {string} [tag] The tag.
|
|
1135
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
1136
|
-
* @param {string} [playSessionId] The play session id.
|
|
1137
|
-
* @param {string} [segmentContainer] The segment container.
|
|
1138
|
-
* @param {number} [segmentLength] The segment length.
|
|
1139
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
1140
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
1141
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1142
|
-
* @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.
|
|
1143
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1144
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1145
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
1146
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
1147
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
1148
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
1149
|
-
* @param {number} [maxStreamingBitrate] Optional. The maximum streaming bitrate.
|
|
1150
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
1151
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
1152
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
1153
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
1154
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
1155
|
-
* @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.
|
|
1156
|
-
* @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.
|
|
1157
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
1158
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
1159
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
1160
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
1161
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
1162
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
1163
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
1164
|
-
* @param {number} [maxRefFrames] Optional.
|
|
1165
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
1166
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
1167
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
1168
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
1169
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
1170
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1171
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
1172
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1173
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vpx, wmv.
|
|
1174
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1175
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1176
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
1177
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
1178
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1179
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1180
|
-
* @param {*} [options] Override http request option.
|
|
1181
|
-
* @throws {RequiredError}
|
|
1182
|
-
*/
|
|
1183
|
-
getHlsAudioSegment(itemId: string, playlistId: string, segmentId: number, container: string, runtimeTicks: number, actualSegmentLengthTicks: number, _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, maxStreamingBitrate?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: 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?: {
|
|
1184
|
-
[key: string]: string;
|
|
1185
|
-
}, options?: any): AxiosPromise<any>;
|
|
1186
|
-
/**
|
|
1187
|
-
*
|
|
1188
|
-
* @summary Gets a video stream using HTTP live streaming.
|
|
1189
|
-
* @param {string} itemId The item id.
|
|
1190
|
-
* @param {string} playlistId The playlist id.
|
|
1191
|
-
* @param {number} segmentId The segment id.
|
|
1192
|
-
* @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.
|
|
1193
|
-
* @param {number} runtimeTicks The position of the requested segment in ticks.
|
|
1194
|
-
* @param {number} actualSegmentLengthTicks The length of the requested segment in ticks.
|
|
1195
|
-
* @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.
|
|
1196
|
-
* @param {string} [params] The streaming parameters.
|
|
1197
|
-
* @param {string} [tag] The tag.
|
|
1198
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
1199
|
-
* @param {string} [playSessionId] The play session id.
|
|
1200
|
-
* @param {string} [segmentContainer] The segment container.
|
|
1201
|
-
* @param {number} [segmentLength] The desired segment length.
|
|
1202
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
1203
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
1204
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1205
|
-
* @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.
|
|
1206
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1207
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1208
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
1209
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
1210
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
1211
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
1212
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
1213
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
1214
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
1215
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
1216
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
1217
|
-
* @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.
|
|
1218
|
-
* @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.
|
|
1219
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
1220
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
1221
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
1222
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
1223
|
-
* @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
|
|
1224
|
-
* @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
|
|
1225
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
1226
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
1227
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
1228
|
-
* @param {number} [maxRefFrames] Optional.
|
|
1229
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
1230
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
1231
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
1232
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
1233
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
1234
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1235
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
1236
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1237
|
-
* @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.
|
|
1238
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1239
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1240
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
1241
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
1242
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1243
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1244
|
-
* @param {*} [options] Override http request option.
|
|
1245
|
-
* @throws {RequiredError}
|
|
1246
|
-
*/
|
|
1247
|
-
getHlsVideoSegment(itemId: string, playlistId: string, segmentId: number, container: string, runtimeTicks: number, actualSegmentLengthTicks: number, _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?: {
|
|
1248
|
-
[key: string]: string;
|
|
1249
|
-
}, options?: any): AxiosPromise<any>;
|
|
1250
|
-
/**
|
|
1251
|
-
*
|
|
1252
|
-
* @summary Gets a hls live stream.
|
|
1253
|
-
* @param {string} itemId The item id.
|
|
1254
|
-
* @param {string} [container] The audio container.
|
|
1255
|
-
* @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.
|
|
1256
|
-
* @param {string} [params] The streaming parameters.
|
|
1257
|
-
* @param {string} [tag] The tag.
|
|
1258
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
1259
|
-
* @param {string} [playSessionId] The play session id.
|
|
1260
|
-
* @param {string} [segmentContainer] The segment container.
|
|
1261
|
-
* @param {number} [segmentLength] The segment length.
|
|
1262
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
1263
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
1264
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1265
|
-
* @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.
|
|
1266
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1267
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1268
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
1269
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
1270
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
1271
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
1272
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
1273
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
1274
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
1275
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
1276
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
1277
|
-
* @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.
|
|
1278
|
-
* @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.
|
|
1279
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
1280
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
1281
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
1282
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
1283
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
1284
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
1285
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
1286
|
-
* @param {number} [maxRefFrames] Optional.
|
|
1287
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
1288
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
1289
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
1290
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
1291
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
1292
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1293
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
1294
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1295
|
-
* @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.
|
|
1296
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1297
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1298
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
1299
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
1300
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1301
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1302
|
-
* @param {number} [maxWidth] Optional. The max width.
|
|
1303
|
-
* @param {number} [maxHeight] Optional. The max height.
|
|
1304
|
-
* @param {boolean} [enableSubtitlesInManifest] Optional. Whether to enable subtitles in the manifest.
|
|
1305
|
-
* @param {*} [options] Override http request option.
|
|
1306
|
-
* @throws {RequiredError}
|
|
1307
|
-
*/
|
|
1308
|
-
getLiveHlsStream(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, 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?: {
|
|
1309
|
-
[key: string]: string;
|
|
1310
|
-
}, maxWidth?: number, maxHeight?: number, enableSubtitlesInManifest?: boolean, options?: any): AxiosPromise<any>;
|
|
1311
|
-
/**
|
|
1312
|
-
*
|
|
1313
|
-
* @summary Gets an audio hls playlist stream.
|
|
1314
|
-
* @param {string} itemId The item id.
|
|
1315
|
-
* @param {string} mediaSourceId The media version id, if playing an alternate version.
|
|
1316
|
-
* @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.
|
|
1317
|
-
* @param {string} [params] The streaming parameters.
|
|
1318
|
-
* @param {string} [tag] The tag.
|
|
1319
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
1320
|
-
* @param {string} [playSessionId] The play session id.
|
|
1321
|
-
* @param {string} [segmentContainer] The segment container.
|
|
1322
|
-
* @param {number} [segmentLength] The segment length.
|
|
1323
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
1324
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1325
|
-
* @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.
|
|
1326
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1327
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1328
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
1329
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
1330
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
1331
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
1332
|
-
* @param {number} [maxStreamingBitrate] Optional. The maximum streaming bitrate.
|
|
1333
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
1334
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
1335
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
1336
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
1337
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
1338
|
-
* @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.
|
|
1339
|
-
* @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.
|
|
1340
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
1341
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
1342
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
1343
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
1344
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
1345
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
1346
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
1347
|
-
* @param {number} [maxRefFrames] Optional.
|
|
1348
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
1349
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
1350
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
1351
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
1352
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
1353
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1354
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
1355
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1356
|
-
* @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.
|
|
1357
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1358
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1359
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
1360
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
1361
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1362
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1363
|
-
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
1364
|
-
* @param {*} [options] Override http request option.
|
|
1365
|
-
* @throws {RequiredError}
|
|
1366
|
-
*/
|
|
1367
|
-
getMasterHlsAudioPlaylist(itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, maxStreamingBitrate?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: 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?: {
|
|
1368
|
-
[key: string]: string;
|
|
1369
|
-
}, enableAdaptiveBitrateStreaming?: boolean, options?: any): AxiosPromise<any>;
|
|
1370
|
-
/**
|
|
1371
|
-
*
|
|
1372
|
-
* @summary Gets a video hls playlist stream.
|
|
1373
|
-
* @param {string} itemId The item id.
|
|
1374
|
-
* @param {string} mediaSourceId The media version id, if playing an alternate version.
|
|
1375
|
-
* @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.
|
|
1376
|
-
* @param {string} [params] The streaming parameters.
|
|
1377
|
-
* @param {string} [tag] The tag.
|
|
1378
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
1379
|
-
* @param {string} [playSessionId] The play session id.
|
|
1380
|
-
* @param {string} [segmentContainer] The segment container.
|
|
1381
|
-
* @param {number} [segmentLength] The segment length.
|
|
1382
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
1383
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1384
|
-
* @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.
|
|
1385
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1386
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1387
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
1388
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
1389
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
1390
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
1391
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
1392
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
1393
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
1394
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
1395
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
1396
|
-
* @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.
|
|
1397
|
-
* @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.
|
|
1398
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
1399
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
1400
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
1401
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
1402
|
-
* @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
|
|
1403
|
-
* @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
|
|
1404
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
1405
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
1406
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
1407
|
-
* @param {number} [maxRefFrames] Optional.
|
|
1408
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
1409
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
1410
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
1411
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
1412
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
1413
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1414
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
1415
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1416
|
-
* @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.
|
|
1417
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1418
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1419
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
1420
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
1421
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1422
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1423
|
-
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
1424
|
-
* @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist.
|
|
1425
|
-
* @param {*} [options] Override http request option.
|
|
1426
|
-
* @throws {RequiredError}
|
|
1427
|
-
*/
|
|
1428
|
-
getMasterHlsVideoPlaylist(itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, 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?: {
|
|
1429
|
-
[key: string]: string;
|
|
1430
|
-
}, enableAdaptiveBitrateStreaming?: boolean, enableTrickplay?: boolean, options?: any): AxiosPromise<any>;
|
|
1431
|
-
/**
|
|
1432
|
-
*
|
|
1433
|
-
* @summary Gets an audio stream using HTTP live streaming.
|
|
1434
|
-
* @param {string} itemId The item id.
|
|
1435
|
-
* @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.
|
|
1436
|
-
* @param {string} [params] The streaming parameters.
|
|
1437
|
-
* @param {string} [tag] The tag.
|
|
1438
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
1439
|
-
* @param {string} [playSessionId] The play session id.
|
|
1440
|
-
* @param {string} [segmentContainer] The segment container.
|
|
1441
|
-
* @param {number} [segmentLength] The segment length.
|
|
1442
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
1443
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
1444
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1445
|
-
* @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.
|
|
1446
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1447
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1448
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
1449
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
1450
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
1451
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
1452
|
-
* @param {number} [maxStreamingBitrate] Optional. The maximum streaming bitrate.
|
|
1453
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
1454
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
1455
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
1456
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
1457
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
1458
|
-
* @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.
|
|
1459
|
-
* @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.
|
|
1460
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
1461
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
1462
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
1463
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
1464
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
1465
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
1466
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
1467
|
-
* @param {number} [maxRefFrames] Optional.
|
|
1468
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
1469
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
1470
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
1471
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
1472
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
1473
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1474
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
1475
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1476
|
-
* @param {string} [videoCodec] Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url\'s extension. Options: h265, h264, mpeg4, theora, vpx, wmv.
|
|
1477
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1478
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1479
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
1480
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
1481
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1482
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1154
|
+
* @param {DynamicHlsApiGetHlsAudioSegmentRequest} requestParameters Request parameters.
|
|
1483
1155
|
* @param {*} [options] Override http request option.
|
|
1484
1156
|
* @throws {RequiredError}
|
|
1485
1157
|
*/
|
|
1486
|
-
|
|
1487
|
-
[key: string]: string;
|
|
1488
|
-
}, options?: any): AxiosPromise<any>;
|
|
1158
|
+
getHlsAudioSegment(requestParameters: DynamicHlsApiGetHlsAudioSegmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
1489
1159
|
/**
|
|
1490
1160
|
*
|
|
1491
1161
|
* @summary Gets a video stream using HTTP live streaming.
|
|
1492
|
-
* @param {
|
|
1493
|
-
* @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.
|
|
1494
|
-
* @param {string} [params] The streaming parameters.
|
|
1495
|
-
* @param {string} [tag] The tag.
|
|
1496
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
1497
|
-
* @param {string} [playSessionId] The play session id.
|
|
1498
|
-
* @param {string} [segmentContainer] The segment container.
|
|
1499
|
-
* @param {number} [segmentLength] The segment length.
|
|
1500
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
1501
|
-
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
1502
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1503
|
-
* @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.
|
|
1504
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1505
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1506
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
1507
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
1508
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
1509
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
1510
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
1511
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
1512
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
1513
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
1514
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
1515
|
-
* @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.
|
|
1516
|
-
* @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.
|
|
1517
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
1518
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
1519
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
1520
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
1521
|
-
* @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
|
|
1522
|
-
* @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
|
|
1523
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
1524
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
1525
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
1526
|
-
* @param {number} [maxRefFrames] Optional.
|
|
1527
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
1528
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
1529
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
1530
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
1531
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
1532
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1533
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
1534
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1535
|
-
* @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.
|
|
1536
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1537
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1538
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
1539
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
1540
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1541
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1162
|
+
* @param {DynamicHlsApiGetHlsVideoSegmentRequest} requestParameters Request parameters.
|
|
1542
1163
|
* @param {*} [options] Override http request option.
|
|
1543
1164
|
* @throws {RequiredError}
|
|
1544
1165
|
*/
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1166
|
+
getHlsVideoSegment(requestParameters: DynamicHlsApiGetHlsVideoSegmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
1167
|
+
/**
|
|
1168
|
+
*
|
|
1169
|
+
* @summary Gets a hls live stream.
|
|
1170
|
+
* @param {DynamicHlsApiGetLiveHlsStreamRequest} requestParameters Request parameters.
|
|
1171
|
+
* @param {*} [options] Override http request option.
|
|
1172
|
+
* @throws {RequiredError}
|
|
1173
|
+
*/
|
|
1174
|
+
getLiveHlsStream(requestParameters: DynamicHlsApiGetLiveHlsStreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
1548
1175
|
/**
|
|
1549
1176
|
*
|
|
1550
1177
|
* @summary Gets an audio hls playlist stream.
|
|
1551
|
-
* @param {
|
|
1552
|
-
* @param {string} mediaSourceId The media version id, if playing an alternate version.
|
|
1553
|
-
* @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.
|
|
1554
|
-
* @param {string} [params] The streaming parameters.
|
|
1555
|
-
* @param {string} [tag] The tag.
|
|
1556
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
1557
|
-
* @param {string} [playSessionId] The play session id.
|
|
1558
|
-
* @param {string} [segmentContainer] The segment container.
|
|
1559
|
-
* @param {number} [segmentLength] The segment length.
|
|
1560
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
1561
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1562
|
-
* @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.
|
|
1563
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1564
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1565
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
1566
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
1567
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
1568
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
1569
|
-
* @param {number} [maxStreamingBitrate] Optional. The maximum streaming bitrate.
|
|
1570
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
1571
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
1572
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
1573
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
1574
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
1575
|
-
* @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.
|
|
1576
|
-
* @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.
|
|
1577
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
1578
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
1579
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
1580
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
1581
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
1582
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
1583
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
1584
|
-
* @param {number} [maxRefFrames] Optional.
|
|
1585
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
1586
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
1587
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
1588
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
1589
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
1590
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1591
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
1592
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1593
|
-
* @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.
|
|
1594
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1595
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1596
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
1597
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
1598
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1599
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1600
|
-
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
1178
|
+
* @param {DynamicHlsApiGetMasterHlsAudioPlaylistRequest} requestParameters Request parameters.
|
|
1601
1179
|
* @param {*} [options] Override http request option.
|
|
1602
1180
|
* @throws {RequiredError}
|
|
1603
1181
|
*/
|
|
1604
|
-
|
|
1605
|
-
[key: string]: string;
|
|
1606
|
-
}, enableAdaptiveBitrateStreaming?: boolean, options?: any): AxiosPromise<any>;
|
|
1182
|
+
getMasterHlsAudioPlaylist(requestParameters: DynamicHlsApiGetMasterHlsAudioPlaylistRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
1607
1183
|
/**
|
|
1608
1184
|
*
|
|
1609
1185
|
* @summary Gets a video hls playlist stream.
|
|
1610
|
-
* @param {
|
|
1611
|
-
* @param {string} mediaSourceId The media version id, if playing an alternate version.
|
|
1612
|
-
* @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.
|
|
1613
|
-
* @param {string} [params] The streaming parameters.
|
|
1614
|
-
* @param {string} [tag] The tag.
|
|
1615
|
-
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
1616
|
-
* @param {string} [playSessionId] The play session id.
|
|
1617
|
-
* @param {string} [segmentContainer] The segment container.
|
|
1618
|
-
* @param {number} [segmentLength] The segment length.
|
|
1619
|
-
* @param {number} [minSegments] The minimum number of segments.
|
|
1620
|
-
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1621
|
-
* @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.
|
|
1622
|
-
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1623
|
-
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
1624
|
-
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
1625
|
-
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
1626
|
-
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
1627
|
-
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
1628
|
-
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
1629
|
-
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
1630
|
-
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
1631
|
-
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
1632
|
-
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
1633
|
-
* @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.
|
|
1634
|
-
* @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.
|
|
1635
|
-
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
1636
|
-
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
1637
|
-
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
1638
|
-
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
1639
|
-
* @param {number} [maxWidth] Optional. The maximum horizontal resolution of the encoded video.
|
|
1640
|
-
* @param {number} [maxHeight] Optional. The maximum vertical resolution of the encoded video.
|
|
1641
|
-
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
1642
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
1643
|
-
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
1644
|
-
* @param {number} [maxRefFrames] Optional.
|
|
1645
|
-
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
1646
|
-
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
1647
|
-
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
1648
|
-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
1649
|
-
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
1650
|
-
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
1651
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
1652
|
-
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1653
|
-
* @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.
|
|
1654
|
-
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
1655
|
-
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
1656
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
1657
|
-
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
1658
|
-
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1659
|
-
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
1660
|
-
* @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming.
|
|
1661
|
-
* @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist.
|
|
1186
|
+
* @param {DynamicHlsApiGetMasterHlsVideoPlaylistRequest} requestParameters Request parameters.
|
|
1662
1187
|
* @param {*} [options] Override http request option.
|
|
1663
1188
|
* @throws {RequiredError}
|
|
1664
1189
|
*/
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1190
|
+
getMasterHlsVideoPlaylist(requestParameters: DynamicHlsApiGetMasterHlsVideoPlaylistRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
1191
|
+
/**
|
|
1192
|
+
*
|
|
1193
|
+
* @summary Gets an audio stream using HTTP live streaming.
|
|
1194
|
+
* @param {DynamicHlsApiGetVariantHlsAudioPlaylistRequest} requestParameters Request parameters.
|
|
1195
|
+
* @param {*} [options] Override http request option.
|
|
1196
|
+
* @throws {RequiredError}
|
|
1197
|
+
*/
|
|
1198
|
+
getVariantHlsAudioPlaylist(requestParameters: DynamicHlsApiGetVariantHlsAudioPlaylistRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
1199
|
+
/**
|
|
1200
|
+
*
|
|
1201
|
+
* @summary Gets a video stream using HTTP live streaming.
|
|
1202
|
+
* @param {DynamicHlsApiGetVariantHlsVideoPlaylistRequest} requestParameters Request parameters.
|
|
1203
|
+
* @param {*} [options] Override http request option.
|
|
1204
|
+
* @throws {RequiredError}
|
|
1205
|
+
*/
|
|
1206
|
+
getVariantHlsVideoPlaylist(requestParameters: DynamicHlsApiGetVariantHlsVideoPlaylistRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
1207
|
+
/**
|
|
1208
|
+
*
|
|
1209
|
+
* @summary Gets an audio hls playlist stream.
|
|
1210
|
+
* @param {DynamicHlsApiHeadMasterHlsAudioPlaylistRequest} requestParameters Request parameters.
|
|
1211
|
+
* @param {*} [options] Override http request option.
|
|
1212
|
+
* @throws {RequiredError}
|
|
1213
|
+
*/
|
|
1214
|
+
headMasterHlsAudioPlaylist(requestParameters: DynamicHlsApiHeadMasterHlsAudioPlaylistRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
1215
|
+
/**
|
|
1216
|
+
*
|
|
1217
|
+
* @summary Gets a video hls playlist stream.
|
|
1218
|
+
* @param {DynamicHlsApiHeadMasterHlsVideoPlaylistRequest} requestParameters Request parameters.
|
|
1219
|
+
* @param {*} [options] Override http request option.
|
|
1220
|
+
* @throws {RequiredError}
|
|
1221
|
+
*/
|
|
1222
|
+
headMasterHlsVideoPlaylist(requestParameters: DynamicHlsApiHeadMasterHlsVideoPlaylistRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
1668
1223
|
};
|
|
1669
1224
|
/**
|
|
1670
1225
|
* Request parameters for getHlsAudioSegment operation in DynamicHlsApi.
|
|
@@ -1769,7 +1324,7 @@ export interface DynamicHlsApiGetHlsAudioSegmentRequest {
|
|
|
1769
1324
|
*/
|
|
1770
1325
|
readonly deviceId?: string;
|
|
1771
1326
|
/**
|
|
1772
|
-
* Optional. Specify
|
|
1327
|
+
* Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
1773
1328
|
* @type {string}
|
|
1774
1329
|
* @memberof DynamicHlsApiGetHlsAudioSegment
|
|
1775
1330
|
*/
|
|
@@ -1955,7 +1510,7 @@ export interface DynamicHlsApiGetHlsAudioSegmentRequest {
|
|
|
1955
1510
|
*/
|
|
1956
1511
|
readonly enableMpegtsM2TsMode?: boolean;
|
|
1957
1512
|
/**
|
|
1958
|
-
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
1513
|
+
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
1959
1514
|
* @type {string}
|
|
1960
1515
|
* @memberof DynamicHlsApiGetHlsAudioSegment
|
|
1961
1516
|
*/
|
|
@@ -1998,6 +1553,12 @@ export interface DynamicHlsApiGetHlsAudioSegmentRequest {
|
|
|
1998
1553
|
readonly streamOptions?: {
|
|
1999
1554
|
[key: string]: string;
|
|
2000
1555
|
};
|
|
1556
|
+
/**
|
|
1557
|
+
* Optional. Whether to enable Audio Encoding.
|
|
1558
|
+
* @type {boolean}
|
|
1559
|
+
* @memberof DynamicHlsApiGetHlsAudioSegment
|
|
1560
|
+
*/
|
|
1561
|
+
readonly enableAudioVbrEncoding?: boolean;
|
|
2001
1562
|
}
|
|
2002
1563
|
/**
|
|
2003
1564
|
* Request parameters for getHlsVideoSegment operation in DynamicHlsApi.
|
|
@@ -2102,7 +1663,7 @@ export interface DynamicHlsApiGetHlsVideoSegmentRequest {
|
|
|
2102
1663
|
*/
|
|
2103
1664
|
readonly deviceId?: string;
|
|
2104
1665
|
/**
|
|
2105
|
-
* Optional. Specify
|
|
1666
|
+
* Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2106
1667
|
* @type {string}
|
|
2107
1668
|
* @memberof DynamicHlsApiGetHlsVideoSegment
|
|
2108
1669
|
*/
|
|
@@ -2294,7 +1855,7 @@ export interface DynamicHlsApiGetHlsVideoSegmentRequest {
|
|
|
2294
1855
|
*/
|
|
2295
1856
|
readonly enableMpegtsM2TsMode?: boolean;
|
|
2296
1857
|
/**
|
|
2297
|
-
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
1858
|
+
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
2298
1859
|
* @type {string}
|
|
2299
1860
|
* @memberof DynamicHlsApiGetHlsVideoSegment
|
|
2300
1861
|
*/
|
|
@@ -2337,6 +1898,18 @@ export interface DynamicHlsApiGetHlsVideoSegmentRequest {
|
|
|
2337
1898
|
readonly streamOptions?: {
|
|
2338
1899
|
[key: string]: string;
|
|
2339
1900
|
};
|
|
1901
|
+
/**
|
|
1902
|
+
* Optional. Whether to enable Audio Encoding.
|
|
1903
|
+
* @type {boolean}
|
|
1904
|
+
* @memberof DynamicHlsApiGetHlsVideoSegment
|
|
1905
|
+
*/
|
|
1906
|
+
readonly enableAudioVbrEncoding?: boolean;
|
|
1907
|
+
/**
|
|
1908
|
+
* Whether to always burn in subtitles when transcoding.
|
|
1909
|
+
* @type {boolean}
|
|
1910
|
+
* @memberof DynamicHlsApiGetHlsVideoSegment
|
|
1911
|
+
*/
|
|
1912
|
+
readonly alwaysBurnInSubtitleWhenTranscoding?: boolean;
|
|
2340
1913
|
}
|
|
2341
1914
|
/**
|
|
2342
1915
|
* Request parameters for getLiveHlsStream operation in DynamicHlsApi.
|
|
@@ -2417,7 +1990,7 @@ export interface DynamicHlsApiGetLiveHlsStreamRequest {
|
|
|
2417
1990
|
*/
|
|
2418
1991
|
readonly deviceId?: string;
|
|
2419
1992
|
/**
|
|
2420
|
-
* Optional. Specify
|
|
1993
|
+
* Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2421
1994
|
* @type {string}
|
|
2422
1995
|
* @memberof DynamicHlsApiGetLiveHlsStream
|
|
2423
1996
|
*/
|
|
@@ -2597,7 +2170,7 @@ export interface DynamicHlsApiGetLiveHlsStreamRequest {
|
|
|
2597
2170
|
*/
|
|
2598
2171
|
readonly enableMpegtsM2TsMode?: boolean;
|
|
2599
2172
|
/**
|
|
2600
|
-
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
2173
|
+
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
2601
2174
|
* @type {string}
|
|
2602
2175
|
* @memberof DynamicHlsApiGetLiveHlsStream
|
|
2603
2176
|
*/
|
|
@@ -2658,6 +2231,18 @@ export interface DynamicHlsApiGetLiveHlsStreamRequest {
|
|
|
2658
2231
|
* @memberof DynamicHlsApiGetLiveHlsStream
|
|
2659
2232
|
*/
|
|
2660
2233
|
readonly enableSubtitlesInManifest?: boolean;
|
|
2234
|
+
/**
|
|
2235
|
+
* Optional. Whether to enable Audio Encoding.
|
|
2236
|
+
* @type {boolean}
|
|
2237
|
+
* @memberof DynamicHlsApiGetLiveHlsStream
|
|
2238
|
+
*/
|
|
2239
|
+
readonly enableAudioVbrEncoding?: boolean;
|
|
2240
|
+
/**
|
|
2241
|
+
* Whether to always burn in subtitles when transcoding.
|
|
2242
|
+
* @type {boolean}
|
|
2243
|
+
* @memberof DynamicHlsApiGetLiveHlsStream
|
|
2244
|
+
*/
|
|
2245
|
+
readonly alwaysBurnInSubtitleWhenTranscoding?: boolean;
|
|
2661
2246
|
}
|
|
2662
2247
|
/**
|
|
2663
2248
|
* Request parameters for getMasterHlsAudioPlaylist operation in DynamicHlsApi.
|
|
@@ -2732,7 +2317,7 @@ export interface DynamicHlsApiGetMasterHlsAudioPlaylistRequest {
|
|
|
2732
2317
|
*/
|
|
2733
2318
|
readonly deviceId?: string;
|
|
2734
2319
|
/**
|
|
2735
|
-
* Optional. Specify
|
|
2320
|
+
* Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
2736
2321
|
* @type {string}
|
|
2737
2322
|
* @memberof DynamicHlsApiGetMasterHlsAudioPlaylist
|
|
2738
2323
|
*/
|
|
@@ -2918,7 +2503,7 @@ export interface DynamicHlsApiGetMasterHlsAudioPlaylistRequest {
|
|
|
2918
2503
|
*/
|
|
2919
2504
|
readonly enableMpegtsM2TsMode?: boolean;
|
|
2920
2505
|
/**
|
|
2921
|
-
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
2506
|
+
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
2922
2507
|
* @type {string}
|
|
2923
2508
|
* @memberof DynamicHlsApiGetMasterHlsAudioPlaylist
|
|
2924
2509
|
*/
|
|
@@ -2967,6 +2552,12 @@ export interface DynamicHlsApiGetMasterHlsAudioPlaylistRequest {
|
|
|
2967
2552
|
* @memberof DynamicHlsApiGetMasterHlsAudioPlaylist
|
|
2968
2553
|
*/
|
|
2969
2554
|
readonly enableAdaptiveBitrateStreaming?: boolean;
|
|
2555
|
+
/**
|
|
2556
|
+
* Optional. Whether to enable Audio Encoding.
|
|
2557
|
+
* @type {boolean}
|
|
2558
|
+
* @memberof DynamicHlsApiGetMasterHlsAudioPlaylist
|
|
2559
|
+
*/
|
|
2560
|
+
readonly enableAudioVbrEncoding?: boolean;
|
|
2970
2561
|
}
|
|
2971
2562
|
/**
|
|
2972
2563
|
* Request parameters for getMasterHlsVideoPlaylist operation in DynamicHlsApi.
|
|
@@ -3041,7 +2632,7 @@ export interface DynamicHlsApiGetMasterHlsVideoPlaylistRequest {
|
|
|
3041
2632
|
*/
|
|
3042
2633
|
readonly deviceId?: string;
|
|
3043
2634
|
/**
|
|
3044
|
-
* Optional. Specify
|
|
2635
|
+
* Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
3045
2636
|
* @type {string}
|
|
3046
2637
|
* @memberof DynamicHlsApiGetMasterHlsVideoPlaylist
|
|
3047
2638
|
*/
|
|
@@ -3233,7 +2824,7 @@ export interface DynamicHlsApiGetMasterHlsVideoPlaylistRequest {
|
|
|
3233
2824
|
*/
|
|
3234
2825
|
readonly enableMpegtsM2TsMode?: boolean;
|
|
3235
2826
|
/**
|
|
3236
|
-
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
2827
|
+
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
3237
2828
|
* @type {string}
|
|
3238
2829
|
* @memberof DynamicHlsApiGetMasterHlsVideoPlaylist
|
|
3239
2830
|
*/
|
|
@@ -3288,6 +2879,18 @@ export interface DynamicHlsApiGetMasterHlsVideoPlaylistRequest {
|
|
|
3288
2879
|
* @memberof DynamicHlsApiGetMasterHlsVideoPlaylist
|
|
3289
2880
|
*/
|
|
3290
2881
|
readonly enableTrickplay?: boolean;
|
|
2882
|
+
/**
|
|
2883
|
+
* Whether to enable Audio Encoding.
|
|
2884
|
+
* @type {boolean}
|
|
2885
|
+
* @memberof DynamicHlsApiGetMasterHlsVideoPlaylist
|
|
2886
|
+
*/
|
|
2887
|
+
readonly enableAudioVbrEncoding?: boolean;
|
|
2888
|
+
/**
|
|
2889
|
+
* Whether to always burn in subtitles when transcoding.
|
|
2890
|
+
* @type {boolean}
|
|
2891
|
+
* @memberof DynamicHlsApiGetMasterHlsVideoPlaylist
|
|
2892
|
+
*/
|
|
2893
|
+
readonly alwaysBurnInSubtitleWhenTranscoding?: boolean;
|
|
3291
2894
|
}
|
|
3292
2895
|
/**
|
|
3293
2896
|
* Request parameters for getVariantHlsAudioPlaylist operation in DynamicHlsApi.
|
|
@@ -3362,7 +2965,7 @@ export interface DynamicHlsApiGetVariantHlsAudioPlaylistRequest {
|
|
|
3362
2965
|
*/
|
|
3363
2966
|
readonly deviceId?: string;
|
|
3364
2967
|
/**
|
|
3365
|
-
* Optional. Specify
|
|
2968
|
+
* Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
3366
2969
|
* @type {string}
|
|
3367
2970
|
* @memberof DynamicHlsApiGetVariantHlsAudioPlaylist
|
|
3368
2971
|
*/
|
|
@@ -3548,7 +3151,7 @@ export interface DynamicHlsApiGetVariantHlsAudioPlaylistRequest {
|
|
|
3548
3151
|
*/
|
|
3549
3152
|
readonly enableMpegtsM2TsMode?: boolean;
|
|
3550
3153
|
/**
|
|
3551
|
-
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
3154
|
+
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
3552
3155
|
* @type {string}
|
|
3553
3156
|
* @memberof DynamicHlsApiGetVariantHlsAudioPlaylist
|
|
3554
3157
|
*/
|
|
@@ -3591,6 +3194,12 @@ export interface DynamicHlsApiGetVariantHlsAudioPlaylistRequest {
|
|
|
3591
3194
|
readonly streamOptions?: {
|
|
3592
3195
|
[key: string]: string;
|
|
3593
3196
|
};
|
|
3197
|
+
/**
|
|
3198
|
+
* Optional. Whether to enable Audio Encoding.
|
|
3199
|
+
* @type {boolean}
|
|
3200
|
+
* @memberof DynamicHlsApiGetVariantHlsAudioPlaylist
|
|
3201
|
+
*/
|
|
3202
|
+
readonly enableAudioVbrEncoding?: boolean;
|
|
3594
3203
|
}
|
|
3595
3204
|
/**
|
|
3596
3205
|
* Request parameters for getVariantHlsVideoPlaylist operation in DynamicHlsApi.
|
|
@@ -3665,7 +3274,7 @@ export interface DynamicHlsApiGetVariantHlsVideoPlaylistRequest {
|
|
|
3665
3274
|
*/
|
|
3666
3275
|
readonly deviceId?: string;
|
|
3667
3276
|
/**
|
|
3668
|
-
* Optional. Specify
|
|
3277
|
+
* Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
3669
3278
|
* @type {string}
|
|
3670
3279
|
* @memberof DynamicHlsApiGetVariantHlsVideoPlaylist
|
|
3671
3280
|
*/
|
|
@@ -3857,7 +3466,7 @@ export interface DynamicHlsApiGetVariantHlsVideoPlaylistRequest {
|
|
|
3857
3466
|
*/
|
|
3858
3467
|
readonly enableMpegtsM2TsMode?: boolean;
|
|
3859
3468
|
/**
|
|
3860
|
-
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
3469
|
+
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
3861
3470
|
* @type {string}
|
|
3862
3471
|
* @memberof DynamicHlsApiGetVariantHlsVideoPlaylist
|
|
3863
3472
|
*/
|
|
@@ -3900,6 +3509,18 @@ export interface DynamicHlsApiGetVariantHlsVideoPlaylistRequest {
|
|
|
3900
3509
|
readonly streamOptions?: {
|
|
3901
3510
|
[key: string]: string;
|
|
3902
3511
|
};
|
|
3512
|
+
/**
|
|
3513
|
+
* Optional. Whether to enable Audio Encoding.
|
|
3514
|
+
* @type {boolean}
|
|
3515
|
+
* @memberof DynamicHlsApiGetVariantHlsVideoPlaylist
|
|
3516
|
+
*/
|
|
3517
|
+
readonly enableAudioVbrEncoding?: boolean;
|
|
3518
|
+
/**
|
|
3519
|
+
* Whether to always burn in subtitles when transcoding.
|
|
3520
|
+
* @type {boolean}
|
|
3521
|
+
* @memberof DynamicHlsApiGetVariantHlsVideoPlaylist
|
|
3522
|
+
*/
|
|
3523
|
+
readonly alwaysBurnInSubtitleWhenTranscoding?: boolean;
|
|
3903
3524
|
}
|
|
3904
3525
|
/**
|
|
3905
3526
|
* Request parameters for headMasterHlsAudioPlaylist operation in DynamicHlsApi.
|
|
@@ -3974,7 +3595,7 @@ export interface DynamicHlsApiHeadMasterHlsAudioPlaylistRequest {
|
|
|
3974
3595
|
*/
|
|
3975
3596
|
readonly deviceId?: string;
|
|
3976
3597
|
/**
|
|
3977
|
-
* Optional. Specify
|
|
3598
|
+
* Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
3978
3599
|
* @type {string}
|
|
3979
3600
|
* @memberof DynamicHlsApiHeadMasterHlsAudioPlaylist
|
|
3980
3601
|
*/
|
|
@@ -4160,7 +3781,7 @@ export interface DynamicHlsApiHeadMasterHlsAudioPlaylistRequest {
|
|
|
4160
3781
|
*/
|
|
4161
3782
|
readonly enableMpegtsM2TsMode?: boolean;
|
|
4162
3783
|
/**
|
|
4163
|
-
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
3784
|
+
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
4164
3785
|
* @type {string}
|
|
4165
3786
|
* @memberof DynamicHlsApiHeadMasterHlsAudioPlaylist
|
|
4166
3787
|
*/
|
|
@@ -4209,6 +3830,12 @@ export interface DynamicHlsApiHeadMasterHlsAudioPlaylistRequest {
|
|
|
4209
3830
|
* @memberof DynamicHlsApiHeadMasterHlsAudioPlaylist
|
|
4210
3831
|
*/
|
|
4211
3832
|
readonly enableAdaptiveBitrateStreaming?: boolean;
|
|
3833
|
+
/**
|
|
3834
|
+
* Optional. Whether to enable Audio Encoding.
|
|
3835
|
+
* @type {boolean}
|
|
3836
|
+
* @memberof DynamicHlsApiHeadMasterHlsAudioPlaylist
|
|
3837
|
+
*/
|
|
3838
|
+
readonly enableAudioVbrEncoding?: boolean;
|
|
4212
3839
|
}
|
|
4213
3840
|
/**
|
|
4214
3841
|
* Request parameters for headMasterHlsVideoPlaylist operation in DynamicHlsApi.
|
|
@@ -4283,7 +3910,7 @@ export interface DynamicHlsApiHeadMasterHlsVideoPlaylistRequest {
|
|
|
4283
3910
|
*/
|
|
4284
3911
|
readonly deviceId?: string;
|
|
4285
3912
|
/**
|
|
4286
|
-
* Optional. Specify
|
|
3913
|
+
* Optional. Specify an audio codec to encode to, e.g. mp3.
|
|
4287
3914
|
* @type {string}
|
|
4288
3915
|
* @memberof DynamicHlsApiHeadMasterHlsVideoPlaylist
|
|
4289
3916
|
*/
|
|
@@ -4475,7 +4102,7 @@ export interface DynamicHlsApiHeadMasterHlsVideoPlaylistRequest {
|
|
|
4475
4102
|
*/
|
|
4476
4103
|
readonly enableMpegtsM2TsMode?: boolean;
|
|
4477
4104
|
/**
|
|
4478
|
-
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
4105
|
+
* Optional. Specify a video codec to encode to, e.g. h264.
|
|
4479
4106
|
* @type {string}
|
|
4480
4107
|
* @memberof DynamicHlsApiHeadMasterHlsVideoPlaylist
|
|
4481
4108
|
*/
|
|
@@ -4530,6 +4157,18 @@ export interface DynamicHlsApiHeadMasterHlsVideoPlaylistRequest {
|
|
|
4530
4157
|
* @memberof DynamicHlsApiHeadMasterHlsVideoPlaylist
|
|
4531
4158
|
*/
|
|
4532
4159
|
readonly enableTrickplay?: boolean;
|
|
4160
|
+
/**
|
|
4161
|
+
* Whether to enable Audio Encoding.
|
|
4162
|
+
* @type {boolean}
|
|
4163
|
+
* @memberof DynamicHlsApiHeadMasterHlsVideoPlaylist
|
|
4164
|
+
*/
|
|
4165
|
+
readonly enableAudioVbrEncoding?: boolean;
|
|
4166
|
+
/**
|
|
4167
|
+
* Whether to always burn in subtitles when transcoding.
|
|
4168
|
+
* @type {boolean}
|
|
4169
|
+
* @memberof DynamicHlsApiHeadMasterHlsVideoPlaylist
|
|
4170
|
+
*/
|
|
4171
|
+
readonly alwaysBurnInSubtitleWhenTranscoding?: boolean;
|
|
4533
4172
|
}
|
|
4534
4173
|
/**
|
|
4535
4174
|
* DynamicHlsApi - object-oriented interface
|
|
@@ -4546,7 +4185,7 @@ export declare class DynamicHlsApi extends BaseAPI {
|
|
|
4546
4185
|
* @throws {RequiredError}
|
|
4547
4186
|
* @memberof DynamicHlsApi
|
|
4548
4187
|
*/
|
|
4549
|
-
getHlsAudioSegment(requestParameters: DynamicHlsApiGetHlsAudioSegmentRequest, options?:
|
|
4188
|
+
getHlsAudioSegment(requestParameters: DynamicHlsApiGetHlsAudioSegmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
4550
4189
|
/**
|
|
4551
4190
|
*
|
|
4552
4191
|
* @summary Gets a video stream using HTTP live streaming.
|
|
@@ -4555,7 +4194,7 @@ export declare class DynamicHlsApi extends BaseAPI {
|
|
|
4555
4194
|
* @throws {RequiredError}
|
|
4556
4195
|
* @memberof DynamicHlsApi
|
|
4557
4196
|
*/
|
|
4558
|
-
getHlsVideoSegment(requestParameters: DynamicHlsApiGetHlsVideoSegmentRequest, options?:
|
|
4197
|
+
getHlsVideoSegment(requestParameters: DynamicHlsApiGetHlsVideoSegmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
4559
4198
|
/**
|
|
4560
4199
|
*
|
|
4561
4200
|
* @summary Gets a hls live stream.
|
|
@@ -4564,7 +4203,7 @@ export declare class DynamicHlsApi extends BaseAPI {
|
|
|
4564
4203
|
* @throws {RequiredError}
|
|
4565
4204
|
* @memberof DynamicHlsApi
|
|
4566
4205
|
*/
|
|
4567
|
-
getLiveHlsStream(requestParameters: DynamicHlsApiGetLiveHlsStreamRequest, options?:
|
|
4206
|
+
getLiveHlsStream(requestParameters: DynamicHlsApiGetLiveHlsStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
4568
4207
|
/**
|
|
4569
4208
|
*
|
|
4570
4209
|
* @summary Gets an audio hls playlist stream.
|
|
@@ -4573,7 +4212,7 @@ export declare class DynamicHlsApi extends BaseAPI {
|
|
|
4573
4212
|
* @throws {RequiredError}
|
|
4574
4213
|
* @memberof DynamicHlsApi
|
|
4575
4214
|
*/
|
|
4576
|
-
getMasterHlsAudioPlaylist(requestParameters: DynamicHlsApiGetMasterHlsAudioPlaylistRequest, options?:
|
|
4215
|
+
getMasterHlsAudioPlaylist(requestParameters: DynamicHlsApiGetMasterHlsAudioPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
4577
4216
|
/**
|
|
4578
4217
|
*
|
|
4579
4218
|
* @summary Gets a video hls playlist stream.
|
|
@@ -4582,7 +4221,7 @@ export declare class DynamicHlsApi extends BaseAPI {
|
|
|
4582
4221
|
* @throws {RequiredError}
|
|
4583
4222
|
* @memberof DynamicHlsApi
|
|
4584
4223
|
*/
|
|
4585
|
-
getMasterHlsVideoPlaylist(requestParameters: DynamicHlsApiGetMasterHlsVideoPlaylistRequest, options?:
|
|
4224
|
+
getMasterHlsVideoPlaylist(requestParameters: DynamicHlsApiGetMasterHlsVideoPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
4586
4225
|
/**
|
|
4587
4226
|
*
|
|
4588
4227
|
* @summary Gets an audio stream using HTTP live streaming.
|
|
@@ -4591,7 +4230,7 @@ export declare class DynamicHlsApi extends BaseAPI {
|
|
|
4591
4230
|
* @throws {RequiredError}
|
|
4592
4231
|
* @memberof DynamicHlsApi
|
|
4593
4232
|
*/
|
|
4594
|
-
getVariantHlsAudioPlaylist(requestParameters: DynamicHlsApiGetVariantHlsAudioPlaylistRequest, options?:
|
|
4233
|
+
getVariantHlsAudioPlaylist(requestParameters: DynamicHlsApiGetVariantHlsAudioPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
4595
4234
|
/**
|
|
4596
4235
|
*
|
|
4597
4236
|
* @summary Gets a video stream using HTTP live streaming.
|
|
@@ -4600,7 +4239,7 @@ export declare class DynamicHlsApi extends BaseAPI {
|
|
|
4600
4239
|
* @throws {RequiredError}
|
|
4601
4240
|
* @memberof DynamicHlsApi
|
|
4602
4241
|
*/
|
|
4603
|
-
getVariantHlsVideoPlaylist(requestParameters: DynamicHlsApiGetVariantHlsVideoPlaylistRequest, options?:
|
|
4242
|
+
getVariantHlsVideoPlaylist(requestParameters: DynamicHlsApiGetVariantHlsVideoPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
4604
4243
|
/**
|
|
4605
4244
|
*
|
|
4606
4245
|
* @summary Gets an audio hls playlist stream.
|
|
@@ -4609,7 +4248,7 @@ export declare class DynamicHlsApi extends BaseAPI {
|
|
|
4609
4248
|
* @throws {RequiredError}
|
|
4610
4249
|
* @memberof DynamicHlsApi
|
|
4611
4250
|
*/
|
|
4612
|
-
headMasterHlsAudioPlaylist(requestParameters: DynamicHlsApiHeadMasterHlsAudioPlaylistRequest, options?:
|
|
4251
|
+
headMasterHlsAudioPlaylist(requestParameters: DynamicHlsApiHeadMasterHlsAudioPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
4613
4252
|
/**
|
|
4614
4253
|
*
|
|
4615
4254
|
* @summary Gets a video hls playlist stream.
|
|
@@ -4618,5 +4257,5 @@ export declare class DynamicHlsApi extends BaseAPI {
|
|
|
4618
4257
|
* @throws {RequiredError}
|
|
4619
4258
|
* @memberof DynamicHlsApi
|
|
4620
4259
|
*/
|
|
4621
|
-
headMasterHlsVideoPlaylist(requestParameters: DynamicHlsApiHeadMasterHlsVideoPlaylistRequest, options?:
|
|
4260
|
+
headMasterHlsVideoPlaylist(requestParameters: DynamicHlsApiHeadMasterHlsVideoPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
4622
4261
|
}
|