lib/v20180717/models.rb in tencentcloud-sdk-vod-3.0.438 vs lib/v20180717/models.rb in tencentcloud-sdk-vod-3.0.439
- old
+ new
@@ -333,14 +333,16 @@
# @type DisableHigherVideoResolution: Integer
# @param CreateTime: 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
# @type CreateTime: String
# @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
# @type UpdateTime: String
+ # @param SegmentType: 切片类型,仅当 Format 为 HLS 时有效。
+ # @type SegmentType: String
- attr_accessor :Definition, :Type, :Name, :Comment, :Format, :DrmType, :DrmKeyProvider, :StreamInfos, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :CreateTime, :UpdateTime
+ attr_accessor :Definition, :Type, :Name, :Comment, :Format, :DrmType, :DrmKeyProvider, :StreamInfos, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :CreateTime, :UpdateTime, :SegmentType
- def initialize(definition=nil, type=nil, name=nil, comment=nil, format=nil, drmtype=nil, drmkeyprovider=nil, streaminfos=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, createtime=nil, updatetime=nil)
+ def initialize(definition=nil, type=nil, name=nil, comment=nil, format=nil, drmtype=nil, drmkeyprovider=nil, streaminfos=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, createtime=nil, updatetime=nil, segmenttype=nil)
@Definition = definition
@Type = type
@Name = name
@Comment = comment
@Format = format
@@ -349,10 +351,11 @@
@StreamInfos = streaminfos
@DisableHigherVideoBitrate = disablehighervideobitrate
@DisableHigherVideoResolution = disablehighervideoresolution
@CreateTime = createtime
@UpdateTime = updatetime
+ @SegmentType = segmenttype
end
def deserialize(params)
@Definition = params['Definition']
@Type = params['Type']
@@ -371,10 +374,11 @@
end
@DisableHigherVideoBitrate = params['DisableHigherVideoBitrate']
@DisableHigherVideoResolution = params['DisableHigherVideoResolution']
@CreateTime = params['CreateTime']
@UpdateTime = params['UpdateTime']
+ @SegmentType = params['SegmentType']
end
end
# 自适应转码流参数模板
class AdaptiveStreamTemplate < TencentCloud::Common::AbstractModel
@@ -5185,23 +5189,29 @@
# <li>1:是。</li>
# 默认为否。
# @type DisableHigherVideoResolution: Integer
# @param Comment: 模板描述信息,长度限制:256 个字符。
# @type Comment: String
+ # @param SegmentType: 切片类型,当 Format 为 HLS 时有效,可选值:
+ # <li>ts:ts 切片;</li>
+ # <li>fmp4:fmp4 切片。</li>
+ # 默认值:ts。
+ # @type SegmentType: String
- attr_accessor :Format, :StreamInfos, :SubAppId, :Name, :DrmType, :DrmKeyProvider, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :Comment
+ attr_accessor :Format, :StreamInfos, :SubAppId, :Name, :DrmType, :DrmKeyProvider, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :Comment, :SegmentType
- def initialize(format=nil, streaminfos=nil, subappid=nil, name=nil, drmtype=nil, drmkeyprovider=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, comment=nil)
+ def initialize(format=nil, streaminfos=nil, subappid=nil, name=nil, drmtype=nil, drmkeyprovider=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, comment=nil, segmenttype=nil)
@Format = format
@StreamInfos = streaminfos
@SubAppId = subappid
@Name = name
@DrmType = drmtype
@DrmKeyProvider = drmkeyprovider
@DisableHigherVideoBitrate = disablehighervideobitrate
@DisableHigherVideoResolution = disablehighervideoresolution
@Comment = comment
+ @SegmentType = segmenttype
end
def deserialize(params)
@Format = params['Format']
unless params['StreamInfos'].nil?
@@ -5217,10 +5227,11 @@
@DrmType = params['DrmType']
@DrmKeyProvider = params['DrmKeyProvider']
@DisableHigherVideoBitrate = params['DisableHigherVideoBitrate']
@DisableHigherVideoResolution = params['DisableHigherVideoResolution']
@Comment = params['Comment']
+ @SegmentType = params['SegmentType']
end
end
# CreateAdaptiveDynamicStreamingTemplate返回参数结构体
class CreateAdaptiveDynamicStreamingTemplateResponse < TencentCloud::Common::AbstractModel
@@ -6246,23 +6257,29 @@
# @type VideoTemplate: :class:`Tencentcloud::Vod.v20180717.models.VideoTemplateInfo`
# @param AudioTemplate: 音频流配置参数,当 RemoveAudio 为 0,该字段必填。
# @type AudioTemplate: :class:`Tencentcloud::Vod.v20180717.models.AudioTemplateInfo`
# @param TEHDConfig: 极速高清转码参数。
# @type TEHDConfig: :class:`Tencentcloud::Vod.v20180717.models.TEHDConfig`
+ # @param SegmentType: 切片类型,当 Container 为 hls 时有效,可选值:
+ # <li>ts:ts 切片;</li>
+ # <li>fmp4:fmp4 切片。</li>
+ # 默认值:ts。
+ # @type SegmentType: String
- attr_accessor :Container, :SubAppId, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig
+ attr_accessor :Container, :SubAppId, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :SegmentType
- def initialize(container=nil, subappid=nil, name=nil, comment=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil)
+ def initialize(container=nil, subappid=nil, name=nil, comment=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, segmenttype=nil)
@Container = container
@SubAppId = subappid
@Name = name
@Comment = comment
@RemoveVideo = removevideo
@RemoveAudio = removeaudio
@VideoTemplate = videotemplate
@AudioTemplate = audiotemplate
@TEHDConfig = tehdconfig
+ @SegmentType = segmenttype
end
def deserialize(params)
@Container = params['Container']
@SubAppId = params['SubAppId']
@@ -6280,10 +6297,11 @@
end
unless params['TEHDConfig'].nil?
@TEHDConfig = TEHDConfig.new
@TEHDConfig.deserialize(params['TEHDConfig'])
end
+ @SegmentType = params['SegmentType']
end
end
# CreateTranscodeTemplate返回参数结构体
class CreateTranscodeTemplateResponse < TencentCloud::Common::AbstractModel
@@ -14291,22 +14309,27 @@
# @param StreamInfos: 自适应转码输入流参数信息,最多输入10路流。
# 注意:各个流的帧率必须保持一致;如果不一致,采用第一个流的帧率作为输出帧率。
# @type StreamInfos: Array
# @param Comment: 模板描述信息,长度限制:256 个字符。
# @type Comment: String
+ # @param SegmentType: 切片类型,当 Format 为 HLS 时有效,可选值:
+ # <li>ts:ts 切片;</li>
+ # <li>fmp4:fmp4 切片。</li>
+ # @type SegmentType: String
- attr_accessor :Definition, :SubAppId, :Name, :Format, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :StreamInfos, :Comment
+ attr_accessor :Definition, :SubAppId, :Name, :Format, :DisableHigherVideoBitrate, :DisableHigherVideoResolution, :StreamInfos, :Comment, :SegmentType
- def initialize(definition=nil, subappid=nil, name=nil, format=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, streaminfos=nil, comment=nil)
+ def initialize(definition=nil, subappid=nil, name=nil, format=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, streaminfos=nil, comment=nil, segmenttype=nil)
@Definition = definition
@SubAppId = subappid
@Name = name
@Format = format
@DisableHigherVideoBitrate = disablehighervideobitrate
@DisableHigherVideoResolution = disablehighervideoresolution
@StreamInfos = streaminfos
@Comment = comment
+ @SegmentType = segmenttype
end
def deserialize(params)
@Definition = params['Definition']
@SubAppId = params['SubAppId']
@@ -14321,10 +14344,11 @@
adaptivestreamtemplate_tmp.deserialize(i)
@StreamInfos << adaptivestreamtemplate_tmp
end
end
@Comment = params['Comment']
+ @SegmentType = params['SegmentType']
end
end
# ModifyAdaptiveDynamicStreamingTemplate返回参数结构体
class ModifyAdaptiveDynamicStreamingTemplateResponse < TencentCloud::Common::AbstractModel
@@ -15426,24 +15450,29 @@
# @type VideoTemplate: :class:`Tencentcloud::Vod.v20180717.models.VideoTemplateInfoForUpdate`
# @param AudioTemplate: 音频流配置参数。
# @type AudioTemplate: :class:`Tencentcloud::Vod.v20180717.models.AudioTemplateInfoForUpdate`
# @param TEHDConfig: 极速高清转码参数。
# @type TEHDConfig: :class:`Tencentcloud::Vod.v20180717.models.TEHDConfigForUpdate`
+ # @param SegmentType: 切片类型,当 Container 为 hls 时有效,可选值:
+ # <li>ts:ts 切片;</li>
+ # <li>fmp4:fmp4 切片。</li>
+ # @type SegmentType: String
- attr_accessor :Definition, :SubAppId, :Container, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig
+ attr_accessor :Definition, :SubAppId, :Container, :Name, :Comment, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :SegmentType
- def initialize(definition=nil, subappid=nil, container=nil, name=nil, comment=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil)
+ def initialize(definition=nil, subappid=nil, container=nil, name=nil, comment=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, segmenttype=nil)
@Definition = definition
@SubAppId = subappid
@Container = container
@Name = name
@Comment = comment
@RemoveVideo = removevideo
@RemoveAudio = removeaudio
@VideoTemplate = videotemplate
@AudioTemplate = audiotemplate
@TEHDConfig = tehdconfig
+ @SegmentType = segmenttype
end
def deserialize(params)
@Definition = params['Definition']
@SubAppId = params['SubAppId']
@@ -15462,10 +15491,11 @@
end
unless params['TEHDConfig'].nil?
@TEHDConfig = TEHDConfigForUpdate.new
@TEHDConfig.deserialize(params['TEHDConfig'])
end
+ @SegmentType = params['SegmentType']
end
end
# ModifyTranscodeTemplate返回参数结构体
class ModifyTranscodeTemplateResponse < TencentCloud::Common::AbstractModel
@@ -19675,10 +19705,11 @@
# @param Value: 数据大小。
# <li>存储空间的数据,单位是字节。</li>
# <li>转码时长的数据,单位是秒。</li>
# <li>流量数据,单位是字节。</li>
# <li>带宽数据,单位是比特每秒。</li>
+ # <li>直播剪辑数据,单位是秒。</li>
# @type Value: Integer
attr_accessor :Time, :Value
def initialize(time=nil, value=nil)
@@ -20813,14 +20844,16 @@
# @type ContainerType: String
# @param CreateTime: 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
# @type CreateTime: String
# @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
# @type UpdateTime: String
+ # @param SegmentType: 切片类型,仅当 Container 为 hls 时有效。
+ # @type SegmentType: String
- attr_accessor :Definition, :Container, :Name, :Comment, :Type, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :ContainerType, :CreateTime, :UpdateTime
+ attr_accessor :Definition, :Container, :Name, :Comment, :Type, :RemoveVideo, :RemoveAudio, :VideoTemplate, :AudioTemplate, :TEHDConfig, :ContainerType, :CreateTime, :UpdateTime, :SegmentType
- def initialize(definition=nil, container=nil, name=nil, comment=nil, type=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, containertype=nil, createtime=nil, updatetime=nil)
+ def initialize(definition=nil, container=nil, name=nil, comment=nil, type=nil, removevideo=nil, removeaudio=nil, videotemplate=nil, audiotemplate=nil, tehdconfig=nil, containertype=nil, createtime=nil, updatetime=nil, segmenttype=nil)
@Definition = definition
@Container = container
@Name = name
@Comment = comment
@Type = type
@@ -20830,10 +20863,11 @@
@AudioTemplate = audiotemplate
@TEHDConfig = tehdconfig
@ContainerType = containertype
@CreateTime = createtime
@UpdateTime = updatetime
+ @SegmentType = segmenttype
end
def deserialize(params)
@Definition = params['Definition']
@Container = params['Container']
@@ -20855,9 +20889,10 @@
@TEHDConfig.deserialize(params['TEHDConfig'])
end
@ContainerType = params['ContainerType']
@CreateTime = params['CreateTime']
@UpdateTime = params['UpdateTime']
+ @SegmentType = params['SegmentType']
end
end
# 转场操作
class TransitionOpertion < TencentCloud::Common::AbstractModel