| 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 |
CreatePresetRequest.getHls()
Returns the HLS settings.
|
Hls |
GetPresetResponse.getHls()
hls输出参数
|
Hls |
LivePreset.getHls()
hls输出参数
|
Hls |
Hls.withAdaptive(Boolean adaptive) |
Hls |
Hls.withSegmentListSize(Integer segmentListSize) |
Hls |
Hls.withSegmentTimeInSecond(Integer segmentTimeInSecond) |
| Modifier and Type | Method and Description |
|---|---|
void |
CreatePresetRequest.setHls(Hls hls)
Sets the HLS settings.
|
void |
GetPresetResponse.setHls(Hls hls) |
void |
LivePreset.setHls(Hls hls) |
CreatePresetRequest |
CreatePresetRequest.withHls(Hls hls)
Sets the HLS settings and returns this object.
|
LivePreset |
LivePreset.withHls(Hls hls) |
Copyright © 2020. All rights reserved.