VideoProcessingProps
Properties for defining a VideoProcessing.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-videoprocessing
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkesa"
&alicloudroscdkesa.VideoProcessingProps {
SiteId: interface{},
FlvSeekEnd: interface{},
FlvSeekStart: interface{},
FlvVideoSeekMode: interface{},
Mp4SeekEnd: interface{},
Mp4SeekStart: interface{},
Rule: interface{},
RuleEnable: interface{},
RuleName: interface{},
Sequence: interface{},
SiteVersion: interface{},
VideoSeekEnable: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
SiteId | interface{} | Property siteId: The site ID, which can be obtained by calling the ListSites API. |
FlvSeekEnd | interface{} | Property flvSeekEnd: Custom FLV end parameters. |
FlvSeekStart | interface{} | Property flvSeekStart: Custom FLV start parameters. |
FlvVideoSeekMode | interface{} | Property flvVideoSeekMode: FLV drag mode. |
Mp4SeekEnd | interface{} | Property mp4SeekEnd: Custom mp4 end parameters. |
Mp4SeekStart | interface{} | Property mp4SeekStart: Custom mp4 start parameters. |
Rule | interface{} | Property rule: Rule content, using conditional expressions to match user requests. |
RuleEnable | interface{} | Property ruleEnable: Rule switch. |
RuleName | interface{} | Property ruleName: Rule name. |
Sequence | interface{} | Property sequence: The rule execution order prioritizes lower numerical values. |
SiteVersion | interface{} | Property siteVersion: The version number of the site configuration. |
VideoSeekEnable | interface{} | Property videoSeekEnable: Drag and drop the play function switch. |
SiteIdRequired
SiteId interface{}
- Type: interface{}
Property siteId: The site ID, which can be obtained by calling the ListSites API.
FlvSeekEndOptional
FlvSeekEnd interface{}
- Type: interface{}
Property flvSeekEnd: Custom FLV end parameters.
FlvSeekStartOptional
FlvSeekStart interface{}
- Type: interface{}
Property flvSeekStart: Custom FLV start parameters.
FlvVideoSeekModeOptional
FlvVideoSeekMode interface{}
- Type: interface{}
Property flvVideoSeekMode: FLV drag mode.
Value range:
by_byte: Drag by byte.by_time: Drag by time.
Mp4SeekEndOptional
Mp4SeekEnd interface{}
- Type: interface{}
Property mp4SeekEnd: Custom mp4 end parameters.
Mp4SeekStartOptional
Mp4SeekStart interface{}
- Type: interface{}
Property mp4SeekStart: Custom mp4 start parameters.
RuleOptional
Rule interface{}
- Type: interface{}
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").
RuleEnableOptional
RuleEnable interface{}
- Type: interface{}
Property ruleEnable: Rule switch.
When adding global configuration, this parameter does not need to be set. Value range:
on: open.off: close.
RuleNameOptional
RuleName interface{}
- Type: interface{}
Property ruleName: Rule name.
When adding global configuration, this parameter does not need to be set.
SequenceOptional
Sequence interface{}
- Type: interface{}
Property sequence: The rule execution order prioritizes lower numerical values.
It is only applicable when setting or modifying the order of individual rule configurations.
SiteVersionOptional
SiteVersion interface{}
- Type: interface{}
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.
VideoSeekEnableOptional
VideoSeekEnable interface{}
- Type: interface{}
Property videoSeekEnable: Drag and drop the play function switch.
Value range:
on: open.off: close.