| Package | Description |
|---|---|
| com.baidubce.services.lss | |
| com.baidubce.services.lss.model |
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
Video |
CreatePresetRequest.getVideo()
Returns the video settings.
|
Video |
GetPresetResponse.getVideo()
视频输出信息的集合
|
Video |
LivePreset.getVideo()
视频输出信息的集合
|
Video |
Video.withBitRateInBps(Integer bitRateInBps) |
Video |
Video.withCodec(String codec) |
Video |
Video.withCodecOptions(CodecOptions codecOptions) |
Video |
Video.withMaxFrameRate(Float maxFrameRate) |
Video |
Video.withMaxHeightInPixel(Integer maxHeight) |
Video |
Video.withMaxWidthInPixel(Integer maxWidth) |
Video |
Video.withSizingPolicy(String sizingPolicy) |
| Modifier and Type | Method and Description |
|---|---|
void |
CreatePresetRequest.setVideo(Video video)
Sets the video settings.
|
void |
GetPresetResponse.setVideo(Video video) |
void |
LivePreset.setVideo(Video video) |
CreatePresetRequest |
CreatePresetRequest.withVideo(Video video)
Sets the video settings and returns this object.
|
LivePreset |
LivePreset.withVideo(Video video) |
Copyright © 2021. All rights reserved.