bitmovin_api_sdk.encoding.encodings.muxings.mp4.drm.clearkey package
Subpackages
Submodules
bitmovin_api_sdk.encoding.encodings.muxings.mp4.drm.clearkey.clear_key_drm_list_query_params module
bitmovin_api_sdk.encoding.encodings.muxings.mp4.drm.clearkey.clearkey_api module
- class bitmovin_api_sdk.encoding.encodings.muxings.mp4.drm.clearkey.clearkey_api.ClearkeyApi(**kwargs)[source]
Bases:
BaseApi
- create(encoding_id: string_types, muxing_id: string_types, clear_key_drm: ClearKeyDrm, **kwargs: dict) ClearKeyDrm [source]
Add ClearKey DRM to an MP4 muxing
- Parameters
encoding_id (string_types, required) – Id of the encoding.
muxing_id (string_types, required) – Id of the MP4 muxing.
clear_key_drm (ClearKeyDrm, required) – The ClearKey DRM to be created
- Returns
ClearKey configuration
- Return type
- delete(encoding_id: string_types, muxing_id: string_types, drm_id: string_types, **kwargs: dict) BitmovinResponse [source]
Delete ClearKey DRM from an MP4 muxing
- Parameters
encoding_id (string_types, required) – Id of the encoding.
muxing_id (string_types, required) – Id of the mp4.
drm_id (string_types, required) – Id of the ClearKey DRM configuration.
- Returns
Id of the ClearKey DRM configuration.
- Return type
- get(encoding_id: string_types, muxing_id: string_types, drm_id: string_types, **kwargs: dict) ClearKeyDrm [source]
ClearKey DRM Details of an MP4 muxing
- Parameters
encoding_id (string_types, required) – Id of the encoding.
muxing_id (string_types, required) – Id of the mp4.
drm_id (string_types, required) – Id of the ClearKey DRM configuration.
- Returns
ClearKey configuration
- Return type
- list(encoding_id: string_types, muxing_id: string_types, query_params: ClearKeyDrmListQueryParams = None, **kwargs: dict) ClearKeyDrm [source]
List ClearKey DRMs of an MP4 muxing
- Parameters
encoding_id (string_types, required) – Id of the encoding.
muxing_id (string_types, required) – Id of the mp4.
query_params (ClearKeyDrmListQueryParams) – Query parameters
- Returns
List of ClearKey DRM configurations
- Return type