| Package | Description |
|---|---|
| com.baidubce.services.lss | |
| com.baidubce.services.lss.model |
| Modifier and Type | Method and Description |
|---|---|
CreatePresetResponse |
LssClient.createForwardOnlyPreset(String name,
String description,
Hls hls,
Rtmp rtmp,
LiveThumbnail thumbnail,
Watermarks watermarks)
Create a live preset which contains parameters needed in the live stream service, and in forward only mode, in
which the input stream's resolution ratio and code rate will be kept unchanged.
|
CreatePresetResponse |
LssClient.createPreset(String name,
String description,
Audio audio,
Video video,
Hls hls,
Rtmp rtmp,
LiveThumbnail thumbnail,
Watermarks watermarks)
Create a live preset which contains parameters needed in the live stream service, and not in forward only
mode, so that the input stream will be transcoded according to audio and video parameters.
|
| Modifier and Type | Method and Description |
|---|---|
Hls |
LivePreset.getHls()
hls输出参数
|
Hls |
GetPresetResponse.getHls()
hls输出参数
|
Hls |
CreatePresetRequest.getHls()
Returns the HLS settings.
|
Hls |
Hls.withAdaptive(Boolean adaptive) |
Hls |
Hls.withSegmentListSize(Integer segmentListSize) |
Hls |
Hls.withSegmentTimeInSecond(Integer segmentTimeInSecond) |
| Modifier and Type | Method and Description |
|---|---|
void |
LivePreset.setHls(Hls hls) |
void |
GetPresetResponse.setHls(Hls hls) |
void |
CreatePresetRequest.setHls(Hls hls)
Sets the HLS settings.
|
LivePreset |
LivePreset.withHls(Hls hls) |
CreatePresetRequest |
CreatePresetRequest.withHls(Hls hls)
Sets the HLS settings and returns this object.
|
Copyright © 2018. All rights reserved.