| 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 |
|---|---|
Rtmp |
CreatePresetRequest.getRtmp()
Returns the RTMP settings.
|
Rtmp |
GetPresetResponse.getRtmp()
rtmp参数
|
Rtmp |
LivePreset.getRtmp()
rtmp参数
|
Rtmp |
Rtmp.withGopCache(Boolean gopCache) |
| Modifier and Type | Method and Description |
|---|---|
void |
CreatePresetRequest.setRtmp(Rtmp rtmp)
Sets the RTMP settings.
|
void |
GetPresetResponse.setRtmp(Rtmp rtmp) |
void |
LivePreset.setRtmp(Rtmp rtmp) |
CreatePresetRequest |
CreatePresetRequest.withRtmp(Rtmp rtmp)
Sets the RTMP settings and returns this object.
|
LivePreset |
LivePreset.withRtmp(Rtmp rtmp) |
Copyright © 2021. All rights reserved.