bitmovin_api_sdk.encoding.manifests.dash.periods.adaptationsets.representations.webm.contentprotection package

Submodules

bitmovin_api_sdk.encoding.manifests.dash.periods.adaptationsets.representations.webm.contentprotection.content_protection_list_query_params module

class bitmovin_api_sdk.encoding.manifests.dash.periods.adaptationsets.representations.webm.contentprotection.content_protection_list_query_params.ContentProtectionListQueryParams(offset=None, limit=None)[source]

Bases: object

property attribute_map
property openapi_types

bitmovin_api_sdk.encoding.manifests.dash.periods.adaptationsets.representations.webm.contentprotection.contentprotection_api module

class bitmovin_api_sdk.encoding.manifests.dash.periods.adaptationsets.representations.webm.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 WebM 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 WebM representation

Returns:

Id of the DRM WebM representation

Return type:

ContentProtection

delete(manifest_id, period_id, adaptationset_id, representation_id, contentprotection_id, **kwargs)[source]

Delete WebM 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 WebM content protection to be deleted

Returns:

Id of the WebM Representation Content Protection

Return type:

BitmovinResponse

get(manifest_id, period_id, adaptationset_id, representation_id, contentprotection_id, **kwargs)[source]

WebM 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 WebM content protection

Returns:

WebM Representation Content Protection details

Return type:

ContentProtection

list(manifest_id, period_id, adaptationset_id, representation_id, query_params=None, **kwargs)[source]

List all WebM 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 WebM Representation Content Protections

Return type:

ContentProtection

Module contents