public class OutputParams extends AbstractModel
Constructor and Description |
---|
OutputParams() |
OutputParams(OutputParams source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getPureAudioStream()
Get Value range: [0, 1].
|
Long |
getRecordAudioOnly()
Get Whether to record audio only.
|
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 Whether to record audio only.
|
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, toJsonString
public OutputParams()
public OutputParams(OutputParams source)
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
- 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
- Whether to record audio only. Valid values: 0, 1. `0`: no meaning; `1`: records into MP3 files. This parameter is not recommended. Instead, you are advised to create an audio-only recording template in the TRTC console.Copyright © 2021. All rights reserved.