Class McuVideoParams
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.trtc.v20190722.models.McuVideoParams
-
public class McuVideoParams extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description McuVideoParams()
McuVideoParams(McuVideoParams 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBackGroundColor()
Get 整个画布背景颜色,常用的颜色有: 红色:0xcc0033。 黄色:0xcc9900。 绿色:0xcccc33。 蓝色:0x99CCFF。 黑色:0x000000。 白色:0xFFFFFF。 灰色:0x999999。String
getBackgroundImageUrl()
Get 整个画布的背景图url,优先级高于BackGroundColor。Long
getBackgroundRenderMode()
Get 背景图在输出时的显示模式:0为裁剪,1为缩放并显示黑底,2为变比例伸缩。后台默认为变比例伸缩。McuLayoutParams
getLayoutParams()
Get 混流布局参数。VideoEncode
getVideoEncode()
Get 输出流视频编码参数。McuWaterMarkParams[]
getWaterMarkList()
Get 混流布局的水印参数。void
setBackGroundColor(String BackGroundColor)
Set 整个画布背景颜色,常用的颜色有: 红色:0xcc0033。 黄色:0xcc9900。 绿色:0xcccc33。 蓝色:0x99CCFF。 黑色:0x000000。 白色:0xFFFFFF。 灰色:0x999999。void
setBackgroundImageUrl(String BackgroundImageUrl)
Set 整个画布的背景图url,优先级高于BackGroundColor。void
setBackgroundRenderMode(Long BackgroundRenderMode)
Set 背景图在输出时的显示模式:0为裁剪,1为缩放并显示黑底,2为变比例伸缩。后台默认为变比例伸缩。void
setLayoutParams(McuLayoutParams LayoutParams)
Set 混流布局参数。void
setVideoEncode(VideoEncode VideoEncode)
Set 输出流视频编码参数。void
setWaterMarkList(McuWaterMarkParams[] WaterMarkList)
Set 混流布局的水印参数。void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
McuVideoParams
public McuVideoParams()
-
McuVideoParams
public McuVideoParams(McuVideoParams 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.
-
-
Method Detail
-
getVideoEncode
public VideoEncode getVideoEncode()
Get 输出流视频编码参数。- Returns:
- VideoEncode 输出流视频编码参数。
-
setVideoEncode
public void setVideoEncode(VideoEncode VideoEncode)
Set 输出流视频编码参数。- Parameters:
VideoEncode
- 输出流视频编码参数。
-
getLayoutParams
public McuLayoutParams getLayoutParams()
Get 混流布局参数。- Returns:
- LayoutParams 混流布局参数。
-
setLayoutParams
public void setLayoutParams(McuLayoutParams LayoutParams)
Set 混流布局参数。- Parameters:
LayoutParams
- 混流布局参数。
-
getBackGroundColor
public String getBackGroundColor()
Get 整个画布背景颜色,常用的颜色有: 红色:0xcc0033。 黄色:0xcc9900。 绿色:0xcccc33。 蓝色:0x99CCFF。 黑色:0x000000。 白色:0xFFFFFF。 灰色:0x999999。- Returns:
- BackGroundColor 整个画布背景颜色,常用的颜色有: 红色:0xcc0033。 黄色:0xcc9900。 绿色:0xcccc33。 蓝色:0x99CCFF。 黑色:0x000000。 白色:0xFFFFFF。 灰色:0x999999。
-
setBackGroundColor
public void setBackGroundColor(String BackGroundColor)
Set 整个画布背景颜色,常用的颜色有: 红色:0xcc0033。 黄色:0xcc9900。 绿色:0xcccc33。 蓝色:0x99CCFF。 黑色:0x000000。 白色:0xFFFFFF。 灰色:0x999999。- Parameters:
BackGroundColor
- 整个画布背景颜色,常用的颜色有: 红色:0xcc0033。 黄色:0xcc9900。 绿色:0xcccc33。 蓝色:0x99CCFF。 黑色:0x000000。 白色:0xFFFFFF。 灰色:0x999999。
-
getBackgroundImageUrl
public String getBackgroundImageUrl()
Get 整个画布的背景图url,优先级高于BackGroundColor。- Returns:
- BackgroundImageUrl 整个画布的背景图url,优先级高于BackGroundColor。
-
setBackgroundImageUrl
public void setBackgroundImageUrl(String BackgroundImageUrl)
Set 整个画布的背景图url,优先级高于BackGroundColor。- Parameters:
BackgroundImageUrl
- 整个画布的背景图url,优先级高于BackGroundColor。
-
getWaterMarkList
public McuWaterMarkParams[] getWaterMarkList()
Get 混流布局的水印参数。- Returns:
- WaterMarkList 混流布局的水印参数。
-
setWaterMarkList
public void setWaterMarkList(McuWaterMarkParams[] WaterMarkList)
Set 混流布局的水印参数。- Parameters:
WaterMarkList
- 混流布局的水印参数。
-
getBackgroundRenderMode
public Long getBackgroundRenderMode()
Get 背景图在输出时的显示模式:0为裁剪,1为缩放并显示黑底,2为变比例伸缩。后台默认为变比例伸缩。- Returns:
- BackgroundRenderMode 背景图在输出时的显示模式:0为裁剪,1为缩放并显示黑底,2为变比例伸缩。后台默认为变比例伸缩。
-
setBackgroundRenderMode
public void setBackgroundRenderMode(Long BackgroundRenderMode)
Set 背景图在输出时的显示模式:0为裁剪,1为缩放并显示黑底,2为变比例伸缩。后台默认为变比例伸缩。- Parameters:
BackgroundRenderMode
- 背景图在输出时的显示模式:0为裁剪,1为缩放并显示黑底,2为变比例伸缩。后台默认为变比例伸缩。
-
-