public class FrameRateConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
FrameRateConfig() |
FrameRateConfig(FrameRateConfig 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 |
---|---|
Long |
getFps()
Get 帧率,取值范围:[0, 100],单位:Hz。
默认值 0。
注意:对于转码,该参数会覆盖 VideoTemplate 内部的 Fps。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSwitch()
Get 能力配置开关,可选值:
ON:开启;
OFF:关闭。
默认值:ON。
|
void |
setFps(Long Fps)
Set 帧率,取值范围:[0, 100],单位:Hz。
默认值 0。
注意:对于转码,该参数会覆盖 VideoTemplate 内部的 Fps。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSwitch(String Switch)
Set 能力配置开关,可选值:
ON:开启;
OFF:关闭。
默认值:ON。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public FrameRateConfig()
public FrameRateConfig(FrameRateConfig source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- 能力配置开关,可选值:
public Long getFps()
public void setFps(Long Fps)
Fps
- 帧率,取值范围:[0, 100],单位:Hz。
默认值 0。
注意:对于转码,该参数会覆盖 VideoTemplate 内部的 Fps。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.