public class FrameRateConfig extends AbstractModel
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 The frame rate (Hz).
|
String |
getSwitch()
Get Whether to enable the feature.
|
void |
setFps(Long Fps)
Set The frame rate (Hz).
|
void |
setSwitch(String Switch)
Set Whether to enable the feature.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public FrameRateConfig()
public FrameRateConfig(FrameRateConfig source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Whether to enable the feature. Valid values:
public Long getFps()
public void setFps(Long Fps)
Fps
- The frame rate (Hz). Value range: [0, 100].
Default value: 0.
Note: For transcoding, this parameter will overwrite `Fps` of `VideoTemplate`.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.