Class Mp4Api
Inheritance
System.Object
Mp4Api
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Bitmovin.Api.Sdk.Encoding.Manifests.Dash.Periods.Adaptationsets.Representations.Mp4
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class Mp4Api
Constructors
Mp4Api(IBitmovinApiClientFactory)
Declaration
public Mp4Api(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of Mp4Api
Declaration
public static BitmovinApiBuilder<Mp4Api> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<Mp4Api> |
Drm
Declaration
public DrmApi Drm { get; }
Property Value
Type | Description |
---|---|
DrmApi |
Methods
CreateAsync(String, String, String, DashMp4Representation)
Add MP4 Representation
Declaration
public Task<DashMp4Representation> CreateAsync(string manifestId, string periodId, string adaptationsetId, DashMp4Representation dashMp4Representation)
Parameters
Type | Name | Description |
---|---|---|
System.String | manifestId | Id of the manifest (required) |
System.String | periodId | Id of the period (required) |
System.String | adaptationsetId | Id of the adaptation set (required) |
DashMp4Representation | dashMp4Representation | The MP4 representation to be added to the adaptation set |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DashMp4Representation> |
DeleteAsync(String, String, String, String)
Delete MP4 Representation
Declaration
public Task<BitmovinResponse> DeleteAsync(string manifestId, string periodId, string adaptationsetId, string representationId)
Parameters
Type | Name | Description |
---|---|---|
System.String | manifestId | Id of the manifest (required) |
System.String | periodId | Id of the period (required) |
System.String | adaptationsetId | Id of the adaptation set (required) |
System.String | representationId | Id of the MP4 representation to be deleted (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BitmovinResponse> |
GetAsync(String, String, String, String)
MP4 Representation Details
Declaration
public Task<DashMp4Representation> GetAsync(string manifestId, string periodId, string adaptationsetId, string representationId)
Parameters
Type | Name | Description |
---|---|---|
System.String | manifestId | Id of the manifest (required) |
System.String | periodId | Id of the period (required) |
System.String | adaptationsetId | Id of the adaptation set (required) |
System.String | representationId | Id of the representation (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DashMp4Representation> |
ListAsync(String, String, String, Func<Mp4Api.ListQueryParams, Mp4Api.ListQueryParams>[])
List all MP4 Representations
Declaration
public Task<PaginationResponse<DashMp4Representation>> ListAsync(string manifestId, string periodId, string adaptationsetId, params Func<Mp4Api.ListQueryParams, Mp4Api.ListQueryParams>[] queryParams)
Parameters
Type | Name | Description |
---|---|---|
System.String | manifestId | Id of the manifest (required) |
System.String | periodId | Id of the period (required) |
System.String | adaptationsetId | Id of the adaptation set (required) |
System.Func<Mp4Api.ListQueryParams, Mp4Api.ListQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<DashMp4Representation>> |