@jellyfin/sdk 0.7.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/.gitattributes +5 -0
- package/LICENSE +373 -0
- package/README.md +141 -0
- package/lib/api.d.ts +42 -0
- package/lib/api.js +99 -0
- package/lib/discovery/discovery-service.d.ts +41 -0
- package/lib/discovery/discovery-service.js +112 -0
- package/lib/discovery/index.d.ts +7 -0
- package/lib/discovery/index.js +23 -0
- package/lib/discovery/recommended-server-discovery.d.ts +23 -0
- package/lib/discovery/recommended-server-discovery.js +153 -0
- package/lib/generated-client/api/activity-log-api.d.ts +113 -0
- package/lib/generated-client/api/activity-log-api.js +234 -0
- package/lib/generated-client/api/api-key-api.d.ts +161 -0
- package/lib/generated-client/api/api-key-api.js +374 -0
- package/lib/generated-client/api/artists-api.d.ts +751 -0
- package/lib/generated-client/api/artists-api.js +759 -0
- package/lib/generated-client/api/audio-api.d.ts +1985 -0
- package/lib/generated-client/api/audio-api.js +1582 -0
- package/lib/generated-client/api/branding-api.d.ts +127 -0
- package/lib/generated-client/api/branding-api.js +334 -0
- package/lib/generated-client/api/channels-api.d.ts +419 -0
- package/lib/generated-client/api/channels-api.js +648 -0
- package/lib/generated-client/api/client-log-api.d.ts +86 -0
- package/lib/generated-client/api/client-log-api.js +213 -0
- package/lib/generated-client/api/collection-api.d.ts +223 -0
- package/lib/generated-client/api/collection-api.js +414 -0
- package/lib/generated-client/api/configuration-api.d.ts +293 -0
- package/lib/generated-client/api/configuration-api.js +623 -0
- package/lib/generated-client/api/dashboard-api.d.ts +132 -0
- package/lib/generated-client/api/dashboard-api.js +290 -0
- package/lib/generated-client/api/devices-api.d.ts +291 -0
- package/lib/generated-client/api/devices-api.js +567 -0
- package/lib/generated-client/api/display-preferences-api.d.ts +177 -0
- package/lib/generated-client/api/display-preferences-api.js +335 -0
- package/lib/generated-client/api/dlna-api.d.ts +292 -0
- package/lib/generated-client/api/dlna-api.js +619 -0
- package/lib/generated-client/api/dlna-server-api.d.ts +784 -0
- package/lib/generated-client/api/dlna-server-api.js +1464 -0
- package/lib/generated-client/api/dynamic-hls-api.d.ts +4604 -0
- package/lib/generated-client/api/dynamic-hls-api.js +3611 -0
- package/lib/generated-client/api/environment-api.d.ts +289 -0
- package/lib/generated-client/api/environment-api.js +628 -0
- package/lib/generated-client/api/filter-api.d.ts +242 -0
- package/lib/generated-client/api/filter-api.js +370 -0
- package/lib/generated-client/api/genres-api.d.ts +299 -0
- package/lib/generated-client/api/genres-api.js +405 -0
- package/lib/generated-client/api/hls-segment-api.d.ts +332 -0
- package/lib/generated-client/api/hls-segment-api.js +567 -0
- package/lib/generated-client/api/image-api.d.ts +6744 -0
- package/lib/generated-client/api/image-api.js +6515 -0
- package/lib/generated-client/api/image-by-name-api.d.ts +292 -0
- package/lib/generated-client/api/image-by-name-api.js +601 -0
- package/lib/generated-client/api/instant-mix-api.d.ts +918 -0
- package/lib/generated-client/api/instant-mix-api.js +1138 -0
- package/lib/generated-client/api/item-lookup-api.d.ts +574 -0
- package/lib/generated-client/api/item-lookup-api.js +1065 -0
- package/lib/generated-client/api/item-refresh-api.d.ts +122 -0
- package/lib/generated-client/api/item-refresh-api.js +237 -0
- package/lib/generated-client/api/item-update-api.d.ts +197 -0
- package/lib/generated-client/api/item-update-api.js +392 -0
- package/lib/generated-client/api/items-api.d.ts +1824 -0
- package/lib/generated-client/api/items-api.js +1488 -0
- package/lib/generated-client/api/library-api.d.ts +1482 -0
- package/lib/generated-client/api/library-api.js +2414 -0
- package/lib/generated-client/api/library-structure-api.d.ts +486 -0
- package/lib/generated-client/api/library-structure-api.js +852 -0
- package/lib/generated-client/api/live-tv-api.d.ts +2844 -0
- package/lib/generated-client/api/live-tv-api.js +4165 -0
- package/lib/generated-client/api/localization-api.d.ts +159 -0
- package/lib/generated-client/api/localization-api.js +434 -0
- package/lib/generated-client/api/media-info-api.d.ts +516 -0
- package/lib/generated-client/api/media-info-api.js +711 -0
- package/lib/generated-client/api/movies-api.d.ts +123 -0
- package/lib/generated-client/api/movies-api.js +238 -0
- package/lib/generated-client/api/music-genres-api.d.ts +303 -0
- package/lib/generated-client/api/music-genres-api.js +409 -0
- package/lib/generated-client/api/notifications-api.d.ts +332 -0
- package/lib/generated-client/api/notifications-api.js +698 -0
- package/lib/generated-client/api/package-api.d.ts +319 -0
- package/lib/generated-client/api/package-api.js +639 -0
- package/lib/generated-client/api/persons-api.d.ts +253 -0
- package/lib/generated-client/api/persons-api.js +375 -0
- package/lib/generated-client/api/playlists-api.d.ts +427 -0
- package/lib/generated-client/api/playlists-api.js +649 -0
- package/lib/generated-client/api/playstate-api.d.ts +720 -0
- package/lib/generated-client/api/playstate-api.js +1055 -0
- package/lib/generated-client/api/plugins-api.d.ts +477 -0
- package/lib/generated-client/api/plugins-api.js +898 -0
- package/lib/generated-client/api/quick-connect-api.d.ts +190 -0
- package/lib/generated-client/api/quick-connect-api.js +428 -0
- package/lib/generated-client/api/remote-image-api.d.ts +243 -0
- package/lib/generated-client/api/remote-image-api.js +423 -0
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +289 -0
- package/lib/generated-client/api/scheduled-tasks-api.js +559 -0
- package/lib/generated-client/api/search-api.d.ts +240 -0
- package/lib/generated-client/api/search-api.js +317 -0
- package/lib/generated-client/api/session-api.d.ts +985 -0
- package/lib/generated-client/api/session-api.js +1622 -0
- package/lib/generated-client/api/startup-api.d.ts +296 -0
- package/lib/generated-client/api/startup-api.js +685 -0
- package/lib/generated-client/api/studios-api.d.ts +289 -0
- package/lib/generated-client/api/studios-api.js +399 -0
- package/lib/generated-client/api/subtitle-api.d.ts +764 -0
- package/lib/generated-client/api/subtitle-api.js +1126 -0
- package/lib/generated-client/api/suggestions-api.d.ts +132 -0
- package/lib/generated-client/api/suggestions-api.js +243 -0
- package/lib/generated-client/api/sync-play-api.d.ts +937 -0
- package/lib/generated-client/api/sync-play-api.js +1854 -0
- package/lib/generated-client/api/system-api.d.ts +355 -0
- package/lib/generated-client/api/system-api.js +879 -0
- package/lib/generated-client/api/time-sync-api.d.ts +69 -0
- package/lib/generated-client/api/time-sync-api.js +198 -0
- package/lib/generated-client/api/tmdb-api.d.ts +69 -0
- package/lib/generated-client/api/tmdb-api.js +206 -0
- package/lib/generated-client/api/trailers-api.d.ts +841 -0
- package/lib/generated-client/api/trailers-api.js +720 -0
- package/lib/generated-client/api/tv-shows-api.d.ts +622 -0
- package/lib/generated-client/api/tv-shows-api.js +730 -0
- package/lib/generated-client/api/universal-audio-api.d.ts +437 -0
- package/lib/generated-client/api/universal-audio-api.js +500 -0
- package/lib/generated-client/api/user-api.d.ts +826 -0
- package/lib/generated-client/api/user-api.js +1457 -0
- package/lib/generated-client/api/user-library-api.d.ts +676 -0
- package/lib/generated-client/api/user-library-api.js +1074 -0
- package/lib/generated-client/api/user-views-api.d.ts +160 -0
- package/lib/generated-client/api/user-views-api.js +314 -0
- package/lib/generated-client/api/video-attachments-api.d.ts +103 -0
- package/lib/generated-client/api/video-attachments-api.js +217 -0
- package/lib/generated-client/api/videos-api.d.ts +2205 -0
- package/lib/generated-client/api/videos-api.js +1887 -0
- package/lib/generated-client/api/years-api.d.ts +272 -0
- package/lib/generated-client/api/years-api.js +387 -0
- package/lib/generated-client/api.d.ts +71 -0
- package/lib/generated-client/api.js +89 -0
- package/lib/generated-client/base.d.ts +54 -0
- package/lib/generated-client/base.js +84 -0
- package/lib/generated-client/common.d.ts +64 -0
- package/lib/generated-client/common.js +242 -0
- package/lib/generated-client/configuration.d.ts +82 -0
- package/lib/generated-client/configuration.js +43 -0
- package/lib/generated-client/index.d.ts +13 -0
- package/lib/generated-client/index.js +31 -0
- package/lib/generated-client/models/access-schedule.d.ts +48 -0
- package/lib/generated-client/models/access-schedule.js +14 -0
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +36 -0
- package/lib/generated-client/models/activity-log-entry-query-result.js +14 -0
- package/lib/generated-client/models/activity-log-entry.d.ts +79 -0
- package/lib/generated-client/models/activity-log-entry.js +14 -0
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +24 -0
- package/lib/generated-client/models/add-virtual-folder-dto.js +14 -0
- package/lib/generated-client/models/admin-notification-dto.d.ts +42 -0
- package/lib/generated-client/models/admin-notification-dto.js +14 -0
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/album-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/album-info.d.ts +106 -0
- package/lib/generated-client/models/album-info.js +14 -0
- package/lib/generated-client/models/all-theme-media-result.d.ts +36 -0
- package/lib/generated-client/models/all-theme-media-result.js +14 -0
- package/lib/generated-client/models/architecture.d.ts +23 -0
- package/lib/generated-client/models/architecture.js +29 -0
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/artist-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/artist-info.d.ts +92 -0
- package/lib/generated-client/models/artist-info.js +14 -0
- package/lib/generated-client/models/authenticate-user-by-name.d.ts +36 -0
- package/lib/generated-client/models/authenticate-user-by-name.js +14 -0
- package/lib/generated-client/models/authentication-info-query-result.d.ts +36 -0
- package/lib/generated-client/models/authentication-info-query-result.js +14 -0
- package/lib/generated-client/models/authentication-info.d.ts +89 -0
- package/lib/generated-client/models/authentication-info.js +14 -0
- package/lib/generated-client/models/authentication-result.d.ts +43 -0
- package/lib/generated-client/models/authentication-result.js +14 -0
- package/lib/generated-client/models/base-item-dto-image-blur-hashes.d.ts +121 -0
- package/lib/generated-client/models/base-item-dto-image-blur-hashes.js +14 -0
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/base-item-dto-query-result.js +14 -0
- package/lib/generated-client/models/base-item-dto.d.ts +947 -0
- package/lib/generated-client/models/base-item-dto.js +14 -0
- package/lib/generated-client/models/base-item-kind.d.ts +54 -0
- package/lib/generated-client/models/base-item-kind.js +60 -0
- package/lib/generated-client/models/base-item-person-image-blur-hashes.d.ts +121 -0
- package/lib/generated-client/models/base-item-person-image-blur-hashes.js +14 -0
- package/lib/generated-client/models/base-item-person.d.ts +54 -0
- package/lib/generated-client/models/base-item-person.js +14 -0
- package/lib/generated-client/models/base-item.d.ts +84 -0
- package/lib/generated-client/models/base-item.js +14 -0
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/book-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/book-info.d.ts +91 -0
- package/lib/generated-client/models/book-info.js +14 -0
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/box-set-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/box-set-info.d.ts +85 -0
- package/lib/generated-client/models/box-set-info.js +14 -0
- package/lib/generated-client/models/branding-options.d.ts +35 -0
- package/lib/generated-client/models/branding-options.js +14 -0
- package/lib/generated-client/models/buffer-request-dto.d.ts +41 -0
- package/lib/generated-client/models/buffer-request-dto.js +14 -0
- package/lib/generated-client/models/channel-features.d.ts +92 -0
- package/lib/generated-client/models/channel-features.js +14 -0
- package/lib/generated-client/models/channel-item-sort-field.d.ts +24 -0
- package/lib/generated-client/models/channel-item-sort-field.js +30 -0
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +44 -0
- package/lib/generated-client/models/channel-mapping-options-dto.js +14 -0
- package/lib/generated-client/models/channel-media-content-type.d.ts +25 -0
- package/lib/generated-client/models/channel-media-content-type.js +31 -0
- package/lib/generated-client/models/channel-media-type.d.ts +20 -0
- package/lib/generated-client/models/channel-media-type.js +26 -0
- package/lib/generated-client/models/channel-type.d.ts +19 -0
- package/lib/generated-client/models/channel-type.js +25 -0
- package/lib/generated-client/models/chapter-info.d.ts +47 -0
- package/lib/generated-client/models/chapter-info.js +14 -0
- package/lib/generated-client/models/client-capabilities-dto.d.ts +79 -0
- package/lib/generated-client/models/client-capabilities-dto.js +14 -0
- package/lib/generated-client/models/client-capabilities.d.ts +79 -0
- package/lib/generated-client/models/client-capabilities.js +14 -0
- package/lib/generated-client/models/client-log-document-response-dto.d.ts +23 -0
- package/lib/generated-client/models/client-log-document-response-dto.js +14 -0
- package/lib/generated-client/models/codec-profile.d.ts +49 -0
- package/lib/generated-client/models/codec-profile.js +14 -0
- package/lib/generated-client/models/codec-type.d.ts +20 -0
- package/lib/generated-client/models/codec-type.js +26 -0
- package/lib/generated-client/models/collection-creation-result.d.ts +23 -0
- package/lib/generated-client/models/collection-creation-result.js +14 -0
- package/lib/generated-client/models/collection-type-options.d.ts +25 -0
- package/lib/generated-client/models/collection-type-options.js +31 -0
- package/lib/generated-client/models/config-image-types.d.ts +59 -0
- package/lib/generated-client/models/config-image-types.js +14 -0
- package/lib/generated-client/models/configuration-page-info.d.ts +53 -0
- package/lib/generated-client/models/configuration-page-info.js +14 -0
- package/lib/generated-client/models/container-profile.d.ts +37 -0
- package/lib/generated-client/models/container-profile.js +14 -0
- package/lib/generated-client/models/control-response.d.ts +37 -0
- package/lib/generated-client/models/control-response.js +14 -0
- package/lib/generated-client/models/country-info.d.ts +41 -0
- package/lib/generated-client/models/country-info.js +14 -0
- package/lib/generated-client/models/create-playlist-dto.d.ts +41 -0
- package/lib/generated-client/models/create-playlist-dto.js +14 -0
- package/lib/generated-client/models/create-user-by-name.d.ts +29 -0
- package/lib/generated-client/models/create-user-by-name.js +14 -0
- package/lib/generated-client/models/culture-dto.d.ts +47 -0
- package/lib/generated-client/models/culture-dto.js +14 -0
- package/lib/generated-client/models/day-of-week.d.ts +24 -0
- package/lib/generated-client/models/day-of-week.js +30 -0
- package/lib/generated-client/models/day-pattern.d.ts +20 -0
- package/lib/generated-client/models/day-pattern.js +26 -0
- package/lib/generated-client/models/default-directory-browser-info-dto.d.ts +23 -0
- package/lib/generated-client/models/default-directory-browser-info-dto.js +14 -0
- package/lib/generated-client/models/device-identification.d.ts +72 -0
- package/lib/generated-client/models/device-identification.js +14 -0
- package/lib/generated-client/models/device-info-query-result.d.ts +36 -0
- package/lib/generated-client/models/device-info-query-result.js +14 -0
- package/lib/generated-client/models/device-info.d.ts +78 -0
- package/lib/generated-client/models/device-info.js +14 -0
- package/lib/generated-client/models/device-options-dto.d.ts +35 -0
- package/lib/generated-client/models/device-options-dto.js +14 -0
- package/lib/generated-client/models/device-options.d.ts +35 -0
- package/lib/generated-client/models/device-options.js +14 -0
- package/lib/generated-client/models/device-profile-info.d.ts +36 -0
- package/lib/generated-client/models/device-profile-info.js +14 -0
- package/lib/generated-client/models/device-profile-type.d.ts +19 -0
- package/lib/generated-client/models/device-profile-type.js +25 -0
- package/lib/generated-client/models/device-profile.d.ts +259 -0
- package/lib/generated-client/models/device-profile.js +14 -0
- package/lib/generated-client/models/direct-play-profile.d.ts +42 -0
- package/lib/generated-client/models/direct-play-profile.js +14 -0
- package/lib/generated-client/models/display-preferences-dto.d.ts +105 -0
- package/lib/generated-client/models/display-preferences-dto.js +14 -0
- package/lib/generated-client/models/dlna-options.d.ts +83 -0
- package/lib/generated-client/models/dlna-options.js +14 -0
- package/lib/generated-client/models/dlna-profile-type.d.ts +21 -0
- package/lib/generated-client/models/dlna-profile-type.js +27 -0
- package/lib/generated-client/models/dynamic-day-of-week.d.ts +27 -0
- package/lib/generated-client/models/dynamic-day-of-week.js +33 -0
- package/lib/generated-client/models/embedded-subtitle-options.d.ts +21 -0
- package/lib/generated-client/models/embedded-subtitle-options.js +27 -0
- package/lib/generated-client/models/encoding-context.d.ts +19 -0
- package/lib/generated-client/models/encoding-context.js +25 -0
- package/lib/generated-client/models/encoding-options.d.ts +245 -0
- package/lib/generated-client/models/encoding-options.js +14 -0
- package/lib/generated-client/models/end-point-info.d.ts +29 -0
- package/lib/generated-client/models/end-point-info.js +14 -0
- package/lib/generated-client/models/external-id-info.d.ts +42 -0
- package/lib/generated-client/models/external-id-info.js +14 -0
- package/lib/generated-client/models/external-id-media-type.d.ts +29 -0
- package/lib/generated-client/models/external-id-media-type.js +35 -0
- package/lib/generated-client/models/external-url.d.ts +29 -0
- package/lib/generated-client/models/external-url.js +14 -0
- package/lib/generated-client/models/ffmpeg-location.d.ts +21 -0
- package/lib/generated-client/models/ffmpeg-location.js +27 -0
- package/lib/generated-client/models/file-system-entry-info.d.ts +36 -0
- package/lib/generated-client/models/file-system-entry-info.js +14 -0
- package/lib/generated-client/models/file-system-entry-type.d.ts +21 -0
- package/lib/generated-client/models/file-system-entry-type.js +27 -0
- package/lib/generated-client/models/font-file.d.ts +41 -0
- package/lib/generated-client/models/font-file.js +14 -0
- package/lib/generated-client/models/forgot-password-action.d.ts +20 -0
- package/lib/generated-client/models/forgot-password-action.js +26 -0
- package/lib/generated-client/models/forgot-password-dto.d.ts +23 -0
- package/lib/generated-client/models/forgot-password-dto.js +14 -0
- package/lib/generated-client/models/forgot-password-pin-dto.d.ts +23 -0
- package/lib/generated-client/models/forgot-password-pin-dto.js +14 -0
- package/lib/generated-client/models/forgot-password-result.d.ts +36 -0
- package/lib/generated-client/models/forgot-password-result.js +14 -0
- package/lib/generated-client/models/general-command-type.d.ts +59 -0
- package/lib/generated-client/models/general-command-type.js +65 -0
- package/lib/generated-client/models/general-command.d.ts +38 -0
- package/lib/generated-client/models/general-command.js +14 -0
- package/lib/generated-client/models/get-programs-dto.d.ts +182 -0
- package/lib/generated-client/models/get-programs-dto.js +14 -0
- package/lib/generated-client/models/group-info-dto.d.ts +48 -0
- package/lib/generated-client/models/group-info-dto.js +14 -0
- package/lib/generated-client/models/group-queue-mode.d.ts +19 -0
- package/lib/generated-client/models/group-queue-mode.js +25 -0
- package/lib/generated-client/models/group-repeat-mode.d.ts +20 -0
- package/lib/generated-client/models/group-repeat-mode.js +26 -0
- package/lib/generated-client/models/group-shuffle-mode.d.ts +19 -0
- package/lib/generated-client/models/group-shuffle-mode.js +25 -0
- package/lib/generated-client/models/group-state-type.d.ts +21 -0
- package/lib/generated-client/models/group-state-type.js +27 -0
- package/lib/generated-client/models/group-update-type.d.ts +28 -0
- package/lib/generated-client/models/group-update-type.js +34 -0
- package/lib/generated-client/models/guide-info.d.ts +29 -0
- package/lib/generated-client/models/guide-info.js +14 -0
- package/lib/generated-client/models/hardware-encoding-type.d.ts +23 -0
- package/lib/generated-client/models/hardware-encoding-type.js +29 -0
- package/lib/generated-client/models/header-match-type.d.ts +20 -0
- package/lib/generated-client/models/header-match-type.js +26 -0
- package/lib/generated-client/models/http-header-info.d.ts +36 -0
- package/lib/generated-client/models/http-header-info.js +14 -0
- package/lib/generated-client/models/ignore-wait-request-dto.d.ts +23 -0
- package/lib/generated-client/models/ignore-wait-request-dto.js +14 -0
- package/lib/generated-client/models/image-by-name-info.d.ts +47 -0
- package/lib/generated-client/models/image-by-name-info.js +14 -0
- package/lib/generated-client/models/image-format.d.ts +22 -0
- package/lib/generated-client/models/image-format.js +28 -0
- package/lib/generated-client/models/image-info.d.ts +66 -0
- package/lib/generated-client/models/image-info.js +14 -0
- package/lib/generated-client/models/image-option.d.ts +36 -0
- package/lib/generated-client/models/image-option.js +14 -0
- package/lib/generated-client/models/image-orientation.d.ts +25 -0
- package/lib/generated-client/models/image-orientation.js +31 -0
- package/lib/generated-client/models/image-provider-info.d.ts +30 -0
- package/lib/generated-client/models/image-provider-info.js +14 -0
- package/lib/generated-client/models/image-saving-convention.d.ts +19 -0
- package/lib/generated-client/models/image-saving-convention.js +25 -0
- package/lib/generated-client/models/image-type.d.ts +30 -0
- package/lib/generated-client/models/image-type.js +36 -0
- package/lib/generated-client/models/index.d.ts +284 -0
- package/lib/generated-client/models/index.js +300 -0
- package/lib/generated-client/models/installation-info.d.ts +60 -0
- package/lib/generated-client/models/installation-info.js +14 -0
- package/lib/generated-client/models/iplugin.d.ts +59 -0
- package/lib/generated-client/models/iplugin.js +14 -0
- package/lib/generated-client/models/iso-type.d.ts +19 -0
- package/lib/generated-client/models/iso-type.js +25 -0
- package/lib/generated-client/models/item-counts.d.ts +89 -0
- package/lib/generated-client/models/item-counts.js +14 -0
- package/lib/generated-client/models/item-fields.d.ts +78 -0
- package/lib/generated-client/models/item-fields.js +84 -0
- package/lib/generated-client/models/item-filter.d.ts +26 -0
- package/lib/generated-client/models/item-filter.js +32 -0
- package/lib/generated-client/models/join-group-request-dto.d.ts +23 -0
- package/lib/generated-client/models/join-group-request-dto.js +14 -0
- package/lib/generated-client/models/keep-until.d.ts +21 -0
- package/lib/generated-client/models/keep-until.js +27 -0
- package/lib/generated-client/models/library-option-info-dto.d.ts +29 -0
- package/lib/generated-client/models/library-option-info-dto.js +14 -0
- package/lib/generated-client/models/library-options-result-dto.d.ts +43 -0
- package/lib/generated-client/models/library-options-result-dto.js +14 -0
- package/lib/generated-client/models/library-options.d.ts +183 -0
- package/lib/generated-client/models/library-options.js +14 -0
- package/lib/generated-client/models/library-type-options-dto.d.ts +50 -0
- package/lib/generated-client/models/library-type-options-dto.js +14 -0
- package/lib/generated-client/models/library-update-info.d.ts +59 -0
- package/lib/generated-client/models/library-update-info.js +14 -0
- package/lib/generated-client/models/listings-provider-info.d.ts +126 -0
- package/lib/generated-client/models/listings-provider-info.js +14 -0
- package/lib/generated-client/models/live-stream-response.d.ts +24 -0
- package/lib/generated-client/models/live-stream-response.js +14 -0
- package/lib/generated-client/models/live-tv-info.d.ts +36 -0
- package/lib/generated-client/models/live-tv-info.js +14 -0
- package/lib/generated-client/models/live-tv-options.d.ts +97 -0
- package/lib/generated-client/models/live-tv-options.js +14 -0
- package/lib/generated-client/models/live-tv-service-info.d.ts +66 -0
- package/lib/generated-client/models/live-tv-service-info.js +14 -0
- package/lib/generated-client/models/live-tv-service-status.d.ts +19 -0
- package/lib/generated-client/models/live-tv-service-status.js +25 -0
- package/lib/generated-client/models/localization-option.d.ts +29 -0
- package/lib/generated-client/models/localization-option.js +14 -0
- package/lib/generated-client/models/location-type.d.ts +21 -0
- package/lib/generated-client/models/location-type.js +27 -0
- package/lib/generated-client/models/log-file.d.ts +41 -0
- package/lib/generated-client/models/log-file.js +14 -0
- package/lib/generated-client/models/log-level.d.ts +24 -0
- package/lib/generated-client/models/log-level.js +30 -0
- package/lib/generated-client/models/media-attachment.d.ts +59 -0
- package/lib/generated-client/models/media-attachment.js +14 -0
- package/lib/generated-client/models/media-encoder-path-dto.d.ts +29 -0
- package/lib/generated-client/models/media-encoder-path-dto.js +14 -0
- package/lib/generated-client/models/media-path-dto.d.ts +36 -0
- package/lib/generated-client/models/media-path-dto.js +14 -0
- package/lib/generated-client/models/media-path-info.d.ts +29 -0
- package/lib/generated-client/models/media-path-info.js +14 -0
- package/lib/generated-client/models/media-protocol.d.ts +24 -0
- package/lib/generated-client/models/media-protocol.js +30 -0
- package/lib/generated-client/models/media-source-info.d.ts +279 -0
- package/lib/generated-client/models/media-source-info.js +14 -0
- package/lib/generated-client/models/media-source-type.d.ts +20 -0
- package/lib/generated-client/models/media-source-type.js +26 -0
- package/lib/generated-client/models/media-stream-type.d.ts +21 -0
- package/lib/generated-client/models/media-stream-type.js +27 -0
- package/lib/generated-client/models/media-stream.d.ts +367 -0
- package/lib/generated-client/models/media-stream.js +14 -0
- package/lib/generated-client/models/media-update-info-dto.d.ts +24 -0
- package/lib/generated-client/models/media-update-info-dto.js +14 -0
- package/lib/generated-client/models/media-update-info-path-dto.d.ts +29 -0
- package/lib/generated-client/models/media-update-info-path-dto.js +14 -0
- package/lib/generated-client/models/media-url.d.ts +29 -0
- package/lib/generated-client/models/media-url.js +14 -0
- package/lib/generated-client/models/message-command.d.ts +35 -0
- package/lib/generated-client/models/message-command.js +14 -0
- package/lib/generated-client/models/metadata-configuration.d.ts +23 -0
- package/lib/generated-client/models/metadata-configuration.js +14 -0
- package/lib/generated-client/models/metadata-editor-info.d.ts +58 -0
- package/lib/generated-client/models/metadata-editor-info.js +14 -0
- package/lib/generated-client/models/metadata-field.d.ts +26 -0
- package/lib/generated-client/models/metadata-field.js +32 -0
- package/lib/generated-client/models/metadata-options.d.ts +59 -0
- package/lib/generated-client/models/metadata-options.js +14 -0
- package/lib/generated-client/models/metadata-refresh-mode.d.ts +21 -0
- package/lib/generated-client/models/metadata-refresh-mode.js +27 -0
- package/lib/generated-client/models/move-playlist-item-request-dto.d.ts +29 -0
- package/lib/generated-client/models/move-playlist-item-request-dto.js +14 -0
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/movie-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/movie-info.d.ts +85 -0
- package/lib/generated-client/models/movie-info.js +14 -0
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/music-video-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/music-video-info.d.ts +91 -0
- package/lib/generated-client/models/music-video-info.js +14 -0
- package/lib/generated-client/models/name-guid-pair.d.ts +29 -0
- package/lib/generated-client/models/name-guid-pair.js +14 -0
- package/lib/generated-client/models/name-id-pair.d.ts +29 -0
- package/lib/generated-client/models/name-id-pair.js +14 -0
- package/lib/generated-client/models/name-value-pair.d.ts +29 -0
- package/lib/generated-client/models/name-value-pair.js +14 -0
- package/lib/generated-client/models/network-configuration.d.ts +221 -0
- package/lib/generated-client/models/network-configuration.js +14 -0
- package/lib/generated-client/models/new-group-request-dto.d.ts +23 -0
- package/lib/generated-client/models/new-group-request-dto.js +14 -0
- package/lib/generated-client/models/next-item-request-dto.d.ts +23 -0
- package/lib/generated-client/models/next-item-request-dto.js +14 -0
- package/lib/generated-client/models/notification-dto.d.ts +66 -0
- package/lib/generated-client/models/notification-dto.js +14 -0
- package/lib/generated-client/models/notification-level.d.ts +20 -0
- package/lib/generated-client/models/notification-level.js +26 -0
- package/lib/generated-client/models/notification-option.d.ts +54 -0
- package/lib/generated-client/models/notification-option.js +14 -0
- package/lib/generated-client/models/notification-options.d.ts +24 -0
- package/lib/generated-client/models/notification-options.js +14 -0
- package/lib/generated-client/models/notification-result-dto.d.ts +30 -0
- package/lib/generated-client/models/notification-result-dto.js +14 -0
- package/lib/generated-client/models/notification-type-info.d.ts +47 -0
- package/lib/generated-client/models/notification-type-info.js +14 -0
- package/lib/generated-client/models/notifications-summary-dto.d.ts +30 -0
- package/lib/generated-client/models/notifications-summary-dto.js +14 -0
- package/lib/generated-client/models/object-group-update.d.ts +36 -0
- package/lib/generated-client/models/object-group-update.js +14 -0
- package/lib/generated-client/models/open-live-stream-dto.d.ts +97 -0
- package/lib/generated-client/models/open-live-stream-dto.js +14 -0
- package/lib/generated-client/models/package-info.d.ts +66 -0
- package/lib/generated-client/models/package-info.js +14 -0
- package/lib/generated-client/models/parental-rating.d.ts +29 -0
- package/lib/generated-client/models/parental-rating.js +14 -0
- package/lib/generated-client/models/path-substitution.d.ts +29 -0
- package/lib/generated-client/models/path-substitution.js +14 -0
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/person-lookup-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/person-lookup-info.d.ts +85 -0
- package/lib/generated-client/models/person-lookup-info.js +14 -0
- package/lib/generated-client/models/pin-redeem-result.d.ts +29 -0
- package/lib/generated-client/models/pin-redeem-result.js +14 -0
- package/lib/generated-client/models/ping-request-dto.d.ts +23 -0
- package/lib/generated-client/models/ping-request-dto.js +14 -0
- package/lib/generated-client/models/play-access.d.ts +19 -0
- package/lib/generated-client/models/play-access.js +25 -0
- package/lib/generated-client/models/play-command.d.ts +22 -0
- package/lib/generated-client/models/play-command.js +28 -0
- package/lib/generated-client/models/play-method.d.ts +20 -0
- package/lib/generated-client/models/play-method.js +26 -0
- package/lib/generated-client/models/play-request-dto.d.ts +35 -0
- package/lib/generated-client/models/play-request-dto.js +14 -0
- package/lib/generated-client/models/play-request.d.ts +66 -0
- package/lib/generated-client/models/play-request.js +14 -0
- package/lib/generated-client/models/playback-error-code.d.ts +20 -0
- package/lib/generated-client/models/playback-error-code.js +26 -0
- package/lib/generated-client/models/playback-info-dto.d.ts +108 -0
- package/lib/generated-client/models/playback-info-dto.js +14 -0
- package/lib/generated-client/models/playback-info-response.d.ts +37 -0
- package/lib/generated-client/models/playback-info-response.js +14 -0
- package/lib/generated-client/models/playback-progress-info.d.ts +141 -0
- package/lib/generated-client/models/playback-progress-info.js +14 -0
- package/lib/generated-client/models/playback-start-info.d.ts +141 -0
- package/lib/generated-client/models/playback-start-info.js +14 -0
- package/lib/generated-client/models/playback-stop-info.d.ts +85 -0
- package/lib/generated-client/models/playback-stop-info.js +14 -0
- package/lib/generated-client/models/player-state-info.d.ts +85 -0
- package/lib/generated-client/models/player-state-info.js +14 -0
- package/lib/generated-client/models/playlist-creation-result.d.ts +23 -0
- package/lib/generated-client/models/playlist-creation-result.js +14 -0
- package/lib/generated-client/models/playstate-command.d.ts +26 -0
- package/lib/generated-client/models/playstate-command.js +32 -0
- package/lib/generated-client/models/playstate-request.d.ts +36 -0
- package/lib/generated-client/models/playstate-request.js +14 -0
- package/lib/generated-client/models/plugin-info.d.ts +66 -0
- package/lib/generated-client/models/plugin-info.js +14 -0
- package/lib/generated-client/models/plugin-status.d.ts +24 -0
- package/lib/generated-client/models/plugin-status.js +30 -0
- package/lib/generated-client/models/previous-item-request-dto.d.ts +23 -0
- package/lib/generated-client/models/previous-item-request-dto.js +14 -0
- package/lib/generated-client/models/problem-details.d.ts +48 -0
- package/lib/generated-client/models/problem-details.js +14 -0
- package/lib/generated-client/models/profile-condition-type.d.ts +22 -0
- package/lib/generated-client/models/profile-condition-type.js +28 -0
- package/lib/generated-client/models/profile-condition-value.d.ts +41 -0
- package/lib/generated-client/models/profile-condition-value.js +47 -0
- package/lib/generated-client/models/profile-condition.d.ts +43 -0
- package/lib/generated-client/models/profile-condition.js +14 -0
- package/lib/generated-client/models/program-audio.d.ts +23 -0
- package/lib/generated-client/models/program-audio.js +29 -0
- package/lib/generated-client/models/public-system-info.d.ts +59 -0
- package/lib/generated-client/models/public-system-info.js +14 -0
- package/lib/generated-client/models/query-filters-legacy.d.ts +41 -0
- package/lib/generated-client/models/query-filters-legacy.js +14 -0
- package/lib/generated-client/models/query-filters.d.ts +30 -0
- package/lib/generated-client/models/query-filters.js +14 -0
- package/lib/generated-client/models/queue-item.d.ts +29 -0
- package/lib/generated-client/models/queue-item.js +14 -0
- package/lib/generated-client/models/queue-request-dto.d.ts +30 -0
- package/lib/generated-client/models/queue-request-dto.js +14 -0
- package/lib/generated-client/models/quick-connect-dto.d.ts +23 -0
- package/lib/generated-client/models/quick-connect-dto.js +14 -0
- package/lib/generated-client/models/quick-connect-result.d.ts +65 -0
- package/lib/generated-client/models/quick-connect-result.js +14 -0
- package/lib/generated-client/models/rating-type.d.ts +19 -0
- package/lib/generated-client/models/rating-type.js +25 -0
- package/lib/generated-client/models/ready-request-dto.d.ts +41 -0
- package/lib/generated-client/models/ready-request-dto.js +14 -0
- package/lib/generated-client/models/recommendation-dto.d.ts +43 -0
- package/lib/generated-client/models/recommendation-dto.js +14 -0
- package/lib/generated-client/models/recommendation-type.d.ts +23 -0
- package/lib/generated-client/models/recommendation-type.js +29 -0
- package/lib/generated-client/models/recording-status.d.ts +24 -0
- package/lib/generated-client/models/recording-status.js +30 -0
- package/lib/generated-client/models/remote-image-info.d.ts +79 -0
- package/lib/generated-client/models/remote-image-info.js +14 -0
- package/lib/generated-client/models/remote-image-result.d.ts +36 -0
- package/lib/generated-client/models/remote-image-result.js +14 -0
- package/lib/generated-client/models/remote-search-result.d.ts +91 -0
- package/lib/generated-client/models/remote-search-result.js +14 -0
- package/lib/generated-client/models/remote-subtitle-info.d.ts +83 -0
- package/lib/generated-client/models/remote-subtitle-info.js +14 -0
- package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +35 -0
- package/lib/generated-client/models/remove-from-playlist-request-dto.js +14 -0
- package/lib/generated-client/models/repeat-mode.d.ts +20 -0
- package/lib/generated-client/models/repeat-mode.js +26 -0
- package/lib/generated-client/models/repository-info.d.ts +35 -0
- package/lib/generated-client/models/repository-info.js +14 -0
- package/lib/generated-client/models/response-profile.d.ts +61 -0
- package/lib/generated-client/models/response-profile.js +14 -0
- package/lib/generated-client/models/scroll-direction.d.ts +19 -0
- package/lib/generated-client/models/scroll-direction.js +25 -0
- package/lib/generated-client/models/search-hint-result.d.ts +30 -0
- package/lib/generated-client/models/search-hint-result.js +14 -0
- package/lib/generated-client/models/search-hint.d.ts +191 -0
- package/lib/generated-client/models/search-hint.js +14 -0
- package/lib/generated-client/models/seek-request-dto.d.ts +23 -0
- package/lib/generated-client/models/seek-request-dto.js +14 -0
- package/lib/generated-client/models/send-command-type.d.ts +21 -0
- package/lib/generated-client/models/send-command-type.js +27 -0
- package/lib/generated-client/models/send-command.d.ts +54 -0
- package/lib/generated-client/models/send-command.js +14 -0
- package/lib/generated-client/models/send-to-user-type.d.ts +20 -0
- package/lib/generated-client/models/send-to-user-type.js +26 -0
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/series-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/series-info.d.ts +85 -0
- package/lib/generated-client/models/series-info.js +14 -0
- package/lib/generated-client/models/series-status.d.ts +19 -0
- package/lib/generated-client/models/series-status.js +25 -0
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/series-timer-info-dto-query-result.js +14 -0
- package/lib/generated-client/models/series-timer-info-dto.d.ts +232 -0
- package/lib/generated-client/models/series-timer-info-dto.js +14 -0
- package/lib/generated-client/models/server-configuration.d.ts +310 -0
- package/lib/generated-client/models/server-configuration.js +14 -0
- package/lib/generated-client/models/server-discovery-info.d.ts +41 -0
- package/lib/generated-client/models/server-discovery-info.js +14 -0
- package/lib/generated-client/models/session-info.d.ts +199 -0
- package/lib/generated-client/models/session-info.js +14 -0
- package/lib/generated-client/models/session-message-type.d.ts +51 -0
- package/lib/generated-client/models/session-message-type.js +57 -0
- package/lib/generated-client/models/session-user-info.d.ts +29 -0
- package/lib/generated-client/models/session-user-info.js +14 -0
- package/lib/generated-client/models/set-channel-mapping-dto.d.ts +35 -0
- package/lib/generated-client/models/set-channel-mapping-dto.js +14 -0
- package/lib/generated-client/models/set-playlist-item-request-dto.d.ts +23 -0
- package/lib/generated-client/models/set-playlist-item-request-dto.js +14 -0
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +24 -0
- package/lib/generated-client/models/set-repeat-mode-request-dto.js +14 -0
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +24 -0
- package/lib/generated-client/models/set-shuffle-mode-request-dto.js +14 -0
- package/lib/generated-client/models/song-info.d.ts +103 -0
- package/lib/generated-client/models/song-info.js +14 -0
- package/lib/generated-client/models/sort-order.d.ts +19 -0
- package/lib/generated-client/models/sort-order.js +25 -0
- package/lib/generated-client/models/special-view-option-dto.d.ts +29 -0
- package/lib/generated-client/models/special-view-option-dto.js +14 -0
- package/lib/generated-client/models/startup-configuration-dto.d.ts +35 -0
- package/lib/generated-client/models/startup-configuration-dto.js +14 -0
- package/lib/generated-client/models/startup-remote-access-dto.d.ts +29 -0
- package/lib/generated-client/models/startup-remote-access-dto.js +14 -0
- package/lib/generated-client/models/startup-user-dto.d.ts +29 -0
- package/lib/generated-client/models/startup-user-dto.js +14 -0
- package/lib/generated-client/models/subtitle-delivery-method.d.ts +22 -0
- package/lib/generated-client/models/subtitle-delivery-method.js +28 -0
- package/lib/generated-client/models/subtitle-options.d.ts +71 -0
- package/lib/generated-client/models/subtitle-options.js +14 -0
- package/lib/generated-client/models/subtitle-playback-mode.d.ts +22 -0
- package/lib/generated-client/models/subtitle-playback-mode.js +28 -0
- package/lib/generated-client/models/subtitle-profile.d.ts +48 -0
- package/lib/generated-client/models/subtitle-profile.js +14 -0
- package/lib/generated-client/models/sync-play-user-access-type.d.ts +20 -0
- package/lib/generated-client/models/sync-play-user-access-type.js +26 -0
- package/lib/generated-client/models/system-info.d.ts +177 -0
- package/lib/generated-client/models/system-info.js +14 -0
- package/lib/generated-client/models/task-completion-status.d.ts +21 -0
- package/lib/generated-client/models/task-completion-status.js +27 -0
- package/lib/generated-client/models/task-info.d.ts +80 -0
- package/lib/generated-client/models/task-info.js +14 -0
- package/lib/generated-client/models/task-result.d.ts +66 -0
- package/lib/generated-client/models/task-result.js +14 -0
- package/lib/generated-client/models/task-state.d.ts +20 -0
- package/lib/generated-client/models/task-state.js +26 -0
- package/lib/generated-client/models/task-trigger-info.d.ts +48 -0
- package/lib/generated-client/models/task-trigger-info.js +14 -0
- package/lib/generated-client/models/theme-media-result.d.ts +42 -0
- package/lib/generated-client/models/theme-media-result.js +14 -0
- package/lib/generated-client/models/timer-event-info.d.ts +29 -0
- package/lib/generated-client/models/timer-event-info.js +14 -0
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/timer-info-dto-query-result.js +14 -0
- package/lib/generated-client/models/timer-info-dto.d.ts +188 -0
- package/lib/generated-client/models/timer-info-dto.js +14 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/trailer-info.d.ts +85 -0
- package/lib/generated-client/models/trailer-info.js +14 -0
- package/lib/generated-client/models/transcode-seek-info.d.ts +19 -0
- package/lib/generated-client/models/transcode-seek-info.js +25 -0
- package/lib/generated-client/models/transcoding-info.d.ts +127 -0
- package/lib/generated-client/models/transcoding-info.js +47 -0
- package/lib/generated-client/models/transcoding-profile.d.ts +117 -0
- package/lib/generated-client/models/transcoding-profile.js +14 -0
- package/lib/generated-client/models/transport-stream-timestamp.d.ts +20 -0
- package/lib/generated-client/models/transport-stream-timestamp.js +26 -0
- package/lib/generated-client/models/tuner-channel-mapping.d.ts +41 -0
- package/lib/generated-client/models/tuner-channel-mapping.js +14 -0
- package/lib/generated-client/models/tuner-host-info.d.ts +83 -0
- package/lib/generated-client/models/tuner-host-info.js +14 -0
- package/lib/generated-client/models/type-options.d.ts +54 -0
- package/lib/generated-client/models/type-options.js +14 -0
- package/lib/generated-client/models/unrated-item.d.ts +26 -0
- package/lib/generated-client/models/unrated-item.js +32 -0
- package/lib/generated-client/models/update-library-options-dto.d.ts +30 -0
- package/lib/generated-client/models/update-library-options-dto.js +14 -0
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +30 -0
- package/lib/generated-client/models/update-media-path-request-dto.js +14 -0
- package/lib/generated-client/models/update-user-easy-password.d.ts +35 -0
- package/lib/generated-client/models/update-user-easy-password.js +14 -0
- package/lib/generated-client/models/update-user-password.d.ts +41 -0
- package/lib/generated-client/models/update-user-password.js +14 -0
- package/lib/generated-client/models/upload-subtitle-dto.d.ts +41 -0
- package/lib/generated-client/models/upload-subtitle-dto.js +14 -0
- package/lib/generated-client/models/user-configuration.d.ts +108 -0
- package/lib/generated-client/models/user-configuration.js +14 -0
- package/lib/generated-client/models/user-dto.d.ts +103 -0
- package/lib/generated-client/models/user-dto.js +14 -0
- package/lib/generated-client/models/user-item-data-dto.d.ts +83 -0
- package/lib/generated-client/models/user-item-data-dto.js +14 -0
- package/lib/generated-client/models/user-policy.d.ts +254 -0
- package/lib/generated-client/models/user-policy.js +14 -0
- package/lib/generated-client/models/utc-time-response.d.ts +29 -0
- package/lib/generated-client/models/utc-time-response.js +14 -0
- package/lib/generated-client/models/validate-path-dto.d.ts +35 -0
- package/lib/generated-client/models/validate-path-dto.js +14 -0
- package/lib/generated-client/models/version-info.d.ts +71 -0
- package/lib/generated-client/models/version-info.js +14 -0
- package/lib/generated-client/models/video-type.d.ts +21 -0
- package/lib/generated-client/models/video-type.js +27 -0
- package/lib/generated-client/models/video3-dformat.d.ts +22 -0
- package/lib/generated-client/models/video3-dformat.js +28 -0
- package/lib/generated-client/models/virtual-folder-info.d.ts +67 -0
- package/lib/generated-client/models/virtual-folder-info.js +14 -0
- package/lib/generated-client/models/wake-on-lan-info.d.ts +29 -0
- package/lib/generated-client/models/wake-on-lan-info.js +14 -0
- package/lib/generated-client/models/xbmc-metadata-options.d.ts +47 -0
- package/lib/generated-client/models/xbmc-metadata-options.js +14 -0
- package/lib/generated-client/models/xml-attribute.d.ts +29 -0
- package/lib/generated-client/models/xml-attribute.js +14 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.js +39 -0
- package/lib/jellyfin.d.ts +33 -0
- package/lib/jellyfin.js +34 -0
- package/lib/models/api/image-request-parameters.d.ts +29 -0
- package/lib/models/api/image-request-parameters.js +7 -0
- package/lib/models/api/index.d.ts +7 -0
- package/lib/models/api/index.js +23 -0
- package/lib/models/api/item-sort-by.d.ts +40 -0
- package/lib/models/api/item-sort-by.js +44 -0
- package/lib/models/client-info.d.ts +12 -0
- package/lib/models/client-info.js +7 -0
- package/lib/models/device-info.d.ts +12 -0
- package/lib/models/device-info.js +7 -0
- package/lib/models/index.d.ts +9 -0
- package/lib/models/index.js +25 -0
- package/lib/models/recommended-server-info.d.ts +22 -0
- package/lib/models/recommended-server-info.js +16 -0
- package/lib/models/recommended-server-issue.d.ts +48 -0
- package/lib/models/recommended-server-issue.js +103 -0
- package/lib/utils/address-candidates.d.ts +16 -0
- package/lib/utils/address-candidates.js +85 -0
- package/lib/utils/api/activity-log-api.d.ts +8 -0
- package/lib/utils/api/activity-log-api.js +13 -0
- package/lib/utils/api/api-key-api.d.ts +8 -0
- package/lib/utils/api/api-key-api.js +13 -0
- package/lib/utils/api/artists-api.d.ts +8 -0
- package/lib/utils/api/artists-api.js +13 -0
- package/lib/utils/api/audio-api.d.ts +8 -0
- package/lib/utils/api/audio-api.js +13 -0
- package/lib/utils/api/branding-api.d.ts +8 -0
- package/lib/utils/api/branding-api.js +13 -0
- package/lib/utils/api/channels-api.d.ts +8 -0
- package/lib/utils/api/channels-api.js +13 -0
- package/lib/utils/api/client-log-api.d.ts +8 -0
- package/lib/utils/api/client-log-api.js +13 -0
- package/lib/utils/api/collection-api.d.ts +8 -0
- package/lib/utils/api/collection-api.js +13 -0
- package/lib/utils/api/configuration-api.d.ts +8 -0
- package/lib/utils/api/configuration-api.js +13 -0
- package/lib/utils/api/dashboard-api.d.ts +8 -0
- package/lib/utils/api/dashboard-api.js +13 -0
- package/lib/utils/api/devices-api.d.ts +8 -0
- package/lib/utils/api/devices-api.js +13 -0
- package/lib/utils/api/display-preferences-api.d.ts +8 -0
- package/lib/utils/api/display-preferences-api.js +13 -0
- package/lib/utils/api/dlna-api.d.ts +8 -0
- package/lib/utils/api/dlna-api.js +13 -0
- package/lib/utils/api/dlna-server-api.d.ts +8 -0
- package/lib/utils/api/dlna-server-api.js +13 -0
- package/lib/utils/api/dynamic-hls-api.d.ts +8 -0
- package/lib/utils/api/dynamic-hls-api.js +13 -0
- package/lib/utils/api/environment-api.d.ts +8 -0
- package/lib/utils/api/environment-api.js +13 -0
- package/lib/utils/api/filter-api.d.ts +8 -0
- package/lib/utils/api/filter-api.js +13 -0
- package/lib/utils/api/genres-api.d.ts +8 -0
- package/lib/utils/api/genres-api.js +13 -0
- package/lib/utils/api/hls-segment-api.d.ts +8 -0
- package/lib/utils/api/hls-segment-api.js +13 -0
- package/lib/utils/api/image-api.d.ts +8 -0
- package/lib/utils/api/image-api.js +13 -0
- package/lib/utils/api/image-by-name-api.d.ts +8 -0
- package/lib/utils/api/image-by-name-api.js +13 -0
- package/lib/utils/api/instant-mix-api.d.ts +8 -0
- package/lib/utils/api/instant-mix-api.js +13 -0
- package/lib/utils/api/item-lookup-api.d.ts +8 -0
- package/lib/utils/api/item-lookup-api.js +13 -0
- package/lib/utils/api/item-refresh-api.d.ts +8 -0
- package/lib/utils/api/item-refresh-api.js +13 -0
- package/lib/utils/api/item-update-api.d.ts +8 -0
- package/lib/utils/api/item-update-api.js +13 -0
- package/lib/utils/api/items-api.d.ts +8 -0
- package/lib/utils/api/items-api.js +13 -0
- package/lib/utils/api/library-api.d.ts +8 -0
- package/lib/utils/api/library-api.js +13 -0
- package/lib/utils/api/library-structure-api.d.ts +8 -0
- package/lib/utils/api/library-structure-api.js +13 -0
- package/lib/utils/api/live-tv-api.d.ts +8 -0
- package/lib/utils/api/live-tv-api.js +13 -0
- package/lib/utils/api/localization-api.d.ts +8 -0
- package/lib/utils/api/localization-api.js +13 -0
- package/lib/utils/api/media-info-api.d.ts +8 -0
- package/lib/utils/api/media-info-api.js +13 -0
- package/lib/utils/api/movies-api.d.ts +8 -0
- package/lib/utils/api/movies-api.js +13 -0
- package/lib/utils/api/music-genres-api.d.ts +8 -0
- package/lib/utils/api/music-genres-api.js +13 -0
- package/lib/utils/api/notifications-api.d.ts +8 -0
- package/lib/utils/api/notifications-api.js +13 -0
- package/lib/utils/api/package-api.d.ts +8 -0
- package/lib/utils/api/package-api.js +13 -0
- package/lib/utils/api/persons-api.d.ts +8 -0
- package/lib/utils/api/persons-api.js +13 -0
- package/lib/utils/api/playlists-api.d.ts +8 -0
- package/lib/utils/api/playlists-api.js +13 -0
- package/lib/utils/api/playstate-api.d.ts +8 -0
- package/lib/utils/api/playstate-api.js +13 -0
- package/lib/utils/api/plugins-api.d.ts +8 -0
- package/lib/utils/api/plugins-api.js +13 -0
- package/lib/utils/api/quick-connect-api.d.ts +8 -0
- package/lib/utils/api/quick-connect-api.js +13 -0
- package/lib/utils/api/remote-image-api.d.ts +8 -0
- package/lib/utils/api/remote-image-api.js +13 -0
- package/lib/utils/api/scheduled-tasks-api.d.ts +8 -0
- package/lib/utils/api/scheduled-tasks-api.js +13 -0
- package/lib/utils/api/search-api.d.ts +8 -0
- package/lib/utils/api/search-api.js +13 -0
- package/lib/utils/api/session-api.d.ts +8 -0
- package/lib/utils/api/session-api.js +13 -0
- package/lib/utils/api/startup-api.d.ts +8 -0
- package/lib/utils/api/startup-api.js +13 -0
- package/lib/utils/api/studios-api.d.ts +8 -0
- package/lib/utils/api/studios-api.js +13 -0
- package/lib/utils/api/subtitle-api.d.ts +8 -0
- package/lib/utils/api/subtitle-api.js +13 -0
- package/lib/utils/api/suggestions-api.d.ts +8 -0
- package/lib/utils/api/suggestions-api.js +13 -0
- package/lib/utils/api/sync-play-api.d.ts +8 -0
- package/lib/utils/api/sync-play-api.js +13 -0
- package/lib/utils/api/system-api.d.ts +8 -0
- package/lib/utils/api/system-api.js +13 -0
- package/lib/utils/api/time-sync-api.d.ts +8 -0
- package/lib/utils/api/time-sync-api.js +13 -0
- package/lib/utils/api/tmdb-api.d.ts +8 -0
- package/lib/utils/api/tmdb-api.js +13 -0
- package/lib/utils/api/trailers-api.d.ts +8 -0
- package/lib/utils/api/trailers-api.js +13 -0
- package/lib/utils/api/tv-shows-api.d.ts +8 -0
- package/lib/utils/api/tv-shows-api.js +13 -0
- package/lib/utils/api/universal-audio-api.d.ts +8 -0
- package/lib/utils/api/universal-audio-api.js +13 -0
- package/lib/utils/api/user-api.d.ts +8 -0
- package/lib/utils/api/user-api.js +13 -0
- package/lib/utils/api/user-library-api.d.ts +8 -0
- package/lib/utils/api/user-library-api.js +13 -0
- package/lib/utils/api/user-views-api.d.ts +8 -0
- package/lib/utils/api/user-views-api.js +13 -0
- package/lib/utils/api/video-attachments-api.d.ts +8 -0
- package/lib/utils/api/video-attachments-api.js +13 -0
- package/lib/utils/api/videos-api.d.ts +8 -0
- package/lib/utils/api/videos-api.js +13 -0
- package/lib/utils/api/years-api.d.ts +8 -0
- package/lib/utils/api/years-api.js +13 -0
- package/lib/utils/authentication.d.ts +10 -0
- package/lib/utils/authentication.js +18 -0
- package/lib/utils/browser-profiles.d.ts +25 -0
- package/lib/utils/browser-profiles.js +44 -0
- package/lib/utils/index.d.ts +9 -0
- package/lib/utils/index.js +25 -0
- package/lib/utils/normalize-url.d.ts +20 -0
- package/lib/utils/normalize-url.js +96 -0
- package/lib/utils/url.d.ts +31 -0
- package/lib/utils/url.js +54 -0
- package/openapi-templates/licenseInfo.mustache +10 -0
- package/package.json +46 -0
- package/tsconfig.json +25 -0
|
@@ -0,0 +1,1985 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3
|
+
* Do not edit the class manually.
|
|
4
|
+
*
|
|
5
|
+
* Jellyfin API
|
|
6
|
+
*
|
|
7
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
8
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
|
+
*/
|
|
11
|
+
import { AxiosPromise, AxiosInstance } from 'axios';
|
|
12
|
+
import { Configuration } from '../configuration';
|
|
13
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
+
import { EncodingContext } from '../models';
|
|
15
|
+
import { SubtitleDeliveryMethod } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* AudioApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const AudioApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @summary Gets an audio stream.
|
|
24
|
+
* @param {string} itemId The item id.
|
|
25
|
+
* @param {string} [container] The audio container.
|
|
26
|
+
* @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.
|
|
27
|
+
* @param {string} [params] The streaming parameters.
|
|
28
|
+
* @param {string} [tag] The tag.
|
|
29
|
+
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
30
|
+
* @param {string} [playSessionId] The play session id.
|
|
31
|
+
* @param {string} [segmentContainer] The segment container.
|
|
32
|
+
* @param {number} [segmentLength] The segment length.
|
|
33
|
+
* @param {number} [minSegments] The minimum number of segments.
|
|
34
|
+
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
35
|
+
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
36
|
+
* @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.
|
|
37
|
+
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
38
|
+
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
39
|
+
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
40
|
+
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
41
|
+
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
42
|
+
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
43
|
+
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
44
|
+
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
45
|
+
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
46
|
+
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
47
|
+
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
48
|
+
* @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.
|
|
49
|
+
* @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.
|
|
50
|
+
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
51
|
+
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
52
|
+
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
53
|
+
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
54
|
+
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
55
|
+
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
56
|
+
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
57
|
+
* @param {number} [maxRefFrames] Optional.
|
|
58
|
+
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
59
|
+
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
60
|
+
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
61
|
+
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
62
|
+
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
63
|
+
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
64
|
+
* @param {string} [liveStreamId] The live stream id.
|
|
65
|
+
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
66
|
+
* @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.
|
|
67
|
+
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
68
|
+
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
69
|
+
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
70
|
+
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
71
|
+
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
72
|
+
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
getAudioStream: (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?: {
|
|
77
|
+
[key: string]: string;
|
|
78
|
+
} | undefined, options?: any) => Promise<RequestArgs>;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @summary Gets an audio stream.
|
|
82
|
+
* @param {string} itemId The item id.
|
|
83
|
+
* @param {string} container The audio container.
|
|
84
|
+
* @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.
|
|
85
|
+
* @param {string} [params] The streaming parameters.
|
|
86
|
+
* @param {string} [tag] The tag.
|
|
87
|
+
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
88
|
+
* @param {string} [playSessionId] The play session id.
|
|
89
|
+
* @param {string} [segmentContainer] The segment container.
|
|
90
|
+
* @param {number} [segmentLength] The segment lenght.
|
|
91
|
+
* @param {number} [minSegments] The minimum number of segments.
|
|
92
|
+
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
93
|
+
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
94
|
+
* @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.
|
|
95
|
+
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
96
|
+
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
97
|
+
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
98
|
+
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
99
|
+
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
100
|
+
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
101
|
+
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
102
|
+
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
103
|
+
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
104
|
+
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
105
|
+
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
106
|
+
* @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.
|
|
107
|
+
* @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.
|
|
108
|
+
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
109
|
+
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
110
|
+
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
111
|
+
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
112
|
+
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
113
|
+
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
114
|
+
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
115
|
+
* @param {number} [maxRefFrames] Optional.
|
|
116
|
+
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
117
|
+
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
118
|
+
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
119
|
+
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
|
|
120
|
+
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
121
|
+
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
122
|
+
* @param {string} [liveStreamId] The live stream id.
|
|
123
|
+
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
124
|
+
* @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.
|
|
125
|
+
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
126
|
+
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
127
|
+
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
128
|
+
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
129
|
+
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
130
|
+
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
131
|
+
* @param {*} [options] Override http request option.
|
|
132
|
+
* @throws {RequiredError}
|
|
133
|
+
*/
|
|
134
|
+
getAudioStreamByContainer: (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?: {
|
|
135
|
+
[key: string]: string;
|
|
136
|
+
} | undefined, options?: any) => Promise<RequestArgs>;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @summary Gets an audio stream.
|
|
140
|
+
* @param {string} itemId The item id.
|
|
141
|
+
* @param {string} [container] The audio container.
|
|
142
|
+
* @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.
|
|
143
|
+
* @param {string} [params] The streaming parameters.
|
|
144
|
+
* @param {string} [tag] The tag.
|
|
145
|
+
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
146
|
+
* @param {string} [playSessionId] The play session id.
|
|
147
|
+
* @param {string} [segmentContainer] The segment container.
|
|
148
|
+
* @param {number} [segmentLength] The segment length.
|
|
149
|
+
* @param {number} [minSegments] The minimum number of segments.
|
|
150
|
+
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
151
|
+
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
152
|
+
* @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.
|
|
153
|
+
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
154
|
+
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
155
|
+
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
156
|
+
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
157
|
+
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
158
|
+
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
159
|
+
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
160
|
+
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
161
|
+
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
162
|
+
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
163
|
+
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
164
|
+
* @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.
|
|
165
|
+
* @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.
|
|
166
|
+
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
167
|
+
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
168
|
+
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
169
|
+
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
170
|
+
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
171
|
+
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
172
|
+
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
173
|
+
* @param {number} [maxRefFrames] Optional.
|
|
174
|
+
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
175
|
+
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
176
|
+
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
177
|
+
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
178
|
+
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
179
|
+
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
180
|
+
* @param {string} [liveStreamId] The live stream id.
|
|
181
|
+
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
182
|
+
* @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.
|
|
183
|
+
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
184
|
+
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
185
|
+
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
186
|
+
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
187
|
+
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
188
|
+
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
189
|
+
* @param {*} [options] Override http request option.
|
|
190
|
+
* @throws {RequiredError}
|
|
191
|
+
*/
|
|
192
|
+
headAudioStream: (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?: {
|
|
193
|
+
[key: string]: string;
|
|
194
|
+
} | undefined, options?: any) => Promise<RequestArgs>;
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @summary Gets an audio stream.
|
|
198
|
+
* @param {string} itemId The item id.
|
|
199
|
+
* @param {string} container The audio container.
|
|
200
|
+
* @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.
|
|
201
|
+
* @param {string} [params] The streaming parameters.
|
|
202
|
+
* @param {string} [tag] The tag.
|
|
203
|
+
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
204
|
+
* @param {string} [playSessionId] The play session id.
|
|
205
|
+
* @param {string} [segmentContainer] The segment container.
|
|
206
|
+
* @param {number} [segmentLength] The segment lenght.
|
|
207
|
+
* @param {number} [minSegments] The minimum number of segments.
|
|
208
|
+
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
209
|
+
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
210
|
+
* @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.
|
|
211
|
+
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
212
|
+
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
213
|
+
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
214
|
+
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
215
|
+
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
216
|
+
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
217
|
+
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
218
|
+
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
219
|
+
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
220
|
+
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
221
|
+
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
222
|
+
* @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.
|
|
223
|
+
* @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.
|
|
224
|
+
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
225
|
+
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
226
|
+
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
227
|
+
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
228
|
+
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
229
|
+
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
230
|
+
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
231
|
+
* @param {number} [maxRefFrames] Optional.
|
|
232
|
+
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
233
|
+
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
234
|
+
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
235
|
+
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
|
|
236
|
+
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
237
|
+
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
238
|
+
* @param {string} [liveStreamId] The live stream id.
|
|
239
|
+
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
240
|
+
* @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.
|
|
241
|
+
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
242
|
+
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
243
|
+
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
244
|
+
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
245
|
+
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
246
|
+
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
247
|
+
* @param {*} [options] Override http request option.
|
|
248
|
+
* @throws {RequiredError}
|
|
249
|
+
*/
|
|
250
|
+
headAudioStreamByContainer: (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?: {
|
|
251
|
+
[key: string]: string;
|
|
252
|
+
} | undefined, options?: any) => Promise<RequestArgs>;
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* AudioApi - functional programming interface
|
|
256
|
+
* @export
|
|
257
|
+
*/
|
|
258
|
+
export declare const AudioApiFp: (configuration?: Configuration) => {
|
|
259
|
+
/**
|
|
260
|
+
*
|
|
261
|
+
* @summary Gets an audio stream.
|
|
262
|
+
* @param {string} itemId The item id.
|
|
263
|
+
* @param {string} [container] The audio container.
|
|
264
|
+
* @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.
|
|
265
|
+
* @param {string} [params] The streaming parameters.
|
|
266
|
+
* @param {string} [tag] The tag.
|
|
267
|
+
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
268
|
+
* @param {string} [playSessionId] The play session id.
|
|
269
|
+
* @param {string} [segmentContainer] The segment container.
|
|
270
|
+
* @param {number} [segmentLength] The segment length.
|
|
271
|
+
* @param {number} [minSegments] The minimum number of segments.
|
|
272
|
+
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
273
|
+
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
274
|
+
* @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.
|
|
275
|
+
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
276
|
+
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
277
|
+
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
278
|
+
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
279
|
+
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
280
|
+
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
281
|
+
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
282
|
+
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
283
|
+
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
284
|
+
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
285
|
+
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
286
|
+
* @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.
|
|
287
|
+
* @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.
|
|
288
|
+
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
289
|
+
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
290
|
+
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
291
|
+
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
292
|
+
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
293
|
+
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
294
|
+
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
295
|
+
* @param {number} [maxRefFrames] Optional.
|
|
296
|
+
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
297
|
+
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
298
|
+
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
299
|
+
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
300
|
+
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
301
|
+
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
302
|
+
* @param {string} [liveStreamId] The live stream id.
|
|
303
|
+
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
304
|
+
* @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.
|
|
305
|
+
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
306
|
+
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
307
|
+
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
308
|
+
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
309
|
+
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
310
|
+
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
311
|
+
* @param {*} [options] Override http request option.
|
|
312
|
+
* @throws {RequiredError}
|
|
313
|
+
*/
|
|
314
|
+
getAudioStream(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?: {
|
|
315
|
+
[key: string]: string;
|
|
316
|
+
} | undefined, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
317
|
+
/**
|
|
318
|
+
*
|
|
319
|
+
* @summary Gets an audio stream.
|
|
320
|
+
* @param {string} itemId The item id.
|
|
321
|
+
* @param {string} container The audio container.
|
|
322
|
+
* @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.
|
|
323
|
+
* @param {string} [params] The streaming parameters.
|
|
324
|
+
* @param {string} [tag] The tag.
|
|
325
|
+
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
326
|
+
* @param {string} [playSessionId] The play session id.
|
|
327
|
+
* @param {string} [segmentContainer] The segment container.
|
|
328
|
+
* @param {number} [segmentLength] The segment lenght.
|
|
329
|
+
* @param {number} [minSegments] The minimum number of segments.
|
|
330
|
+
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
331
|
+
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
332
|
+
* @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.
|
|
333
|
+
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
334
|
+
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
335
|
+
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
336
|
+
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
337
|
+
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
338
|
+
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
339
|
+
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
340
|
+
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
341
|
+
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
342
|
+
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
343
|
+
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
344
|
+
* @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.
|
|
345
|
+
* @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.
|
|
346
|
+
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
347
|
+
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
348
|
+
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
349
|
+
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
350
|
+
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
351
|
+
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
352
|
+
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
353
|
+
* @param {number} [maxRefFrames] Optional.
|
|
354
|
+
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
355
|
+
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
356
|
+
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
357
|
+
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
|
|
358
|
+
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
359
|
+
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
360
|
+
* @param {string} [liveStreamId] The live stream id.
|
|
361
|
+
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
362
|
+
* @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.
|
|
363
|
+
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
364
|
+
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
365
|
+
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
366
|
+
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
367
|
+
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
368
|
+
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
369
|
+
* @param {*} [options] Override http request option.
|
|
370
|
+
* @throws {RequiredError}
|
|
371
|
+
*/
|
|
372
|
+
getAudioStreamByContainer(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?: {
|
|
373
|
+
[key: string]: string;
|
|
374
|
+
} | undefined, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
* @summary Gets an audio stream.
|
|
378
|
+
* @param {string} itemId The item id.
|
|
379
|
+
* @param {string} [container] The audio container.
|
|
380
|
+
* @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.
|
|
381
|
+
* @param {string} [params] The streaming parameters.
|
|
382
|
+
* @param {string} [tag] The tag.
|
|
383
|
+
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
384
|
+
* @param {string} [playSessionId] The play session id.
|
|
385
|
+
* @param {string} [segmentContainer] The segment container.
|
|
386
|
+
* @param {number} [segmentLength] The segment length.
|
|
387
|
+
* @param {number} [minSegments] The minimum number of segments.
|
|
388
|
+
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
389
|
+
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
390
|
+
* @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.
|
|
391
|
+
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
392
|
+
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
393
|
+
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
394
|
+
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
395
|
+
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
396
|
+
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
397
|
+
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
398
|
+
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
399
|
+
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
400
|
+
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
401
|
+
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
402
|
+
* @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.
|
|
403
|
+
* @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.
|
|
404
|
+
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
405
|
+
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
406
|
+
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
407
|
+
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
408
|
+
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
409
|
+
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
410
|
+
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
411
|
+
* @param {number} [maxRefFrames] Optional.
|
|
412
|
+
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
413
|
+
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
414
|
+
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
415
|
+
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
416
|
+
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
417
|
+
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
418
|
+
* @param {string} [liveStreamId] The live stream id.
|
|
419
|
+
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
420
|
+
* @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.
|
|
421
|
+
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
422
|
+
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
423
|
+
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
424
|
+
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
425
|
+
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
426
|
+
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
427
|
+
* @param {*} [options] Override http request option.
|
|
428
|
+
* @throws {RequiredError}
|
|
429
|
+
*/
|
|
430
|
+
headAudioStream(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?: {
|
|
431
|
+
[key: string]: string;
|
|
432
|
+
} | undefined, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
433
|
+
/**
|
|
434
|
+
*
|
|
435
|
+
* @summary Gets an audio stream.
|
|
436
|
+
* @param {string} itemId The item id.
|
|
437
|
+
* @param {string} container The audio container.
|
|
438
|
+
* @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.
|
|
439
|
+
* @param {string} [params] The streaming parameters.
|
|
440
|
+
* @param {string} [tag] The tag.
|
|
441
|
+
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
442
|
+
* @param {string} [playSessionId] The play session id.
|
|
443
|
+
* @param {string} [segmentContainer] The segment container.
|
|
444
|
+
* @param {number} [segmentLength] The segment lenght.
|
|
445
|
+
* @param {number} [minSegments] The minimum number of segments.
|
|
446
|
+
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
447
|
+
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
448
|
+
* @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.
|
|
449
|
+
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
450
|
+
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
451
|
+
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
452
|
+
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
453
|
+
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
454
|
+
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
455
|
+
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
456
|
+
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
457
|
+
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
458
|
+
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
459
|
+
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
460
|
+
* @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.
|
|
461
|
+
* @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.
|
|
462
|
+
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
463
|
+
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
464
|
+
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
465
|
+
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
466
|
+
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
467
|
+
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
468
|
+
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
469
|
+
* @param {number} [maxRefFrames] Optional.
|
|
470
|
+
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
471
|
+
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
472
|
+
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
473
|
+
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
|
|
474
|
+
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
475
|
+
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
476
|
+
* @param {string} [liveStreamId] The live stream id.
|
|
477
|
+
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
478
|
+
* @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.
|
|
479
|
+
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
480
|
+
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
481
|
+
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
482
|
+
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
483
|
+
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
484
|
+
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
485
|
+
* @param {*} [options] Override http request option.
|
|
486
|
+
* @throws {RequiredError}
|
|
487
|
+
*/
|
|
488
|
+
headAudioStreamByContainer(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?: {
|
|
489
|
+
[key: string]: string;
|
|
490
|
+
} | undefined, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
491
|
+
};
|
|
492
|
+
/**
|
|
493
|
+
* AudioApi - factory interface
|
|
494
|
+
* @export
|
|
495
|
+
*/
|
|
496
|
+
export declare const AudioApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
497
|
+
/**
|
|
498
|
+
*
|
|
499
|
+
* @summary Gets an audio stream.
|
|
500
|
+
* @param {string} itemId The item id.
|
|
501
|
+
* @param {string} [container] The audio container.
|
|
502
|
+
* @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.
|
|
503
|
+
* @param {string} [params] The streaming parameters.
|
|
504
|
+
* @param {string} [tag] The tag.
|
|
505
|
+
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
506
|
+
* @param {string} [playSessionId] The play session id.
|
|
507
|
+
* @param {string} [segmentContainer] The segment container.
|
|
508
|
+
* @param {number} [segmentLength] The segment length.
|
|
509
|
+
* @param {number} [minSegments] The minimum number of segments.
|
|
510
|
+
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
511
|
+
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
512
|
+
* @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.
|
|
513
|
+
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
514
|
+
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
515
|
+
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
516
|
+
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
517
|
+
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
518
|
+
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
519
|
+
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
520
|
+
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
521
|
+
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
522
|
+
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
523
|
+
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
524
|
+
* @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.
|
|
525
|
+
* @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.
|
|
526
|
+
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
527
|
+
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
528
|
+
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
529
|
+
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
530
|
+
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
531
|
+
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
532
|
+
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
533
|
+
* @param {number} [maxRefFrames] Optional.
|
|
534
|
+
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
535
|
+
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
536
|
+
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
537
|
+
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
538
|
+
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
539
|
+
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
540
|
+
* @param {string} [liveStreamId] The live stream id.
|
|
541
|
+
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
542
|
+
* @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.
|
|
543
|
+
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
544
|
+
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
545
|
+
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
546
|
+
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
547
|
+
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
548
|
+
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
549
|
+
* @param {*} [options] Override http request option.
|
|
550
|
+
* @throws {RequiredError}
|
|
551
|
+
*/
|
|
552
|
+
getAudioStream(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?: {
|
|
553
|
+
[key: string]: string;
|
|
554
|
+
} | undefined, options?: any): AxiosPromise<any>;
|
|
555
|
+
/**
|
|
556
|
+
*
|
|
557
|
+
* @summary Gets an audio stream.
|
|
558
|
+
* @param {string} itemId The item id.
|
|
559
|
+
* @param {string} container The audio container.
|
|
560
|
+
* @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.
|
|
561
|
+
* @param {string} [params] The streaming parameters.
|
|
562
|
+
* @param {string} [tag] The tag.
|
|
563
|
+
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
564
|
+
* @param {string} [playSessionId] The play session id.
|
|
565
|
+
* @param {string} [segmentContainer] The segment container.
|
|
566
|
+
* @param {number} [segmentLength] The segment lenght.
|
|
567
|
+
* @param {number} [minSegments] The minimum number of segments.
|
|
568
|
+
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
569
|
+
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
570
|
+
* @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.
|
|
571
|
+
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
572
|
+
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
573
|
+
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
574
|
+
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
575
|
+
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
576
|
+
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
577
|
+
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
578
|
+
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
579
|
+
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
580
|
+
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
581
|
+
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
582
|
+
* @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.
|
|
583
|
+
* @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.
|
|
584
|
+
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
585
|
+
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
586
|
+
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
587
|
+
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
588
|
+
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
589
|
+
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
590
|
+
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
591
|
+
* @param {number} [maxRefFrames] Optional.
|
|
592
|
+
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
593
|
+
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
594
|
+
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
595
|
+
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
|
|
596
|
+
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
597
|
+
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
598
|
+
* @param {string} [liveStreamId] The live stream id.
|
|
599
|
+
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
600
|
+
* @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.
|
|
601
|
+
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
602
|
+
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
603
|
+
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
604
|
+
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
605
|
+
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
606
|
+
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
607
|
+
* @param {*} [options] Override http request option.
|
|
608
|
+
* @throws {RequiredError}
|
|
609
|
+
*/
|
|
610
|
+
getAudioStreamByContainer(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?: {
|
|
611
|
+
[key: string]: string;
|
|
612
|
+
} | undefined, options?: any): AxiosPromise<any>;
|
|
613
|
+
/**
|
|
614
|
+
*
|
|
615
|
+
* @summary Gets an audio stream.
|
|
616
|
+
* @param {string} itemId The item id.
|
|
617
|
+
* @param {string} [container] The audio container.
|
|
618
|
+
* @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.
|
|
619
|
+
* @param {string} [params] The streaming parameters.
|
|
620
|
+
* @param {string} [tag] The tag.
|
|
621
|
+
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
622
|
+
* @param {string} [playSessionId] The play session id.
|
|
623
|
+
* @param {string} [segmentContainer] The segment container.
|
|
624
|
+
* @param {number} [segmentLength] The segment length.
|
|
625
|
+
* @param {number} [minSegments] The minimum number of segments.
|
|
626
|
+
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
627
|
+
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
628
|
+
* @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.
|
|
629
|
+
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
630
|
+
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
631
|
+
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
632
|
+
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
633
|
+
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
634
|
+
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
635
|
+
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
636
|
+
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
637
|
+
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
638
|
+
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
639
|
+
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
640
|
+
* @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.
|
|
641
|
+
* @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.
|
|
642
|
+
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
643
|
+
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
644
|
+
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
645
|
+
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
646
|
+
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
647
|
+
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
648
|
+
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
649
|
+
* @param {number} [maxRefFrames] Optional.
|
|
650
|
+
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
651
|
+
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
652
|
+
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
653
|
+
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
|
|
654
|
+
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
655
|
+
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
656
|
+
* @param {string} [liveStreamId] The live stream id.
|
|
657
|
+
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
658
|
+
* @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.
|
|
659
|
+
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
660
|
+
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
661
|
+
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
662
|
+
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
663
|
+
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
664
|
+
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
665
|
+
* @param {*} [options] Override http request option.
|
|
666
|
+
* @throws {RequiredError}
|
|
667
|
+
*/
|
|
668
|
+
headAudioStream(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?: {
|
|
669
|
+
[key: string]: string;
|
|
670
|
+
} | undefined, options?: any): AxiosPromise<any>;
|
|
671
|
+
/**
|
|
672
|
+
*
|
|
673
|
+
* @summary Gets an audio stream.
|
|
674
|
+
* @param {string} itemId The item id.
|
|
675
|
+
* @param {string} container The audio container.
|
|
676
|
+
* @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.
|
|
677
|
+
* @param {string} [params] The streaming parameters.
|
|
678
|
+
* @param {string} [tag] The tag.
|
|
679
|
+
* @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize.
|
|
680
|
+
* @param {string} [playSessionId] The play session id.
|
|
681
|
+
* @param {string} [segmentContainer] The segment container.
|
|
682
|
+
* @param {number} [segmentLength] The segment lenght.
|
|
683
|
+
* @param {number} [minSegments] The minimum number of segments.
|
|
684
|
+
* @param {string} [mediaSourceId] The media version id, if playing an alternate version.
|
|
685
|
+
* @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed.
|
|
686
|
+
* @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.
|
|
687
|
+
* @param {boolean} [enableAutoStreamCopy] Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
688
|
+
* @param {boolean} [allowVideoStreamCopy] Whether or not to allow copying of the video stream url.
|
|
689
|
+
* @param {boolean} [allowAudioStreamCopy] Whether or not to allow copying of the audio stream url.
|
|
690
|
+
* @param {boolean} [breakOnNonKeyFrames] Optional. Whether to break on non key frames.
|
|
691
|
+
* @param {number} [audioSampleRate] Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
692
|
+
* @param {number} [maxAudioBitDepth] Optional. The maximum audio bit depth.
|
|
693
|
+
* @param {number} [audioBitRate] Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
694
|
+
* @param {number} [audioChannels] Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
695
|
+
* @param {number} [maxAudioChannels] Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
696
|
+
* @param {string} [profile] Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
697
|
+
* @param {string} [level] Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
698
|
+
* @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.
|
|
699
|
+
* @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.
|
|
700
|
+
* @param {boolean} [copyTimestamps] Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
701
|
+
* @param {number} [startTimeTicks] Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
702
|
+
* @param {number} [width] Optional. The fixed horizontal resolution of the encoded video.
|
|
703
|
+
* @param {number} [height] Optional. The fixed vertical resolution of the encoded video.
|
|
704
|
+
* @param {number} [videoBitRate] Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
705
|
+
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
706
|
+
* @param {SubtitleDeliveryMethod} [subtitleMethod] Optional. Specify the subtitle delivery method.
|
|
707
|
+
* @param {number} [maxRefFrames] Optional.
|
|
708
|
+
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
|
|
709
|
+
* @param {boolean} [requireAvc] Optional. Whether to require avc.
|
|
710
|
+
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
|
|
711
|
+
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
|
|
712
|
+
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
|
|
713
|
+
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
|
|
714
|
+
* @param {string} [liveStreamId] The live stream id.
|
|
715
|
+
* @param {boolean} [enableMpegtsM2TsMode] Optional. Whether to enable the MpegtsM2Ts mode.
|
|
716
|
+
* @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.
|
|
717
|
+
* @param {string} [subtitleCodec] Optional. Specify a subtitle codec to encode to.
|
|
718
|
+
* @param {string} [transcodeReasons] Optional. The transcoding reason.
|
|
719
|
+
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
720
|
+
* @param {number} [videoStreamIndex] Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
721
|
+
* @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
722
|
+
* @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options.
|
|
723
|
+
* @param {*} [options] Override http request option.
|
|
724
|
+
* @throws {RequiredError}
|
|
725
|
+
*/
|
|
726
|
+
headAudioStreamByContainer(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?: {
|
|
727
|
+
[key: string]: string;
|
|
728
|
+
} | undefined, options?: any): AxiosPromise<any>;
|
|
729
|
+
};
|
|
730
|
+
/**
|
|
731
|
+
* Request parameters for getAudioStream operation in AudioApi.
|
|
732
|
+
* @export
|
|
733
|
+
* @interface AudioApiGetAudioStreamRequest
|
|
734
|
+
*/
|
|
735
|
+
export interface AudioApiGetAudioStreamRequest {
|
|
736
|
+
/**
|
|
737
|
+
* The item id.
|
|
738
|
+
* @type {string}
|
|
739
|
+
* @memberof AudioApiGetAudioStream
|
|
740
|
+
*/
|
|
741
|
+
readonly itemId: string;
|
|
742
|
+
/**
|
|
743
|
+
* The audio container.
|
|
744
|
+
* @type {string}
|
|
745
|
+
* @memberof AudioApiGetAudioStream
|
|
746
|
+
*/
|
|
747
|
+
readonly container?: string;
|
|
748
|
+
/**
|
|
749
|
+
* 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.
|
|
750
|
+
* @type {boolean}
|
|
751
|
+
* @memberof AudioApiGetAudioStream
|
|
752
|
+
*/
|
|
753
|
+
readonly _static?: boolean;
|
|
754
|
+
/**
|
|
755
|
+
* The streaming parameters.
|
|
756
|
+
* @type {string}
|
|
757
|
+
* @memberof AudioApiGetAudioStream
|
|
758
|
+
*/
|
|
759
|
+
readonly params?: string;
|
|
760
|
+
/**
|
|
761
|
+
* The tag.
|
|
762
|
+
* @type {string}
|
|
763
|
+
* @memberof AudioApiGetAudioStream
|
|
764
|
+
*/
|
|
765
|
+
readonly tag?: string;
|
|
766
|
+
/**
|
|
767
|
+
* Optional. The dlna device profile id to utilize.
|
|
768
|
+
* @type {string}
|
|
769
|
+
* @memberof AudioApiGetAudioStream
|
|
770
|
+
*/
|
|
771
|
+
readonly deviceProfileId?: string;
|
|
772
|
+
/**
|
|
773
|
+
* The play session id.
|
|
774
|
+
* @type {string}
|
|
775
|
+
* @memberof AudioApiGetAudioStream
|
|
776
|
+
*/
|
|
777
|
+
readonly playSessionId?: string;
|
|
778
|
+
/**
|
|
779
|
+
* The segment container.
|
|
780
|
+
* @type {string}
|
|
781
|
+
* @memberof AudioApiGetAudioStream
|
|
782
|
+
*/
|
|
783
|
+
readonly segmentContainer?: string;
|
|
784
|
+
/**
|
|
785
|
+
* The segment length.
|
|
786
|
+
* @type {number}
|
|
787
|
+
* @memberof AudioApiGetAudioStream
|
|
788
|
+
*/
|
|
789
|
+
readonly segmentLength?: number;
|
|
790
|
+
/**
|
|
791
|
+
* The minimum number of segments.
|
|
792
|
+
* @type {number}
|
|
793
|
+
* @memberof AudioApiGetAudioStream
|
|
794
|
+
*/
|
|
795
|
+
readonly minSegments?: number;
|
|
796
|
+
/**
|
|
797
|
+
* The media version id, if playing an alternate version.
|
|
798
|
+
* @type {string}
|
|
799
|
+
* @memberof AudioApiGetAudioStream
|
|
800
|
+
*/
|
|
801
|
+
readonly mediaSourceId?: string;
|
|
802
|
+
/**
|
|
803
|
+
* The device id of the client requesting. Used to stop encoding processes when needed.
|
|
804
|
+
* @type {string}
|
|
805
|
+
* @memberof AudioApiGetAudioStream
|
|
806
|
+
*/
|
|
807
|
+
readonly deviceId?: string;
|
|
808
|
+
/**
|
|
809
|
+
* 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.
|
|
810
|
+
* @type {string}
|
|
811
|
+
* @memberof AudioApiGetAudioStream
|
|
812
|
+
*/
|
|
813
|
+
readonly audioCodec?: string;
|
|
814
|
+
/**
|
|
815
|
+
* Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
816
|
+
* @type {boolean}
|
|
817
|
+
* @memberof AudioApiGetAudioStream
|
|
818
|
+
*/
|
|
819
|
+
readonly enableAutoStreamCopy?: boolean;
|
|
820
|
+
/**
|
|
821
|
+
* Whether or not to allow copying of the video stream url.
|
|
822
|
+
* @type {boolean}
|
|
823
|
+
* @memberof AudioApiGetAudioStream
|
|
824
|
+
*/
|
|
825
|
+
readonly allowVideoStreamCopy?: boolean;
|
|
826
|
+
/**
|
|
827
|
+
* Whether or not to allow copying of the audio stream url.
|
|
828
|
+
* @type {boolean}
|
|
829
|
+
* @memberof AudioApiGetAudioStream
|
|
830
|
+
*/
|
|
831
|
+
readonly allowAudioStreamCopy?: boolean;
|
|
832
|
+
/**
|
|
833
|
+
* Optional. Whether to break on non key frames.
|
|
834
|
+
* @type {boolean}
|
|
835
|
+
* @memberof AudioApiGetAudioStream
|
|
836
|
+
*/
|
|
837
|
+
readonly breakOnNonKeyFrames?: boolean;
|
|
838
|
+
/**
|
|
839
|
+
* Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
840
|
+
* @type {number}
|
|
841
|
+
* @memberof AudioApiGetAudioStream
|
|
842
|
+
*/
|
|
843
|
+
readonly audioSampleRate?: number;
|
|
844
|
+
/**
|
|
845
|
+
* Optional. The maximum audio bit depth.
|
|
846
|
+
* @type {number}
|
|
847
|
+
* @memberof AudioApiGetAudioStream
|
|
848
|
+
*/
|
|
849
|
+
readonly maxAudioBitDepth?: number;
|
|
850
|
+
/**
|
|
851
|
+
* Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
852
|
+
* @type {number}
|
|
853
|
+
* @memberof AudioApiGetAudioStream
|
|
854
|
+
*/
|
|
855
|
+
readonly audioBitRate?: number;
|
|
856
|
+
/**
|
|
857
|
+
* Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
858
|
+
* @type {number}
|
|
859
|
+
* @memberof AudioApiGetAudioStream
|
|
860
|
+
*/
|
|
861
|
+
readonly audioChannels?: number;
|
|
862
|
+
/**
|
|
863
|
+
* Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
864
|
+
* @type {number}
|
|
865
|
+
* @memberof AudioApiGetAudioStream
|
|
866
|
+
*/
|
|
867
|
+
readonly maxAudioChannels?: number;
|
|
868
|
+
/**
|
|
869
|
+
* Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
870
|
+
* @type {string}
|
|
871
|
+
* @memberof AudioApiGetAudioStream
|
|
872
|
+
*/
|
|
873
|
+
readonly profile?: string;
|
|
874
|
+
/**
|
|
875
|
+
* Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
876
|
+
* @type {string}
|
|
877
|
+
* @memberof AudioApiGetAudioStream
|
|
878
|
+
*/
|
|
879
|
+
readonly level?: string;
|
|
880
|
+
/**
|
|
881
|
+
* Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
882
|
+
* @type {number}
|
|
883
|
+
* @memberof AudioApiGetAudioStream
|
|
884
|
+
*/
|
|
885
|
+
readonly framerate?: number;
|
|
886
|
+
/**
|
|
887
|
+
* Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
888
|
+
* @type {number}
|
|
889
|
+
* @memberof AudioApiGetAudioStream
|
|
890
|
+
*/
|
|
891
|
+
readonly maxFramerate?: number;
|
|
892
|
+
/**
|
|
893
|
+
* Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
894
|
+
* @type {boolean}
|
|
895
|
+
* @memberof AudioApiGetAudioStream
|
|
896
|
+
*/
|
|
897
|
+
readonly copyTimestamps?: boolean;
|
|
898
|
+
/**
|
|
899
|
+
* Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
900
|
+
* @type {number}
|
|
901
|
+
* @memberof AudioApiGetAudioStream
|
|
902
|
+
*/
|
|
903
|
+
readonly startTimeTicks?: number;
|
|
904
|
+
/**
|
|
905
|
+
* Optional. The fixed horizontal resolution of the encoded video.
|
|
906
|
+
* @type {number}
|
|
907
|
+
* @memberof AudioApiGetAudioStream
|
|
908
|
+
*/
|
|
909
|
+
readonly width?: number;
|
|
910
|
+
/**
|
|
911
|
+
* Optional. The fixed vertical resolution of the encoded video.
|
|
912
|
+
* @type {number}
|
|
913
|
+
* @memberof AudioApiGetAudioStream
|
|
914
|
+
*/
|
|
915
|
+
readonly height?: number;
|
|
916
|
+
/**
|
|
917
|
+
* Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
918
|
+
* @type {number}
|
|
919
|
+
* @memberof AudioApiGetAudioStream
|
|
920
|
+
*/
|
|
921
|
+
readonly videoBitRate?: number;
|
|
922
|
+
/**
|
|
923
|
+
* Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
924
|
+
* @type {number}
|
|
925
|
+
* @memberof AudioApiGetAudioStream
|
|
926
|
+
*/
|
|
927
|
+
readonly subtitleStreamIndex?: number;
|
|
928
|
+
/**
|
|
929
|
+
* Optional. Specify the subtitle delivery method.
|
|
930
|
+
* @type {SubtitleDeliveryMethod}
|
|
931
|
+
* @memberof AudioApiGetAudioStream
|
|
932
|
+
*/
|
|
933
|
+
readonly subtitleMethod?: SubtitleDeliveryMethod;
|
|
934
|
+
/**
|
|
935
|
+
* Optional.
|
|
936
|
+
* @type {number}
|
|
937
|
+
* @memberof AudioApiGetAudioStream
|
|
938
|
+
*/
|
|
939
|
+
readonly maxRefFrames?: number;
|
|
940
|
+
/**
|
|
941
|
+
* Optional. The maximum video bit depth.
|
|
942
|
+
* @type {number}
|
|
943
|
+
* @memberof AudioApiGetAudioStream
|
|
944
|
+
*/
|
|
945
|
+
readonly maxVideoBitDepth?: number;
|
|
946
|
+
/**
|
|
947
|
+
* Optional. Whether to require avc.
|
|
948
|
+
* @type {boolean}
|
|
949
|
+
* @memberof AudioApiGetAudioStream
|
|
950
|
+
*/
|
|
951
|
+
readonly requireAvc?: boolean;
|
|
952
|
+
/**
|
|
953
|
+
* Optional. Whether to deinterlace the video.
|
|
954
|
+
* @type {boolean}
|
|
955
|
+
* @memberof AudioApiGetAudioStream
|
|
956
|
+
*/
|
|
957
|
+
readonly deInterlace?: boolean;
|
|
958
|
+
/**
|
|
959
|
+
* Optional. Whether to require a non anamorphic stream.
|
|
960
|
+
* @type {boolean}
|
|
961
|
+
* @memberof AudioApiGetAudioStream
|
|
962
|
+
*/
|
|
963
|
+
readonly requireNonAnamorphic?: boolean;
|
|
964
|
+
/**
|
|
965
|
+
* Optional. The maximum number of audio channels to transcode.
|
|
966
|
+
* @type {number}
|
|
967
|
+
* @memberof AudioApiGetAudioStream
|
|
968
|
+
*/
|
|
969
|
+
readonly transcodingMaxAudioChannels?: number;
|
|
970
|
+
/**
|
|
971
|
+
* Optional. The limit of how many cpu cores to use.
|
|
972
|
+
* @type {number}
|
|
973
|
+
* @memberof AudioApiGetAudioStream
|
|
974
|
+
*/
|
|
975
|
+
readonly cpuCoreLimit?: number;
|
|
976
|
+
/**
|
|
977
|
+
* The live stream id.
|
|
978
|
+
* @type {string}
|
|
979
|
+
* @memberof AudioApiGetAudioStream
|
|
980
|
+
*/
|
|
981
|
+
readonly liveStreamId?: string;
|
|
982
|
+
/**
|
|
983
|
+
* Optional. Whether to enable the MpegtsM2Ts mode.
|
|
984
|
+
* @type {boolean}
|
|
985
|
+
* @memberof AudioApiGetAudioStream
|
|
986
|
+
*/
|
|
987
|
+
readonly enableMpegtsM2TsMode?: boolean;
|
|
988
|
+
/**
|
|
989
|
+
* 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.
|
|
990
|
+
* @type {string}
|
|
991
|
+
* @memberof AudioApiGetAudioStream
|
|
992
|
+
*/
|
|
993
|
+
readonly videoCodec?: string;
|
|
994
|
+
/**
|
|
995
|
+
* Optional. Specify a subtitle codec to encode to.
|
|
996
|
+
* @type {string}
|
|
997
|
+
* @memberof AudioApiGetAudioStream
|
|
998
|
+
*/
|
|
999
|
+
readonly subtitleCodec?: string;
|
|
1000
|
+
/**
|
|
1001
|
+
* Optional. The transcoding reason.
|
|
1002
|
+
* @type {string}
|
|
1003
|
+
* @memberof AudioApiGetAudioStream
|
|
1004
|
+
*/
|
|
1005
|
+
readonly transcodeReasons?: string;
|
|
1006
|
+
/**
|
|
1007
|
+
* Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
1008
|
+
* @type {number}
|
|
1009
|
+
* @memberof AudioApiGetAudioStream
|
|
1010
|
+
*/
|
|
1011
|
+
readonly audioStreamIndex?: number;
|
|
1012
|
+
/**
|
|
1013
|
+
* Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
1014
|
+
* @type {number}
|
|
1015
|
+
* @memberof AudioApiGetAudioStream
|
|
1016
|
+
*/
|
|
1017
|
+
readonly videoStreamIndex?: number;
|
|
1018
|
+
/**
|
|
1019
|
+
* Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1020
|
+
* @type {EncodingContext}
|
|
1021
|
+
* @memberof AudioApiGetAudioStream
|
|
1022
|
+
*/
|
|
1023
|
+
readonly context?: EncodingContext;
|
|
1024
|
+
/**
|
|
1025
|
+
* Optional. The streaming options.
|
|
1026
|
+
* @type {{ [key: string]: string; }}
|
|
1027
|
+
* @memberof AudioApiGetAudioStream
|
|
1028
|
+
*/
|
|
1029
|
+
readonly streamOptions?: {
|
|
1030
|
+
[key: string]: string;
|
|
1031
|
+
};
|
|
1032
|
+
}
|
|
1033
|
+
/**
|
|
1034
|
+
* Request parameters for getAudioStreamByContainer operation in AudioApi.
|
|
1035
|
+
* @export
|
|
1036
|
+
* @interface AudioApiGetAudioStreamByContainerRequest
|
|
1037
|
+
*/
|
|
1038
|
+
export interface AudioApiGetAudioStreamByContainerRequest {
|
|
1039
|
+
/**
|
|
1040
|
+
* The item id.
|
|
1041
|
+
* @type {string}
|
|
1042
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1043
|
+
*/
|
|
1044
|
+
readonly itemId: string;
|
|
1045
|
+
/**
|
|
1046
|
+
* The audio container.
|
|
1047
|
+
* @type {string}
|
|
1048
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1049
|
+
*/
|
|
1050
|
+
readonly container: string;
|
|
1051
|
+
/**
|
|
1052
|
+
* 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.
|
|
1053
|
+
* @type {boolean}
|
|
1054
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1055
|
+
*/
|
|
1056
|
+
readonly _static?: boolean;
|
|
1057
|
+
/**
|
|
1058
|
+
* The streaming parameters.
|
|
1059
|
+
* @type {string}
|
|
1060
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1061
|
+
*/
|
|
1062
|
+
readonly params?: string;
|
|
1063
|
+
/**
|
|
1064
|
+
* The tag.
|
|
1065
|
+
* @type {string}
|
|
1066
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1067
|
+
*/
|
|
1068
|
+
readonly tag?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* Optional. The dlna device profile id to utilize.
|
|
1071
|
+
* @type {string}
|
|
1072
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1073
|
+
*/
|
|
1074
|
+
readonly deviceProfileId?: string;
|
|
1075
|
+
/**
|
|
1076
|
+
* The play session id.
|
|
1077
|
+
* @type {string}
|
|
1078
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1079
|
+
*/
|
|
1080
|
+
readonly playSessionId?: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* The segment container.
|
|
1083
|
+
* @type {string}
|
|
1084
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1085
|
+
*/
|
|
1086
|
+
readonly segmentContainer?: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* The segment lenght.
|
|
1089
|
+
* @type {number}
|
|
1090
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1091
|
+
*/
|
|
1092
|
+
readonly segmentLength?: number;
|
|
1093
|
+
/**
|
|
1094
|
+
* The minimum number of segments.
|
|
1095
|
+
* @type {number}
|
|
1096
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1097
|
+
*/
|
|
1098
|
+
readonly minSegments?: number;
|
|
1099
|
+
/**
|
|
1100
|
+
* The media version id, if playing an alternate version.
|
|
1101
|
+
* @type {string}
|
|
1102
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1103
|
+
*/
|
|
1104
|
+
readonly mediaSourceId?: string;
|
|
1105
|
+
/**
|
|
1106
|
+
* The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1107
|
+
* @type {string}
|
|
1108
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1109
|
+
*/
|
|
1110
|
+
readonly deviceId?: string;
|
|
1111
|
+
/**
|
|
1112
|
+
* 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.
|
|
1113
|
+
* @type {string}
|
|
1114
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1115
|
+
*/
|
|
1116
|
+
readonly audioCodec?: string;
|
|
1117
|
+
/**
|
|
1118
|
+
* Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1119
|
+
* @type {boolean}
|
|
1120
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1121
|
+
*/
|
|
1122
|
+
readonly enableAutoStreamCopy?: boolean;
|
|
1123
|
+
/**
|
|
1124
|
+
* Whether or not to allow copying of the video stream url.
|
|
1125
|
+
* @type {boolean}
|
|
1126
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1127
|
+
*/
|
|
1128
|
+
readonly allowVideoStreamCopy?: boolean;
|
|
1129
|
+
/**
|
|
1130
|
+
* Whether or not to allow copying of the audio stream url.
|
|
1131
|
+
* @type {boolean}
|
|
1132
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1133
|
+
*/
|
|
1134
|
+
readonly allowAudioStreamCopy?: boolean;
|
|
1135
|
+
/**
|
|
1136
|
+
* Optional. Whether to break on non key frames.
|
|
1137
|
+
* @type {boolean}
|
|
1138
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1139
|
+
*/
|
|
1140
|
+
readonly breakOnNonKeyFrames?: boolean;
|
|
1141
|
+
/**
|
|
1142
|
+
* Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
1143
|
+
* @type {number}
|
|
1144
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1145
|
+
*/
|
|
1146
|
+
readonly audioSampleRate?: number;
|
|
1147
|
+
/**
|
|
1148
|
+
* Optional. The maximum audio bit depth.
|
|
1149
|
+
* @type {number}
|
|
1150
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1151
|
+
*/
|
|
1152
|
+
readonly maxAudioBitDepth?: number;
|
|
1153
|
+
/**
|
|
1154
|
+
* Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
1155
|
+
* @type {number}
|
|
1156
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1157
|
+
*/
|
|
1158
|
+
readonly audioBitRate?: number;
|
|
1159
|
+
/**
|
|
1160
|
+
* Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
1161
|
+
* @type {number}
|
|
1162
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1163
|
+
*/
|
|
1164
|
+
readonly audioChannels?: number;
|
|
1165
|
+
/**
|
|
1166
|
+
* Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
1167
|
+
* @type {number}
|
|
1168
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1169
|
+
*/
|
|
1170
|
+
readonly maxAudioChannels?: number;
|
|
1171
|
+
/**
|
|
1172
|
+
* Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
1173
|
+
* @type {string}
|
|
1174
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1175
|
+
*/
|
|
1176
|
+
readonly profile?: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
1179
|
+
* @type {string}
|
|
1180
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1181
|
+
*/
|
|
1182
|
+
readonly level?: string;
|
|
1183
|
+
/**
|
|
1184
|
+
* Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
1185
|
+
* @type {number}
|
|
1186
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1187
|
+
*/
|
|
1188
|
+
readonly framerate?: number;
|
|
1189
|
+
/**
|
|
1190
|
+
* Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
1191
|
+
* @type {number}
|
|
1192
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1193
|
+
*/
|
|
1194
|
+
readonly maxFramerate?: number;
|
|
1195
|
+
/**
|
|
1196
|
+
* Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
1197
|
+
* @type {boolean}
|
|
1198
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1199
|
+
*/
|
|
1200
|
+
readonly copyTimestamps?: boolean;
|
|
1201
|
+
/**
|
|
1202
|
+
* Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
1203
|
+
* @type {number}
|
|
1204
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1205
|
+
*/
|
|
1206
|
+
readonly startTimeTicks?: number;
|
|
1207
|
+
/**
|
|
1208
|
+
* Optional. The fixed horizontal resolution of the encoded video.
|
|
1209
|
+
* @type {number}
|
|
1210
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1211
|
+
*/
|
|
1212
|
+
readonly width?: number;
|
|
1213
|
+
/**
|
|
1214
|
+
* Optional. The fixed vertical resolution of the encoded video.
|
|
1215
|
+
* @type {number}
|
|
1216
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1217
|
+
*/
|
|
1218
|
+
readonly height?: number;
|
|
1219
|
+
/**
|
|
1220
|
+
* Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
1221
|
+
* @type {number}
|
|
1222
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1223
|
+
*/
|
|
1224
|
+
readonly videoBitRate?: number;
|
|
1225
|
+
/**
|
|
1226
|
+
* Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
1227
|
+
* @type {number}
|
|
1228
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1229
|
+
*/
|
|
1230
|
+
readonly subtitleStreamIndex?: number;
|
|
1231
|
+
/**
|
|
1232
|
+
* Optional. Specify the subtitle delivery method.
|
|
1233
|
+
* @type {SubtitleDeliveryMethod}
|
|
1234
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1235
|
+
*/
|
|
1236
|
+
readonly subtitleMethod?: SubtitleDeliveryMethod;
|
|
1237
|
+
/**
|
|
1238
|
+
* Optional.
|
|
1239
|
+
* @type {number}
|
|
1240
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1241
|
+
*/
|
|
1242
|
+
readonly maxRefFrames?: number;
|
|
1243
|
+
/**
|
|
1244
|
+
* Optional. The maximum video bit depth.
|
|
1245
|
+
* @type {number}
|
|
1246
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1247
|
+
*/
|
|
1248
|
+
readonly maxVideoBitDepth?: number;
|
|
1249
|
+
/**
|
|
1250
|
+
* Optional. Whether to require avc.
|
|
1251
|
+
* @type {boolean}
|
|
1252
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1253
|
+
*/
|
|
1254
|
+
readonly requireAvc?: boolean;
|
|
1255
|
+
/**
|
|
1256
|
+
* Optional. Whether to deinterlace the video.
|
|
1257
|
+
* @type {boolean}
|
|
1258
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1259
|
+
*/
|
|
1260
|
+
readonly deInterlace?: boolean;
|
|
1261
|
+
/**
|
|
1262
|
+
* Optional. Whether to require a non anamporphic stream.
|
|
1263
|
+
* @type {boolean}
|
|
1264
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1265
|
+
*/
|
|
1266
|
+
readonly requireNonAnamorphic?: boolean;
|
|
1267
|
+
/**
|
|
1268
|
+
* Optional. The maximum number of audio channels to transcode.
|
|
1269
|
+
* @type {number}
|
|
1270
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1271
|
+
*/
|
|
1272
|
+
readonly transcodingMaxAudioChannels?: number;
|
|
1273
|
+
/**
|
|
1274
|
+
* Optional. The limit of how many cpu cores to use.
|
|
1275
|
+
* @type {number}
|
|
1276
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1277
|
+
*/
|
|
1278
|
+
readonly cpuCoreLimit?: number;
|
|
1279
|
+
/**
|
|
1280
|
+
* The live stream id.
|
|
1281
|
+
* @type {string}
|
|
1282
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1283
|
+
*/
|
|
1284
|
+
readonly liveStreamId?: string;
|
|
1285
|
+
/**
|
|
1286
|
+
* Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1287
|
+
* @type {boolean}
|
|
1288
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1289
|
+
*/
|
|
1290
|
+
readonly enableMpegtsM2TsMode?: boolean;
|
|
1291
|
+
/**
|
|
1292
|
+
* 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.
|
|
1293
|
+
* @type {string}
|
|
1294
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1295
|
+
*/
|
|
1296
|
+
readonly videoCodec?: string;
|
|
1297
|
+
/**
|
|
1298
|
+
* Optional. Specify a subtitle codec to encode to.
|
|
1299
|
+
* @type {string}
|
|
1300
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1301
|
+
*/
|
|
1302
|
+
readonly subtitleCodec?: string;
|
|
1303
|
+
/**
|
|
1304
|
+
* Optional. The transcoding reason.
|
|
1305
|
+
* @type {string}
|
|
1306
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1307
|
+
*/
|
|
1308
|
+
readonly transcodeReasons?: string;
|
|
1309
|
+
/**
|
|
1310
|
+
* Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
1311
|
+
* @type {number}
|
|
1312
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1313
|
+
*/
|
|
1314
|
+
readonly audioStreamIndex?: number;
|
|
1315
|
+
/**
|
|
1316
|
+
* Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
1317
|
+
* @type {number}
|
|
1318
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1319
|
+
*/
|
|
1320
|
+
readonly videoStreamIndex?: number;
|
|
1321
|
+
/**
|
|
1322
|
+
* Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1323
|
+
* @type {EncodingContext}
|
|
1324
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1325
|
+
*/
|
|
1326
|
+
readonly context?: EncodingContext;
|
|
1327
|
+
/**
|
|
1328
|
+
* Optional. The streaming options.
|
|
1329
|
+
* @type {{ [key: string]: string; }}
|
|
1330
|
+
* @memberof AudioApiGetAudioStreamByContainer
|
|
1331
|
+
*/
|
|
1332
|
+
readonly streamOptions?: {
|
|
1333
|
+
[key: string]: string;
|
|
1334
|
+
};
|
|
1335
|
+
}
|
|
1336
|
+
/**
|
|
1337
|
+
* Request parameters for headAudioStream operation in AudioApi.
|
|
1338
|
+
* @export
|
|
1339
|
+
* @interface AudioApiHeadAudioStreamRequest
|
|
1340
|
+
*/
|
|
1341
|
+
export interface AudioApiHeadAudioStreamRequest {
|
|
1342
|
+
/**
|
|
1343
|
+
* The item id.
|
|
1344
|
+
* @type {string}
|
|
1345
|
+
* @memberof AudioApiHeadAudioStream
|
|
1346
|
+
*/
|
|
1347
|
+
readonly itemId: string;
|
|
1348
|
+
/**
|
|
1349
|
+
* The audio container.
|
|
1350
|
+
* @type {string}
|
|
1351
|
+
* @memberof AudioApiHeadAudioStream
|
|
1352
|
+
*/
|
|
1353
|
+
readonly container?: string;
|
|
1354
|
+
/**
|
|
1355
|
+
* 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.
|
|
1356
|
+
* @type {boolean}
|
|
1357
|
+
* @memberof AudioApiHeadAudioStream
|
|
1358
|
+
*/
|
|
1359
|
+
readonly _static?: boolean;
|
|
1360
|
+
/**
|
|
1361
|
+
* The streaming parameters.
|
|
1362
|
+
* @type {string}
|
|
1363
|
+
* @memberof AudioApiHeadAudioStream
|
|
1364
|
+
*/
|
|
1365
|
+
readonly params?: string;
|
|
1366
|
+
/**
|
|
1367
|
+
* The tag.
|
|
1368
|
+
* @type {string}
|
|
1369
|
+
* @memberof AudioApiHeadAudioStream
|
|
1370
|
+
*/
|
|
1371
|
+
readonly tag?: string;
|
|
1372
|
+
/**
|
|
1373
|
+
* Optional. The dlna device profile id to utilize.
|
|
1374
|
+
* @type {string}
|
|
1375
|
+
* @memberof AudioApiHeadAudioStream
|
|
1376
|
+
*/
|
|
1377
|
+
readonly deviceProfileId?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* The play session id.
|
|
1380
|
+
* @type {string}
|
|
1381
|
+
* @memberof AudioApiHeadAudioStream
|
|
1382
|
+
*/
|
|
1383
|
+
readonly playSessionId?: string;
|
|
1384
|
+
/**
|
|
1385
|
+
* The segment container.
|
|
1386
|
+
* @type {string}
|
|
1387
|
+
* @memberof AudioApiHeadAudioStream
|
|
1388
|
+
*/
|
|
1389
|
+
readonly segmentContainer?: string;
|
|
1390
|
+
/**
|
|
1391
|
+
* The segment length.
|
|
1392
|
+
* @type {number}
|
|
1393
|
+
* @memberof AudioApiHeadAudioStream
|
|
1394
|
+
*/
|
|
1395
|
+
readonly segmentLength?: number;
|
|
1396
|
+
/**
|
|
1397
|
+
* The minimum number of segments.
|
|
1398
|
+
* @type {number}
|
|
1399
|
+
* @memberof AudioApiHeadAudioStream
|
|
1400
|
+
*/
|
|
1401
|
+
readonly minSegments?: number;
|
|
1402
|
+
/**
|
|
1403
|
+
* The media version id, if playing an alternate version.
|
|
1404
|
+
* @type {string}
|
|
1405
|
+
* @memberof AudioApiHeadAudioStream
|
|
1406
|
+
*/
|
|
1407
|
+
readonly mediaSourceId?: string;
|
|
1408
|
+
/**
|
|
1409
|
+
* The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1410
|
+
* @type {string}
|
|
1411
|
+
* @memberof AudioApiHeadAudioStream
|
|
1412
|
+
*/
|
|
1413
|
+
readonly deviceId?: string;
|
|
1414
|
+
/**
|
|
1415
|
+
* 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.
|
|
1416
|
+
* @type {string}
|
|
1417
|
+
* @memberof AudioApiHeadAudioStream
|
|
1418
|
+
*/
|
|
1419
|
+
readonly audioCodec?: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1422
|
+
* @type {boolean}
|
|
1423
|
+
* @memberof AudioApiHeadAudioStream
|
|
1424
|
+
*/
|
|
1425
|
+
readonly enableAutoStreamCopy?: boolean;
|
|
1426
|
+
/**
|
|
1427
|
+
* Whether or not to allow copying of the video stream url.
|
|
1428
|
+
* @type {boolean}
|
|
1429
|
+
* @memberof AudioApiHeadAudioStream
|
|
1430
|
+
*/
|
|
1431
|
+
readonly allowVideoStreamCopy?: boolean;
|
|
1432
|
+
/**
|
|
1433
|
+
* Whether or not to allow copying of the audio stream url.
|
|
1434
|
+
* @type {boolean}
|
|
1435
|
+
* @memberof AudioApiHeadAudioStream
|
|
1436
|
+
*/
|
|
1437
|
+
readonly allowAudioStreamCopy?: boolean;
|
|
1438
|
+
/**
|
|
1439
|
+
* Optional. Whether to break on non key frames.
|
|
1440
|
+
* @type {boolean}
|
|
1441
|
+
* @memberof AudioApiHeadAudioStream
|
|
1442
|
+
*/
|
|
1443
|
+
readonly breakOnNonKeyFrames?: boolean;
|
|
1444
|
+
/**
|
|
1445
|
+
* Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
1446
|
+
* @type {number}
|
|
1447
|
+
* @memberof AudioApiHeadAudioStream
|
|
1448
|
+
*/
|
|
1449
|
+
readonly audioSampleRate?: number;
|
|
1450
|
+
/**
|
|
1451
|
+
* Optional. The maximum audio bit depth.
|
|
1452
|
+
* @type {number}
|
|
1453
|
+
* @memberof AudioApiHeadAudioStream
|
|
1454
|
+
*/
|
|
1455
|
+
readonly maxAudioBitDepth?: number;
|
|
1456
|
+
/**
|
|
1457
|
+
* Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
1458
|
+
* @type {number}
|
|
1459
|
+
* @memberof AudioApiHeadAudioStream
|
|
1460
|
+
*/
|
|
1461
|
+
readonly audioBitRate?: number;
|
|
1462
|
+
/**
|
|
1463
|
+
* Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
1464
|
+
* @type {number}
|
|
1465
|
+
* @memberof AudioApiHeadAudioStream
|
|
1466
|
+
*/
|
|
1467
|
+
readonly audioChannels?: number;
|
|
1468
|
+
/**
|
|
1469
|
+
* Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
1470
|
+
* @type {number}
|
|
1471
|
+
* @memberof AudioApiHeadAudioStream
|
|
1472
|
+
*/
|
|
1473
|
+
readonly maxAudioChannels?: number;
|
|
1474
|
+
/**
|
|
1475
|
+
* Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
1476
|
+
* @type {string}
|
|
1477
|
+
* @memberof AudioApiHeadAudioStream
|
|
1478
|
+
*/
|
|
1479
|
+
readonly profile?: string;
|
|
1480
|
+
/**
|
|
1481
|
+
* Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
1482
|
+
* @type {string}
|
|
1483
|
+
* @memberof AudioApiHeadAudioStream
|
|
1484
|
+
*/
|
|
1485
|
+
readonly level?: string;
|
|
1486
|
+
/**
|
|
1487
|
+
* Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
1488
|
+
* @type {number}
|
|
1489
|
+
* @memberof AudioApiHeadAudioStream
|
|
1490
|
+
*/
|
|
1491
|
+
readonly framerate?: number;
|
|
1492
|
+
/**
|
|
1493
|
+
* Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
1494
|
+
* @type {number}
|
|
1495
|
+
* @memberof AudioApiHeadAudioStream
|
|
1496
|
+
*/
|
|
1497
|
+
readonly maxFramerate?: number;
|
|
1498
|
+
/**
|
|
1499
|
+
* Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
1500
|
+
* @type {boolean}
|
|
1501
|
+
* @memberof AudioApiHeadAudioStream
|
|
1502
|
+
*/
|
|
1503
|
+
readonly copyTimestamps?: boolean;
|
|
1504
|
+
/**
|
|
1505
|
+
* Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
1506
|
+
* @type {number}
|
|
1507
|
+
* @memberof AudioApiHeadAudioStream
|
|
1508
|
+
*/
|
|
1509
|
+
readonly startTimeTicks?: number;
|
|
1510
|
+
/**
|
|
1511
|
+
* Optional. The fixed horizontal resolution of the encoded video.
|
|
1512
|
+
* @type {number}
|
|
1513
|
+
* @memberof AudioApiHeadAudioStream
|
|
1514
|
+
*/
|
|
1515
|
+
readonly width?: number;
|
|
1516
|
+
/**
|
|
1517
|
+
* Optional. The fixed vertical resolution of the encoded video.
|
|
1518
|
+
* @type {number}
|
|
1519
|
+
* @memberof AudioApiHeadAudioStream
|
|
1520
|
+
*/
|
|
1521
|
+
readonly height?: number;
|
|
1522
|
+
/**
|
|
1523
|
+
* Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
1524
|
+
* @type {number}
|
|
1525
|
+
* @memberof AudioApiHeadAudioStream
|
|
1526
|
+
*/
|
|
1527
|
+
readonly videoBitRate?: number;
|
|
1528
|
+
/**
|
|
1529
|
+
* Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
1530
|
+
* @type {number}
|
|
1531
|
+
* @memberof AudioApiHeadAudioStream
|
|
1532
|
+
*/
|
|
1533
|
+
readonly subtitleStreamIndex?: number;
|
|
1534
|
+
/**
|
|
1535
|
+
* Optional. Specify the subtitle delivery method.
|
|
1536
|
+
* @type {SubtitleDeliveryMethod}
|
|
1537
|
+
* @memberof AudioApiHeadAudioStream
|
|
1538
|
+
*/
|
|
1539
|
+
readonly subtitleMethod?: SubtitleDeliveryMethod;
|
|
1540
|
+
/**
|
|
1541
|
+
* Optional.
|
|
1542
|
+
* @type {number}
|
|
1543
|
+
* @memberof AudioApiHeadAudioStream
|
|
1544
|
+
*/
|
|
1545
|
+
readonly maxRefFrames?: number;
|
|
1546
|
+
/**
|
|
1547
|
+
* Optional. The maximum video bit depth.
|
|
1548
|
+
* @type {number}
|
|
1549
|
+
* @memberof AudioApiHeadAudioStream
|
|
1550
|
+
*/
|
|
1551
|
+
readonly maxVideoBitDepth?: number;
|
|
1552
|
+
/**
|
|
1553
|
+
* Optional. Whether to require avc.
|
|
1554
|
+
* @type {boolean}
|
|
1555
|
+
* @memberof AudioApiHeadAudioStream
|
|
1556
|
+
*/
|
|
1557
|
+
readonly requireAvc?: boolean;
|
|
1558
|
+
/**
|
|
1559
|
+
* Optional. Whether to deinterlace the video.
|
|
1560
|
+
* @type {boolean}
|
|
1561
|
+
* @memberof AudioApiHeadAudioStream
|
|
1562
|
+
*/
|
|
1563
|
+
readonly deInterlace?: boolean;
|
|
1564
|
+
/**
|
|
1565
|
+
* Optional. Whether to require a non anamorphic stream.
|
|
1566
|
+
* @type {boolean}
|
|
1567
|
+
* @memberof AudioApiHeadAudioStream
|
|
1568
|
+
*/
|
|
1569
|
+
readonly requireNonAnamorphic?: boolean;
|
|
1570
|
+
/**
|
|
1571
|
+
* Optional. The maximum number of audio channels to transcode.
|
|
1572
|
+
* @type {number}
|
|
1573
|
+
* @memberof AudioApiHeadAudioStream
|
|
1574
|
+
*/
|
|
1575
|
+
readonly transcodingMaxAudioChannels?: number;
|
|
1576
|
+
/**
|
|
1577
|
+
* Optional. The limit of how many cpu cores to use.
|
|
1578
|
+
* @type {number}
|
|
1579
|
+
* @memberof AudioApiHeadAudioStream
|
|
1580
|
+
*/
|
|
1581
|
+
readonly cpuCoreLimit?: number;
|
|
1582
|
+
/**
|
|
1583
|
+
* The live stream id.
|
|
1584
|
+
* @type {string}
|
|
1585
|
+
* @memberof AudioApiHeadAudioStream
|
|
1586
|
+
*/
|
|
1587
|
+
readonly liveStreamId?: string;
|
|
1588
|
+
/**
|
|
1589
|
+
* Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1590
|
+
* @type {boolean}
|
|
1591
|
+
* @memberof AudioApiHeadAudioStream
|
|
1592
|
+
*/
|
|
1593
|
+
readonly enableMpegtsM2TsMode?: boolean;
|
|
1594
|
+
/**
|
|
1595
|
+
* 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.
|
|
1596
|
+
* @type {string}
|
|
1597
|
+
* @memberof AudioApiHeadAudioStream
|
|
1598
|
+
*/
|
|
1599
|
+
readonly videoCodec?: string;
|
|
1600
|
+
/**
|
|
1601
|
+
* Optional. Specify a subtitle codec to encode to.
|
|
1602
|
+
* @type {string}
|
|
1603
|
+
* @memberof AudioApiHeadAudioStream
|
|
1604
|
+
*/
|
|
1605
|
+
readonly subtitleCodec?: string;
|
|
1606
|
+
/**
|
|
1607
|
+
* Optional. The transcoding reason.
|
|
1608
|
+
* @type {string}
|
|
1609
|
+
* @memberof AudioApiHeadAudioStream
|
|
1610
|
+
*/
|
|
1611
|
+
readonly transcodeReasons?: string;
|
|
1612
|
+
/**
|
|
1613
|
+
* Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
1614
|
+
* @type {number}
|
|
1615
|
+
* @memberof AudioApiHeadAudioStream
|
|
1616
|
+
*/
|
|
1617
|
+
readonly audioStreamIndex?: number;
|
|
1618
|
+
/**
|
|
1619
|
+
* Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
1620
|
+
* @type {number}
|
|
1621
|
+
* @memberof AudioApiHeadAudioStream
|
|
1622
|
+
*/
|
|
1623
|
+
readonly videoStreamIndex?: number;
|
|
1624
|
+
/**
|
|
1625
|
+
* Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1626
|
+
* @type {EncodingContext}
|
|
1627
|
+
* @memberof AudioApiHeadAudioStream
|
|
1628
|
+
*/
|
|
1629
|
+
readonly context?: EncodingContext;
|
|
1630
|
+
/**
|
|
1631
|
+
* Optional. The streaming options.
|
|
1632
|
+
* @type {{ [key: string]: string; }}
|
|
1633
|
+
* @memberof AudioApiHeadAudioStream
|
|
1634
|
+
*/
|
|
1635
|
+
readonly streamOptions?: {
|
|
1636
|
+
[key: string]: string;
|
|
1637
|
+
};
|
|
1638
|
+
}
|
|
1639
|
+
/**
|
|
1640
|
+
* Request parameters for headAudioStreamByContainer operation in AudioApi.
|
|
1641
|
+
* @export
|
|
1642
|
+
* @interface AudioApiHeadAudioStreamByContainerRequest
|
|
1643
|
+
*/
|
|
1644
|
+
export interface AudioApiHeadAudioStreamByContainerRequest {
|
|
1645
|
+
/**
|
|
1646
|
+
* The item id.
|
|
1647
|
+
* @type {string}
|
|
1648
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1649
|
+
*/
|
|
1650
|
+
readonly itemId: string;
|
|
1651
|
+
/**
|
|
1652
|
+
* The audio container.
|
|
1653
|
+
* @type {string}
|
|
1654
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1655
|
+
*/
|
|
1656
|
+
readonly container: string;
|
|
1657
|
+
/**
|
|
1658
|
+
* 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.
|
|
1659
|
+
* @type {boolean}
|
|
1660
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1661
|
+
*/
|
|
1662
|
+
readonly _static?: boolean;
|
|
1663
|
+
/**
|
|
1664
|
+
* The streaming parameters.
|
|
1665
|
+
* @type {string}
|
|
1666
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1667
|
+
*/
|
|
1668
|
+
readonly params?: string;
|
|
1669
|
+
/**
|
|
1670
|
+
* The tag.
|
|
1671
|
+
* @type {string}
|
|
1672
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1673
|
+
*/
|
|
1674
|
+
readonly tag?: string;
|
|
1675
|
+
/**
|
|
1676
|
+
* Optional. The dlna device profile id to utilize.
|
|
1677
|
+
* @type {string}
|
|
1678
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1679
|
+
*/
|
|
1680
|
+
readonly deviceProfileId?: string;
|
|
1681
|
+
/**
|
|
1682
|
+
* The play session id.
|
|
1683
|
+
* @type {string}
|
|
1684
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1685
|
+
*/
|
|
1686
|
+
readonly playSessionId?: string;
|
|
1687
|
+
/**
|
|
1688
|
+
* The segment container.
|
|
1689
|
+
* @type {string}
|
|
1690
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1691
|
+
*/
|
|
1692
|
+
readonly segmentContainer?: string;
|
|
1693
|
+
/**
|
|
1694
|
+
* The segment lenght.
|
|
1695
|
+
* @type {number}
|
|
1696
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1697
|
+
*/
|
|
1698
|
+
readonly segmentLength?: number;
|
|
1699
|
+
/**
|
|
1700
|
+
* The minimum number of segments.
|
|
1701
|
+
* @type {number}
|
|
1702
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1703
|
+
*/
|
|
1704
|
+
readonly minSegments?: number;
|
|
1705
|
+
/**
|
|
1706
|
+
* The media version id, if playing an alternate version.
|
|
1707
|
+
* @type {string}
|
|
1708
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1709
|
+
*/
|
|
1710
|
+
readonly mediaSourceId?: string;
|
|
1711
|
+
/**
|
|
1712
|
+
* The device id of the client requesting. Used to stop encoding processes when needed.
|
|
1713
|
+
* @type {string}
|
|
1714
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1715
|
+
*/
|
|
1716
|
+
readonly deviceId?: string;
|
|
1717
|
+
/**
|
|
1718
|
+
* 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.
|
|
1719
|
+
* @type {string}
|
|
1720
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1721
|
+
*/
|
|
1722
|
+
readonly audioCodec?: string;
|
|
1723
|
+
/**
|
|
1724
|
+
* Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.
|
|
1725
|
+
* @type {boolean}
|
|
1726
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1727
|
+
*/
|
|
1728
|
+
readonly enableAutoStreamCopy?: boolean;
|
|
1729
|
+
/**
|
|
1730
|
+
* Whether or not to allow copying of the video stream url.
|
|
1731
|
+
* @type {boolean}
|
|
1732
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1733
|
+
*/
|
|
1734
|
+
readonly allowVideoStreamCopy?: boolean;
|
|
1735
|
+
/**
|
|
1736
|
+
* Whether or not to allow copying of the audio stream url.
|
|
1737
|
+
* @type {boolean}
|
|
1738
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1739
|
+
*/
|
|
1740
|
+
readonly allowAudioStreamCopy?: boolean;
|
|
1741
|
+
/**
|
|
1742
|
+
* Optional. Whether to break on non key frames.
|
|
1743
|
+
* @type {boolean}
|
|
1744
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1745
|
+
*/
|
|
1746
|
+
readonly breakOnNonKeyFrames?: boolean;
|
|
1747
|
+
/**
|
|
1748
|
+
* Optional. Specify a specific audio sample rate, e.g. 44100.
|
|
1749
|
+
* @type {number}
|
|
1750
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1751
|
+
*/
|
|
1752
|
+
readonly audioSampleRate?: number;
|
|
1753
|
+
/**
|
|
1754
|
+
* Optional. The maximum audio bit depth.
|
|
1755
|
+
* @type {number}
|
|
1756
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1757
|
+
*/
|
|
1758
|
+
readonly maxAudioBitDepth?: number;
|
|
1759
|
+
/**
|
|
1760
|
+
* Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.
|
|
1761
|
+
* @type {number}
|
|
1762
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1763
|
+
*/
|
|
1764
|
+
readonly audioBitRate?: number;
|
|
1765
|
+
/**
|
|
1766
|
+
* Optional. Specify a specific number of audio channels to encode to, e.g. 2.
|
|
1767
|
+
* @type {number}
|
|
1768
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1769
|
+
*/
|
|
1770
|
+
readonly audioChannels?: number;
|
|
1771
|
+
/**
|
|
1772
|
+
* Optional. Specify a maximum number of audio channels to encode to, e.g. 2.
|
|
1773
|
+
* @type {number}
|
|
1774
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1775
|
+
*/
|
|
1776
|
+
readonly maxAudioChannels?: number;
|
|
1777
|
+
/**
|
|
1778
|
+
* Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.
|
|
1779
|
+
* @type {string}
|
|
1780
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1781
|
+
*/
|
|
1782
|
+
readonly profile?: string;
|
|
1783
|
+
/**
|
|
1784
|
+
* Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.
|
|
1785
|
+
* @type {string}
|
|
1786
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1787
|
+
*/
|
|
1788
|
+
readonly level?: string;
|
|
1789
|
+
/**
|
|
1790
|
+
* Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
1791
|
+
* @type {number}
|
|
1792
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1793
|
+
*/
|
|
1794
|
+
readonly framerate?: number;
|
|
1795
|
+
/**
|
|
1796
|
+
* Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.
|
|
1797
|
+
* @type {number}
|
|
1798
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1799
|
+
*/
|
|
1800
|
+
readonly maxFramerate?: number;
|
|
1801
|
+
/**
|
|
1802
|
+
* Whether or not to copy timestamps when transcoding with an offset. Defaults to false.
|
|
1803
|
+
* @type {boolean}
|
|
1804
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1805
|
+
*/
|
|
1806
|
+
readonly copyTimestamps?: boolean;
|
|
1807
|
+
/**
|
|
1808
|
+
* Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.
|
|
1809
|
+
* @type {number}
|
|
1810
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1811
|
+
*/
|
|
1812
|
+
readonly startTimeTicks?: number;
|
|
1813
|
+
/**
|
|
1814
|
+
* Optional. The fixed horizontal resolution of the encoded video.
|
|
1815
|
+
* @type {number}
|
|
1816
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1817
|
+
*/
|
|
1818
|
+
readonly width?: number;
|
|
1819
|
+
/**
|
|
1820
|
+
* Optional. The fixed vertical resolution of the encoded video.
|
|
1821
|
+
* @type {number}
|
|
1822
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1823
|
+
*/
|
|
1824
|
+
readonly height?: number;
|
|
1825
|
+
/**
|
|
1826
|
+
* Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.
|
|
1827
|
+
* @type {number}
|
|
1828
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1829
|
+
*/
|
|
1830
|
+
readonly videoBitRate?: number;
|
|
1831
|
+
/**
|
|
1832
|
+
* Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.
|
|
1833
|
+
* @type {number}
|
|
1834
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1835
|
+
*/
|
|
1836
|
+
readonly subtitleStreamIndex?: number;
|
|
1837
|
+
/**
|
|
1838
|
+
* Optional. Specify the subtitle delivery method.
|
|
1839
|
+
* @type {SubtitleDeliveryMethod}
|
|
1840
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1841
|
+
*/
|
|
1842
|
+
readonly subtitleMethod?: SubtitleDeliveryMethod;
|
|
1843
|
+
/**
|
|
1844
|
+
* Optional.
|
|
1845
|
+
* @type {number}
|
|
1846
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1847
|
+
*/
|
|
1848
|
+
readonly maxRefFrames?: number;
|
|
1849
|
+
/**
|
|
1850
|
+
* Optional. The maximum video bit depth.
|
|
1851
|
+
* @type {number}
|
|
1852
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1853
|
+
*/
|
|
1854
|
+
readonly maxVideoBitDepth?: number;
|
|
1855
|
+
/**
|
|
1856
|
+
* Optional. Whether to require avc.
|
|
1857
|
+
* @type {boolean}
|
|
1858
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1859
|
+
*/
|
|
1860
|
+
readonly requireAvc?: boolean;
|
|
1861
|
+
/**
|
|
1862
|
+
* Optional. Whether to deinterlace the video.
|
|
1863
|
+
* @type {boolean}
|
|
1864
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1865
|
+
*/
|
|
1866
|
+
readonly deInterlace?: boolean;
|
|
1867
|
+
/**
|
|
1868
|
+
* Optional. Whether to require a non anamporphic stream.
|
|
1869
|
+
* @type {boolean}
|
|
1870
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1871
|
+
*/
|
|
1872
|
+
readonly requireNonAnamorphic?: boolean;
|
|
1873
|
+
/**
|
|
1874
|
+
* Optional. The maximum number of audio channels to transcode.
|
|
1875
|
+
* @type {number}
|
|
1876
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1877
|
+
*/
|
|
1878
|
+
readonly transcodingMaxAudioChannels?: number;
|
|
1879
|
+
/**
|
|
1880
|
+
* Optional. The limit of how many cpu cores to use.
|
|
1881
|
+
* @type {number}
|
|
1882
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1883
|
+
*/
|
|
1884
|
+
readonly cpuCoreLimit?: number;
|
|
1885
|
+
/**
|
|
1886
|
+
* The live stream id.
|
|
1887
|
+
* @type {string}
|
|
1888
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1889
|
+
*/
|
|
1890
|
+
readonly liveStreamId?: string;
|
|
1891
|
+
/**
|
|
1892
|
+
* Optional. Whether to enable the MpegtsM2Ts mode.
|
|
1893
|
+
* @type {boolean}
|
|
1894
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1895
|
+
*/
|
|
1896
|
+
readonly enableMpegtsM2TsMode?: boolean;
|
|
1897
|
+
/**
|
|
1898
|
+
* 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.
|
|
1899
|
+
* @type {string}
|
|
1900
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1901
|
+
*/
|
|
1902
|
+
readonly videoCodec?: string;
|
|
1903
|
+
/**
|
|
1904
|
+
* Optional. Specify a subtitle codec to encode to.
|
|
1905
|
+
* @type {string}
|
|
1906
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1907
|
+
*/
|
|
1908
|
+
readonly subtitleCodec?: string;
|
|
1909
|
+
/**
|
|
1910
|
+
* Optional. The transcoding reason.
|
|
1911
|
+
* @type {string}
|
|
1912
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1913
|
+
*/
|
|
1914
|
+
readonly transcodeReasons?: string;
|
|
1915
|
+
/**
|
|
1916
|
+
* Optional. The index of the audio stream to use. If omitted the first audio stream will be used.
|
|
1917
|
+
* @type {number}
|
|
1918
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1919
|
+
*/
|
|
1920
|
+
readonly audioStreamIndex?: number;
|
|
1921
|
+
/**
|
|
1922
|
+
* Optional. The index of the video stream to use. If omitted the first video stream will be used.
|
|
1923
|
+
* @type {number}
|
|
1924
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1925
|
+
*/
|
|
1926
|
+
readonly videoStreamIndex?: number;
|
|
1927
|
+
/**
|
|
1928
|
+
* Optional. The MediaBrowser.Model.Dlna.EncodingContext.
|
|
1929
|
+
* @type {EncodingContext}
|
|
1930
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1931
|
+
*/
|
|
1932
|
+
readonly context?: EncodingContext;
|
|
1933
|
+
/**
|
|
1934
|
+
* Optional. The streaming options.
|
|
1935
|
+
* @type {{ [key: string]: string; }}
|
|
1936
|
+
* @memberof AudioApiHeadAudioStreamByContainer
|
|
1937
|
+
*/
|
|
1938
|
+
readonly streamOptions?: {
|
|
1939
|
+
[key: string]: string;
|
|
1940
|
+
};
|
|
1941
|
+
}
|
|
1942
|
+
/**
|
|
1943
|
+
* AudioApi - object-oriented interface
|
|
1944
|
+
* @export
|
|
1945
|
+
* @class AudioApi
|
|
1946
|
+
* @extends {BaseAPI}
|
|
1947
|
+
*/
|
|
1948
|
+
export declare class AudioApi extends BaseAPI {
|
|
1949
|
+
/**
|
|
1950
|
+
*
|
|
1951
|
+
* @summary Gets an audio stream.
|
|
1952
|
+
* @param {AudioApiGetAudioStreamRequest} requestParameters Request parameters.
|
|
1953
|
+
* @param {*} [options] Override http request option.
|
|
1954
|
+
* @throws {RequiredError}
|
|
1955
|
+
* @memberof AudioApi
|
|
1956
|
+
*/
|
|
1957
|
+
getAudioStream(requestParameters: AudioApiGetAudioStreamRequest, options?: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
1958
|
+
/**
|
|
1959
|
+
*
|
|
1960
|
+
* @summary Gets an audio stream.
|
|
1961
|
+
* @param {AudioApiGetAudioStreamByContainerRequest} requestParameters Request parameters.
|
|
1962
|
+
* @param {*} [options] Override http request option.
|
|
1963
|
+
* @throws {RequiredError}
|
|
1964
|
+
* @memberof AudioApi
|
|
1965
|
+
*/
|
|
1966
|
+
getAudioStreamByContainer(requestParameters: AudioApiGetAudioStreamByContainerRequest, options?: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
1967
|
+
/**
|
|
1968
|
+
*
|
|
1969
|
+
* @summary Gets an audio stream.
|
|
1970
|
+
* @param {AudioApiHeadAudioStreamRequest} requestParameters Request parameters.
|
|
1971
|
+
* @param {*} [options] Override http request option.
|
|
1972
|
+
* @throws {RequiredError}
|
|
1973
|
+
* @memberof AudioApi
|
|
1974
|
+
*/
|
|
1975
|
+
headAudioStream(requestParameters: AudioApiHeadAudioStreamRequest, options?: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
1976
|
+
/**
|
|
1977
|
+
*
|
|
1978
|
+
* @summary Gets an audio stream.
|
|
1979
|
+
* @param {AudioApiHeadAudioStreamByContainerRequest} requestParameters Request parameters.
|
|
1980
|
+
* @param {*} [options] Override http request option.
|
|
1981
|
+
* @throws {RequiredError}
|
|
1982
|
+
* @memberof AudioApi
|
|
1983
|
+
*/
|
|
1984
|
+
headAudioStreamByContainer(requestParameters: AudioApiHeadAudioStreamByContainerRequest, options?: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
1985
|
+
}
|