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 Prefix of custom recording file names. | 
| 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 Prefix of custom recording file names. | 
| 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, toJsonStringpublic 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 - Prefix of custom recording file names. Please enable the recording feature in the TRTC console first. https://intl.cloud.tencent.com/document/product/647/50768?from_cn_redirect=1public 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 © 2021. All rights reserved.