Class VideoParams
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.trtc.v20190722.models.VideoParams
-
public class VideoParams extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description VideoParams()VideoParams(VideoParams 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 LonggetBitRate()Get 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。LonggetFps()Get 视频的帧率,范围[1, 60],默认15。LonggetGop()Get 视频关键帧时间间隔,单位秒,默认值10秒。LonggetHeight()Get 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。LonggetWidth()Get 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。voidsetBitRate(Long BitRate)Set 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。voidsetFps(Long Fps)Set 视频的帧率,范围[1, 60],默认15。voidsetGop(Long Gop)Set 视频关键帧时间间隔,单位秒,默认值10秒。voidsetHeight(Long Height)Set 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。voidsetWidth(Long Width)Set 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。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
-
VideoParams
public VideoParams()
-
VideoParams
public VideoParams(VideoParams 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
-
getWidth
public Long getWidth()
Get 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。- Returns:
- Width 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。
-
setWidth
public void setWidth(Long Width)
Set 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。- Parameters:
Width- 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。
-
getHeight
public Long getHeight()
Get 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。- Returns:
- Height 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。
-
setHeight
public void setHeight(Long Height)
Set 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。- Parameters:
Height- 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。
-
getFps
public Long getFps()
Get 视频的帧率,范围[1, 60],默认15。- Returns:
- Fps 视频的帧率,范围[1, 60],默认15。
-
setFps
public void setFps(Long Fps)
Set 视频的帧率,范围[1, 60],默认15。- Parameters:
Fps- 视频的帧率,范围[1, 60],默认15。
-
getBitRate
public Long getBitRate()
Get 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。- Returns:
- BitRate 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。
-
setBitRate
public void setBitRate(Long BitRate)
Set 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。- Parameters:
BitRate- 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。
-
getGop
public Long getGop()
Get 视频关键帧时间间隔,单位秒,默认值10秒。- Returns:
- Gop 视频关键帧时间间隔,单位秒,默认值10秒。
-
setGop
public void setGop(Long Gop)
Set 视频关键帧时间间隔,单位秒,默认值10秒。- Parameters:
Gop- 视频关键帧时间间隔,单位秒,默认值10秒。
-
-