bitmovin_api_sdk.encoding.manifests.hls.media.vtt package
Submodules
bitmovin_api_sdk.encoding.manifests.hls.media.vtt.vtt_api module
- class bitmovin_api_sdk.encoding.manifests.hls.media.vtt.vtt_api.VttApi(**kwargs)[source]
Bases:
BaseApi
- create(manifest_id: string_types, vtt_media_info: VttMediaInfo, **kwargs: dict) VttMediaInfo [source]
Add VTT Media
- Parameters
manifest_id (string_types, required) – Id of the hls manifest.
vtt_media_info (VttMediaInfo, required) – The VTT Media to be added
- Returns
VTT media details
- Return type
- delete(manifest_id: string_types, media_id: string_types, **kwargs: dict) BitmovinResponse [source]
Delete VTT Media
- Parameters
manifest_id (string_types, required) – Id of the hls manifest.
media_id (string_types, required) – Id of the VTT media.
- Returns
Id of the VTT media
- Return type
- get(manifest_id: string_types, media_id: string_types, **kwargs: dict) VttMediaInfo [source]
VTT Media Details
- Parameters
manifest_id (string_types, required) – Id of the hls manifest.
media_id (string_types, required) – Id of the VTT media.
- Returns
VTT media details
- Return type
- list(manifest_id: string_types, query_params: VttMediaInfoListQueryParams = None, **kwargs: dict) VttMediaInfo [source]
List all VTT Media
- Parameters
manifest_id (string_types, required) – Id of the hls manifest.
query_params (VttMediaInfoListQueryParams) – Query parameters
- Returns
VTT media
- Return type