public class StreamsApi extends Object
Modifier and Type | Field and Description |
---|---|
CustomTagsApi |
customTags |
IframeApi |
iframe |
Constructor and Description |
---|
StreamsApi(BitmovinApiClientFactory clientFactory) |
Modifier and Type | Method and Description |
---|---|
static BitmovinApiBuilder<StreamsApi> |
builder()
Fluent builder for creating an instance of StreamsApi
|
StreamInfo |
create(String manifestId,
StreamInfo streamInfo)
Add Variant Stream
|
BitmovinResponse |
delete(String manifestId,
String streamId)
Delete Variant Stream
|
StreamInfo |
get(String manifestId,
String streamId)
Variant Stream Details
|
PaginationResponse<StreamInfo> |
list(String manifestId)
List all Variant Streams
|
PaginationResponse<StreamInfo> |
list(String manifestId,
StreamInfoListQueryParams queryParams)
List all Variant Streams
|
public final CustomTagsApi customTags
public final IframeApi iframe
public StreamsApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<StreamsApi> builder()
public StreamInfo create(String manifestId, StreamInfo streamInfo) throws BitmovinException
manifestId
- Id of the hls manifest. (required)streamInfo
- The Variant Stream to be added (required)BitmovinException
- if fails to make API callpublic BitmovinResponse delete(String manifestId, String streamId) throws BitmovinException
manifestId
- Id of the hls manifest. (required)streamId
- Id of the variant stream. (required)BitmovinException
- if fails to make API callpublic StreamInfo get(String manifestId, String streamId) throws BitmovinException
manifestId
- Id of the hls manifest. (required)streamId
- Id of the variant stream. (required)BitmovinException
- if fails to make API callpublic PaginationResponse<StreamInfo> list(String manifestId) throws BitmovinException
manifestId
- Id of the hls manifest. (required)BitmovinException
- if fails to make API callpublic PaginationResponse<StreamInfo> list(String manifestId, StreamInfoListQueryParams queryParams) throws BitmovinException
manifestId
- Id of the hls manifest. (required)queryParams
- The query parameters for sorting, filtering and paging options (optional)BitmovinException
- if fails to make API callCopyright © 2020. All rights reserved.