| 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 |
|---|---|
Audio |
CreatePresetRequest.getAudio()
Returns the audio settings.
|
Audio |
GetPresetResponse.getAudio()
音频输出信息的集合
|
Audio |
LivePreset.getAudio()
音频输出信息的集合
|
Audio |
Audio.withBitRateInBps(Integer bitRateInBps)
Sets the audio bit rate and returns this object.
|
Audio |
Audio.withChannels(Integer channels)
Sets the number of audio channels and returns this object.
|
Audio |
Audio.withSampleRateInHz(Integer sampleRateInHz)
Sets the audio sample rate and returns this object
|
| Modifier and Type | Method and Description |
|---|---|
void |
CreatePresetRequest.setAudio(Audio audio)
Sets the audio settings.
|
void |
GetPresetResponse.setAudio(Audio audio) |
void |
LivePreset.setAudio(Audio audio) |
CreatePresetRequest |
CreatePresetRequest.withAudio(Audio audio)
Sets the audio settings and returns this object.
|
LivePreset |
LivePreset.withAudio(Audio audio) |
Copyright © 2022. All rights reserved.