public class SrtApi extends Object
Constructor and Description |
---|
SrtApi(BitmovinApiClientFactory clientFactory) |
Modifier and Type | Method and Description |
---|---|
static BitmovinApiBuilder<SrtApi> |
builder()
Fluent builder for creating an instance of SrtApi
|
BurnInSubtitleSrt |
create(String encodingId,
String streamId,
BurnInSubtitleSrt burnInSubtitleSrt)
Burn-In SRT Subtitle into Stream
|
BitmovinResponse |
delete(String encodingId,
String streamId,
String subtitleId)
Delete Burn-In SRT Subtitle from Stream
|
BurnInSubtitleSrt |
get(String encodingId,
String streamId,
String subtitleId)
Get Burn-In SRT Subtitle Details
|
PaginationResponse<BurnInSubtitleSrt> |
list(String encodingId,
String streamId)
List the Burn-In SRT subtitles of a stream
|
PaginationResponse<BurnInSubtitleSrt> |
list(String encodingId,
String streamId,
BurnInSubtitleSrtListQueryParams queryParams)
List the Burn-In SRT subtitles of a stream
|
public SrtApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<SrtApi> builder()
public BurnInSubtitleSrt create(String encodingId, String streamId, BurnInSubtitleSrt burnInSubtitleSrt) throws BitmovinException
encodingId
- Id of the encoding. (required)streamId
- Id of the stream. (required)burnInSubtitleSrt
- The Burn-In SRT Subtitle to be added (required)BitmovinException
- if fails to make API callpublic BitmovinResponse delete(String encodingId, String streamId, String subtitleId) throws BitmovinException
encodingId
- Id of the encoding. (required)streamId
- Id of the stream. (required)subtitleId
- Id of the burn-in subtitle. (required)BitmovinException
- if fails to make API callpublic BurnInSubtitleSrt get(String encodingId, String streamId, String subtitleId) throws BitmovinException
encodingId
- Id of the encoding. (required)streamId
- Id of the stream. (required)subtitleId
- Id of the burn-in subtitle. (required)BitmovinException
- if fails to make API callpublic PaginationResponse<BurnInSubtitleSrt> list(String encodingId, String streamId) throws BitmovinException
encodingId
- Id of the encoding. (required)streamId
- Id of the stream. (required)BitmovinException
- if fails to make API callpublic PaginationResponse<BurnInSubtitleSrt> list(String encodingId, String streamId, BurnInSubtitleSrtListQueryParams queryParams) throws BitmovinException
encodingId
- Id of the encoding. (required)streamId
- Id of the stream. (required)queryParams
- The query parameters for sorting, filtering and paging options (optional)BitmovinException
- if fails to make API callCopyright © 2021. All rights reserved.