bitmovin_api_sdk.encoding.manifests.dash.periods.adaptationsets.representations.cmaf.contentprotection package
Submodules
bitmovin_api_sdk.encoding.manifests.dash.periods.adaptationsets.representations.cmaf.contentprotection.content_protection_list_query_params module
bitmovin_api_sdk.encoding.manifests.dash.periods.adaptationsets.representations.cmaf.contentprotection.contentprotection_api module
- class bitmovin_api_sdk.encoding.manifests.dash.periods.adaptationsets.representations.cmaf.contentprotection.contentprotection_api.ContentprotectionApi(**kwargs)[source]
Bases:
BaseApi- create(manifest_id, period_id, adaptationset_id, representation_id, content_protection, **kwargs)[source]
Add Content Protection to CMAF Representation
- Parameters:
manifest_id (string_types, required) – Id of the manifest
period_id (string_types, required) – Id of the period
adaptationset_id (string_types, required) – Id of the adaptation set
representation_id (string_types, required) – Id of the representation
content_protection (ContentProtection, required) – The content protection to be added to the CMAF representation
- Returns:
Id of the DRM CMAF representation
- Return type:
- delete(manifest_id, period_id, adaptationset_id, representation_id, contentprotection_id, **kwargs)[source]
Delete CMAF Representation Content Protection
- Parameters:
manifest_id (string_types, required) – Id of the manifest
period_id (string_types, required) – Id of the period
adaptationset_id (string_types, required) – Id of the adaptation set
representation_id (string_types, required) – Id of the representation
contentprotection_id (string_types, required) – Id of the DRM CMAF content protection to be deleted
- Returns:
Id of the CMAF Representation Content Protection
- Return type:
- get(manifest_id, period_id, adaptationset_id, representation_id, contentprotection_id, **kwargs)[source]
CMAF Representation Content Protection Details
- Parameters:
manifest_id (string_types, required) – Id of the manifest
period_id (string_types, required) – Id of the period
adaptationset_id (string_types, required) – Id of the adaptation set
representation_id (string_types, required) – Id of the representation
contentprotection_id (string_types, required) – Id of the DRM CMAF content protection
- Returns:
CMAF Representation Content Protection details
- Return type:
- list(manifest_id, period_id, adaptationset_id, representation_id, query_params=None, **kwargs)[source]
List all CMAF Representation Content Protections
- Parameters:
manifest_id (string_types, required) – Id of the manifest
period_id (string_types, required) – Id of the period
adaptationset_id (string_types, required) – Id of the adaptation set
representation_id (string_types, required) – Id of the representation
query_params (ContentProtectionListQueryParams) – Query parameters
- Returns:
List of CMAF Representation Content Protections
- Return type: