Class CommonMixInputParam
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.live.v20180801.models.CommonMixInputParam
-
public class CommonMixInputParam extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CommonMixInputParam()CommonMixInputParam(CommonMixInputParam 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 CommonMixCropParamsgetCropParams()Get 输入流裁剪参数。StringgetInputStreamName()Get 输入流名称。80字节以内,仅含字母、数字以及下划线的字符串。 当LayoutParams.InputType=0(音视频)/4(纯音频)/5(纯视频)时,该值为需要混流的流名称。 当LayoutParams.InputType=2(图片)/3(画布)时,该值仅用作标识输入,可用类似Canvas1、Pictrue1的名称。CommonMixLayoutParamsgetLayoutParams()Get 输入流布局参数。MixPortraitSegmentParamsgetPortraitSegmentParams()Get 抠图参数。voidsetCropParams(CommonMixCropParams CropParams)Set 输入流裁剪参数。voidsetInputStreamName(String InputStreamName)Set 输入流名称。80字节以内,仅含字母、数字以及下划线的字符串。 当LayoutParams.InputType=0(音视频)/4(纯音频)/5(纯视频)时,该值为需要混流的流名称。 当LayoutParams.InputType=2(图片)/3(画布)时,该值仅用作标识输入,可用类似Canvas1、Pictrue1的名称。voidsetLayoutParams(CommonMixLayoutParams LayoutParams)Set 输入流布局参数。voidsetPortraitSegmentParams(MixPortraitSegmentParams PortraitSegmentParams)Set 抠图参数。voidtoMap(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
-
CommonMixInputParam
public CommonMixInputParam()
-
CommonMixInputParam
public CommonMixInputParam(CommonMixInputParam 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
-
getInputStreamName
public String getInputStreamName()
Get 输入流名称。80字节以内,仅含字母、数字以及下划线的字符串。 当LayoutParams.InputType=0(音视频)/4(纯音频)/5(纯视频)时,该值为需要混流的流名称。 当LayoutParams.InputType=2(图片)/3(画布)时,该值仅用作标识输入,可用类似Canvas1、Pictrue1的名称。- Returns:
- InputStreamName 输入流名称。80字节以内,仅含字母、数字以及下划线的字符串。 当LayoutParams.InputType=0(音视频)/4(纯音频)/5(纯视频)时,该值为需要混流的流名称。 当LayoutParams.InputType=2(图片)/3(画布)时,该值仅用作标识输入,可用类似Canvas1、Pictrue1的名称。
-
setInputStreamName
public void setInputStreamName(String InputStreamName)
Set 输入流名称。80字节以内,仅含字母、数字以及下划线的字符串。 当LayoutParams.InputType=0(音视频)/4(纯音频)/5(纯视频)时,该值为需要混流的流名称。 当LayoutParams.InputType=2(图片)/3(画布)时,该值仅用作标识输入,可用类似Canvas1、Pictrue1的名称。- Parameters:
InputStreamName- 输入流名称。80字节以内,仅含字母、数字以及下划线的字符串。 当LayoutParams.InputType=0(音视频)/4(纯音频)/5(纯视频)时,该值为需要混流的流名称。 当LayoutParams.InputType=2(图片)/3(画布)时,该值仅用作标识输入,可用类似Canvas1、Pictrue1的名称。
-
getLayoutParams
public CommonMixLayoutParams getLayoutParams()
Get 输入流布局参数。- Returns:
- LayoutParams 输入流布局参数。
-
setLayoutParams
public void setLayoutParams(CommonMixLayoutParams LayoutParams)
Set 输入流布局参数。- Parameters:
LayoutParams- 输入流布局参数。
-
getCropParams
public CommonMixCropParams getCropParams()
Get 输入流裁剪参数。- Returns:
- CropParams 输入流裁剪参数。
-
setCropParams
public void setCropParams(CommonMixCropParams CropParams)
Set 输入流裁剪参数。- Parameters:
CropParams- 输入流裁剪参数。
-
getPortraitSegmentParams
public MixPortraitSegmentParams getPortraitSegmentParams()
Get 抠图参数。- Returns:
- PortraitSegmentParams 抠图参数。
-
setPortraitSegmentParams
public void setPortraitSegmentParams(MixPortraitSegmentParams PortraitSegmentParams)
Set 抠图参数。- Parameters:
PortraitSegmentParams- 抠图参数。
-
-