public class McuVideoParams extends AbstractModel
header, skipSign
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getBackGroundColor()
Get The canvas color.
|
String |
getBackgroundImageUrl()
Get The URL of the background image for the canvas.
|
Long |
getBackgroundRenderMode()
Get Background image display mode during output: 0 for crop, 1 for scale and display with black background, 2 for proportional scaling.
|
McuLayoutParams |
getLayoutParams()
Get The layout parameters.
|
VideoEncode |
getVideoEncode()
Get The video encoding parameters.
|
McuWaterMarkParams[] |
getWaterMarkList()
Get The watermark information for the mixed stream.
|
void |
setBackGroundColor(String BackGroundColor)
Set The canvas color.
|
void |
setBackgroundImageUrl(String BackgroundImageUrl)
Set The URL of the background image for the canvas.
|
void |
setBackgroundRenderMode(Long BackgroundRenderMode)
Set Background image display mode during output: 0 for crop, 1 for scale and display with black background, 2 for proportional scaling.
|
void |
setLayoutParams(McuLayoutParams LayoutParams)
Set The layout parameters.
|
void |
setVideoEncode(VideoEncode VideoEncode)
Set The video encoding parameters.
|
void |
setWaterMarkList(McuWaterMarkParams[] WaterMarkList)
Set The watermark information for the mixed stream.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public McuVideoParams()
public McuVideoParams(McuVideoParams source)
public VideoEncode getVideoEncode()
public void setVideoEncode(VideoEncode VideoEncode)
VideoEncode
- The video encoding parameters.public McuLayoutParams getLayoutParams()
public void setLayoutParams(McuLayoutParams LayoutParams)
LayoutParams
- The layout parameters.public String getBackGroundColor()
public void setBackGroundColor(String BackGroundColor)
BackGroundColor
- The canvas color. Below are the values for some common colors:
Red: 0xcc0033
Yellow: 0xcc9900
Green: 0xcccc33
Blue: 0x99CCFF
Black: 0x000000
White: 0xFFFFFF
Grey: 0x999999public String getBackgroundImageUrl()
public void setBackgroundImageUrl(String BackgroundImageUrl)
BackgroundImageUrl
- The URL of the background image for the canvas. This parameter has a higher priority than `BackGroundColor`.public McuWaterMarkParams[] getWaterMarkList()
public void setWaterMarkList(McuWaterMarkParams[] WaterMarkList)
WaterMarkList
- The watermark information for the mixed stream.public Long getBackgroundRenderMode()
public void setBackgroundRenderMode(Long BackgroundRenderMode)
BackgroundRenderMode
- Background image display mode during output: 0 for crop, 1 for scale and display with black background, 2 for proportional scaling. The backend default is proportional scaling.Copyright © 2024. All rights reserved.