public class OutputParams extends AbstractModel
header, skipSign| 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 取值范围[0,1], 填0:直播流为音视频(默认); 填1:直播流为纯音频 | 
| Long | getRecordAudioOnly()Get 取值范围[0,1],填0无实际含义; 填1:指定录制文件格式为mp3。此参数不建议使用,建议在实时音视频控制台配置纯音频录制模板。 | 
| String | getRecordId()Get 自定义录制文件名称前缀。请先在实时音视频控制台开通录制功能,https://cloud.tencent.com/document/product/647/50768。
【注意】该方式仅对旧版云端录制功能的应用生效,新版云端录制功能的应用请用接口CreateCloudRecording发起录制。新、旧云端录制类型判断方式请见:https://cloud.tencent.com/document/product/647/50768#record | 
| String | getStreamId()Get 直播流 ID,由用户自定义设置,该流 ID 不能与用户旁路的流 ID 相同,限制64字节。 | 
| void | setPureAudioStream(Long PureAudioStream)Set 取值范围[0,1], 填0:直播流为音视频(默认); 填1:直播流为纯音频 | 
| void | setRecordAudioOnly(Long RecordAudioOnly)Set 取值范围[0,1],填0无实际含义; 填1:指定录制文件格式为mp3。此参数不建议使用,建议在实时音视频控制台配置纯音频录制模板。 | 
| void | setRecordId(String RecordId)Set 自定义录制文件名称前缀。请先在实时音视频控制台开通录制功能,https://cloud.tencent.com/document/product/647/50768。
【注意】该方式仅对旧版云端录制功能的应用生效,新版云端录制功能的应用请用接口CreateCloudRecording发起录制。新、旧云端录制类型判断方式请见:https://cloud.tencent.com/document/product/647/50768#record | 
| void | setStreamId(String StreamId)Set 直播流 ID,由用户自定义设置,该流 ID 不能与用户旁路的流 ID 相同,限制64字节。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic OutputParams()
public OutputParams(OutputParams source)
public String getStreamId()
public void setStreamId(String StreamId)
StreamId - 直播流 ID,由用户自定义设置,该流 ID 不能与用户旁路的流 ID 相同,限制64字节。public Long getPureAudioStream()
public void setPureAudioStream(Long PureAudioStream)
PureAudioStream - 取值范围[0,1], 填0:直播流为音视频(默认); 填1:直播流为纯音频public String getRecordId()
public void setRecordId(String RecordId)
RecordId - 自定义录制文件名称前缀。请先在实时音视频控制台开通录制功能,https://cloud.tencent.com/document/product/647/50768。
【注意】该方式仅对旧版云端录制功能的应用生效,新版云端录制功能的应用请用接口CreateCloudRecording发起录制。新、旧云端录制类型判断方式请见:https://cloud.tencent.com/document/product/647/50768#recordpublic Long getRecordAudioOnly()
public void setRecordAudioOnly(Long RecordAudioOnly)
RecordAudioOnly - 取值范围[0,1],填0无实际含义; 填1:指定录制文件格式为mp3。此参数不建议使用,建议在实时音视频控制台配置纯音频录制模板。Copyright © 2025. All rights reserved.