VideoProcessingProps
Properties for defining a VideoProcessing.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-videoprocessing
Initializer
import ros_cdk_esa
ros_cdk_esa.VideoProcessingProps(
site_id: typing.Union[typing.Union[int, float], IResolvable],
flv_seek_end: typing.Union[str, IResolvable] = None,
flv_seek_start: typing.Union[str, IResolvable] = None,
flv_video_seek_mode: typing.Union[str, IResolvable] = None,
mp4_seek_end: typing.Union[str, IResolvable] = None,
mp4_seek_start: typing.Union[str, IResolvable] = None,
rule: typing.Union[str, IResolvable] = None,
rule_enable: typing.Union[str, IResolvable] = None,
rule_name: typing.Union[str, IResolvable] = None,
sequence: typing.Union[typing.Union[int, float], IResolvable] = None,
site_version: typing.Union[typing.Union[int, float], IResolvable] = None,
video_seek_enable: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
site_id | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property siteId: The site ID, which can be obtained by calling the ListSites API. |
flv_seek_end | typing.Union[str, ros_cdk_core.IResolvable] | Property flvSeekEnd: Custom FLV end parameters. |
flv_seek_start | typing.Union[str, ros_cdk_core.IResolvable] | Property flvSeekStart: Custom FLV start parameters. |
flv_video_seek_mode | typing.Union[str, ros_cdk_core.IResolvable] | Property flvVideoSeekMode: FLV drag mode. |
mp4_seek_end | typing.Union[str, ros_cdk_core.IResolvable] | Property mp4SeekEnd: Custom mp4 end parameters. |
mp4_seek_start | typing.Union[str, ros_cdk_core.IResolvable] | Property mp4SeekStart: Custom mp4 start parameters. |
rule | typing.Union[str, ros_cdk_core.IResolvable] | Property rule: Rule content, using conditional expressions to match user requests. |
rule_enable | typing.Union[str, ros_cdk_core.IResolvable] | Property ruleEnable: Rule switch. |
rule_name | typing.Union[str, ros_cdk_core.IResolvable] | Property ruleName: Rule name. |
sequence | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property sequence: The rule execution order prioritizes lower numerical values. |
site_version | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property siteVersion: The version number of the site configuration. |
video_seek_enable | typing.Union[str, ros_cdk_core.IResolvable] | Property videoSeekEnable: Drag and drop the play function switch. |
site_idRequired
site_id: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property siteId: The site ID, which can be obtained by calling the ListSites API.
flv_seek_endOptional
flv_seek_end: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property flvSeekEnd: Custom FLV end parameters.
flv_seek_startOptional
flv_seek_start: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property flvSeekStart: Custom FLV start parameters.
flv_video_seek_modeOptional
flv_video_seek_mode: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property flvVideoSeekMode: FLV drag mode.
Value range:
by_byte: Drag by byte.by_time: Drag by time.
mp4_seek_endOptional
mp4_seek_end: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property mp4SeekEnd: Custom mp4 end parameters.
mp4_seek_startOptional
mp4_seek_start: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property mp4SeekStart: Custom mp4 start parameters.
ruleOptional
rule: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property rule: Rule content, using conditional expressions to match user requests.
When adding global configuration, this parameter does not need to be set. There are two usage scenarios:
- Match all incoming requests: value set to true
- Match specified request: Set the value to a custom expression, for example: (http.host eq "video.example.com").
rule_enableOptional
rule_enable: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ruleEnable: Rule switch.
When adding global configuration, this parameter does not need to be set. Value range:
on: open.off: close.
rule_nameOptional
rule_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ruleName: Rule name.
When adding global configuration, this parameter does not need to be set.
sequenceOptional
sequence: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property sequence: The rule execution order prioritizes lower numerical values.
It is only applicable when setting or modifying the order of individual rule configurations.
site_versionOptional
site_version: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property siteVersion: The version number of the site configuration.
For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
video_seek_enableOptional
video_seek_enable: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property videoSeekEnable: Drag and drop the play function switch.
Value range:
on: open.off: close.