public class McuAudioParams extends AbstractModel
skipSign
Constructor and Description |
---|
McuAudioParams() |
McuAudioParams(McuAudioParams 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 |
---|---|
AudioEncode |
getAudioEncode()
Get The audio encoding parameters.
|
McuUserInfoParams[] |
getSubscribeAudioList()
Get The audio mix allowlist.
|
McuUserInfoParams[] |
getUnSubscribeAudioList()
Get The audio mix blocklist.
|
void |
setAudioEncode(AudioEncode AudioEncode)
Set The audio encoding parameters.
|
void |
setSubscribeAudioList(McuUserInfoParams[] SubscribeAudioList)
Set The audio mix allowlist.
|
void |
setUnSubscribeAudioList(McuUserInfoParams[] UnSubscribeAudioList)
Set The audio mix blocklist.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public McuAudioParams()
public McuAudioParams(McuAudioParams source)
public AudioEncode getAudioEncode()
public void setAudioEncode(AudioEncode AudioEncode)
AudioEncode
- The audio encoding parameters.public McuUserInfoParams[] getSubscribeAudioList()
public void setSubscribeAudioList(McuUserInfoParams[] SubscribeAudioList)
SubscribeAudioList
- The audio mix allowlist. For the `StartPublishCdnStream` API, if you do not pass this parameter or leave it empty, the audios of all anchors will be mixed. For the `UpdatePublishCdnStream` API, if you do not pass this parameter, no changes will be made to the current allowlist; if you pass in an empty string, the audios of all anchors will be mixed.
In cases where `SubscribeAudioList` and `UnSubscribeAudioList` are used at the same time, you need to specify both parameters. If you pass neither `SubscribeAudioList` nor `UnSubscribeAudioList`, no changes will be made. If a user is included in both parameters, the user’s audio will not be mixed.public McuUserInfoParams[] getUnSubscribeAudioList()
public void setUnSubscribeAudioList(McuUserInfoParams[] UnSubscribeAudioList)
UnSubscribeAudioList
- The audio mix blocklist. If you do not pass this parameter or leave it empty, there won’t be a blocklist. For the `UpdatePublishCdnStream` API, if you do not pass this parameter, no changes will be made to the current blocklist; if you pass in an empty string, the blocklist will be reset.
In cases where `SubscribeAudioList` and `UnSubscribeAudioList` are used at the same time, you need to specify both parameters. If you pass neither `SubscribeAudioList` nor `UnSubscribeAudioList`, no changes will be made. If a user is included in both parameters, the user’s audio will not be mixed.Copyright © 2023. All rights reserved.