Class StreamsApi
Inheritance
System.Object
StreamsApi
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.Hls.Streams
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class StreamsApi
Constructors
StreamsApi(IBitmovinApiClientFactory)
Declaration
public StreamsApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of StreamsApi
Declaration
public static BitmovinApiBuilder<StreamsApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<StreamsApi> |
CustomTags
Declaration
public CustomTagsApi CustomTags { get; }
Property Value
Type | Description |
---|---|
CustomTagsApi |
Iframe
Declaration
public IframeApi Iframe { get; }
Property Value
Type | Description |
---|---|
IframeApi |
Methods
CreateAsync(String, StreamInfo)
Add Variant Stream
Declaration
public Task<StreamInfo> CreateAsync(string manifestId, StreamInfo streamInfo)
Parameters
Type | Name | Description |
---|---|---|
System.String | manifestId | Id of the hls manifest. (required) |
StreamInfo | streamInfo | The Variant Stream to be added |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<StreamInfo> |
DeleteAsync(String, String)
Delete Variant Stream
Declaration
public Task<BitmovinResponse> DeleteAsync(string manifestId, string streamId)
Parameters
Type | Name | Description |
---|---|---|
System.String | manifestId | Id of the hls manifest. (required) |
System.String | streamId | Id of the variant stream. (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BitmovinResponse> |
GetAsync(String, String)
Variant Stream Details
Declaration
public Task<StreamInfo> GetAsync(string manifestId, string streamId)
Parameters
Type | Name | Description |
---|---|---|
System.String | manifestId | Id of the hls manifest. (required) |
System.String | streamId | Id of the variant stream. (required) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<StreamInfo> |
ListAsync(String, Func<StreamsApi.ListQueryParams, StreamsApi.ListQueryParams>[])
List all Variant Streams
Declaration
public Task<PaginationResponse<StreamInfo>> ListAsync(string manifestId, params Func<StreamsApi.ListQueryParams, StreamsApi.ListQueryParams>[] queryParams)
Parameters
Type | Name | Description |
---|---|---|
System.String | manifestId | Id of the hls manifest. (required) |
System.Func<StreamsApi.ListQueryParams, StreamsApi.ListQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<StreamInfo>> |