public class CmafApi extends Object
Modifier and Type | Field and Description |
---|---|
ContentprotectionApi |
contentprotection |
DrmApi |
drm |
Constructor and Description |
---|
CmafApi(BitmovinApiClientFactory clientFactory) |
Modifier and Type | Method and Description |
---|---|
static BitmovinApiBuilder<CmafApi> |
builder()
Fluent builder for creating an instance of CmafApi
|
DashCmafRepresentation |
create(String manifestId,
String periodId,
String adaptationsetId,
DashCmafRepresentation dashCmafRepresentation)
Add CMAF Representation
|
BitmovinResponse |
delete(String manifestId,
String periodId,
String adaptationsetId,
String representationId)
Delete CMAF Representation
|
DashCmafRepresentation |
get(String manifestId,
String periodId,
String adaptationsetId,
String representationId)
CMAF Representation Details
|
PaginationResponse<DashCmafRepresentation> |
list(String manifestId,
String periodId,
String adaptationsetId)
List all CMAF Representations
|
PaginationResponse<DashCmafRepresentation> |
list(String manifestId,
String periodId,
String adaptationsetId,
DashCmafRepresentationListQueryParams queryParams)
List all CMAF Representations
|
public final DrmApi drm
public final ContentprotectionApi contentprotection
public CmafApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<CmafApi> builder()
public DashCmafRepresentation create(String manifestId, String periodId, String adaptationsetId, DashCmafRepresentation dashCmafRepresentation) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)adaptationsetId
- Id of the adaptation set (required)dashCmafRepresentation
- The CMAF representation to be added to the adaptation set (required)BitmovinException
- if fails to make API callpublic BitmovinResponse delete(String manifestId, String periodId, String adaptationsetId, String representationId) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)adaptationsetId
- Id of the adaptation set (required)representationId
- Id of the CMAF representation to be deleted (required)BitmovinException
- if fails to make API callpublic DashCmafRepresentation get(String manifestId, String periodId, String adaptationsetId, String representationId) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)adaptationsetId
- Id of the adaptation set (required)representationId
- Id of the representation (required)BitmovinException
- if fails to make API callpublic PaginationResponse<DashCmafRepresentation> list(String manifestId, String periodId, String adaptationsetId) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)adaptationsetId
- Id of the adaptation set (required)BitmovinException
- if fails to make API callpublic PaginationResponse<DashCmafRepresentation> list(String manifestId, String periodId, String adaptationsetId, DashCmafRepresentationListQueryParams queryParams) throws BitmovinException
manifestId
- Id of the manifest (required)periodId
- Id of the period (required)adaptationsetId
- Id of the adaptation set (required)queryParams
- The query parameters for sorting, filtering and paging options (optional)BitmovinException
- if fails to make API callCopyright © 2019. All rights reserved.