public class OutputParams extends AbstractModel
Constructor and Description |
---|
OutputParams() |
Modifier and Type | Method and Description |
---|---|
Long |
getPureAudioStream()
Get Value range: [0, 1].
|
Long |
getRecordAudioOnly()
Get Value range: [0, 1].
|
String |
getRecordId()
Get Custom recording file name
|
String |
getStreamId()
Get Custom live stream ID, which must be different from the ID of relayed stream.
|
void |
setPureAudioStream(Long PureAudioStream)
Set Value range: [0, 1].
|
void |
setRecordAudioOnly(Long RecordAudioOnly)
Set Value range: [0, 1].
|
void |
setRecordId(String RecordId)
Set Custom recording file name
|
void |
setStreamId(String StreamId)
Set Custom live stream ID, which must be different from the ID of relayed stream.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getStreamId()
public void setStreamId(String StreamId)
StreamId
- Custom live stream ID, which must be different from the ID of relayed stream.public Long getPureAudioStream()
public void setPureAudioStream(Long PureAudioStream)
PureAudioStream
- Value range: [0, 1]. If it is 0, live streams are audio and video; if it is 1, live streams are only audio. Default value: 0.public String getRecordId()
public void setRecordId(String RecordId)
RecordId
- Custom recording file namepublic Long getRecordAudioOnly()
public void setRecordAudioOnly(Long RecordAudioOnly)
RecordAudioOnly
- Value range: [0, 1]. If it is 0, the recording template configured in the console will be used; if it is 1, streams are recorded as .mp3 files.Copyright © 2020. All rights reserved.