tencentcloud-sdk-cme 3.0.391 → 3.0.393

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20191029/models.rb +297 -9
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ecab0a70487f50b1111c5d4b4a632409925e1b8
4
- data.tar.gz: 92fe9fe01d611cb8ac85b8e528d991eb57f9e479
3
+ metadata.gz: 87ed061f4ff3cedffde6da3e7e97a3548b104c0f
4
+ data.tar.gz: 951ae523f23367ebd2cc47fffc6d8313472910be
5
5
  SHA512:
6
- metadata.gz: 8c26bca1006517014db90e0f586eab753232cf517659d29dda4c3ea201333b3cd3a1bb2ee1a671768b36435dd83cc299ae7894b466d39c816aa7a0956ff053a5
7
- data.tar.gz: ed4b53c4e7d2e2e76a1574afb51ad5e7962b73df257618810431f2186a5e7d4435f053c139bba4fc25e7bfe04bb1f54303db5758d7ee90cb061fec19c313bdac
6
+ metadata.gz: a53f13b6b4bd29c58a58b1e7f93c02aef1024b967bc23bc5df6b990e7859b2f8495372f1e3e9b8e1510caf368b441a77bb1ce2035c9f8b8a56afb42f1d2ee801
7
+ data.tar.gz: 0551f5a1dd5b9cc232041b71fe122e83e6980015472296990847a4b445d8359cbdea50f1e1566f374d62e0d1899aa00b76acd9bfdcf425bdeef07b68cb658b30
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.391
1
+ 3.0.393
@@ -2135,7 +2135,8 @@ module TencentCloud
2135
2135
  # <li>Class.Created:分类新增事件;</li>
2136
2136
  # <li>Class.Moved:分类移动事件;</li>
2137
2137
  # <li>Class.Deleted:分类删除事件;</li>
2138
- # <li>Task.VideoExportCompleted:视频导出完成事件。 </li>
2138
+ # <li>Task.VideoExportCompleted:视频导出完成事件; </li>
2139
+ # <li>Project.MediaCast.StatusChanged:点播转直播项目状态变更事件。 </li>
2139
2140
  # @type EventType: String
2140
2141
  # @param Operator: 操作者,表示触发事件的操作者。如果是 `cmeid_system` 表示平台管理员操作。
2141
2142
  # @type Operator: String
@@ -2173,10 +2174,13 @@ module TencentCloud
2173
2174
  # @param VideoExportCompletedEvent: 视频导出完成事件。仅当 EventType 为 Task.VideoExportCompleted 时有效。
2174
2175
  # 注意:此字段可能返回 null,表示取不到有效值。
2175
2176
  # @type VideoExportCompletedEvent: :class:`Tencentcloud::Cme.v20191029.models.VideoExportCompletedEvent`
2177
+ # @param ProjectMediaCastStatusChangedEvent: 点播转直播项目状态变更事件。仅当 EventType 为 Project.MediaCast.StatusChanged 时有效。
2178
+ # 注意:此字段可能返回 null,表示取不到有效值。
2179
+ # @type ProjectMediaCastStatusChangedEvent: :class:`Tencentcloud::Cme.v20191029.models.ProjectMediaCastStatusChangedEvent`
2176
2180
 
2177
- attr_accessor :EventType, :Operator, :StorageNewFileCreatedEvent, :ProjectStreamConnectStatusChangedEvent, :ProjectSwitcherStatusChangedEvent, :MaterialImportedEvent, :MaterialAddedEvent, :MaterialMovedEvent, :MaterialModifiedEvent, :MaterialDeletedEvent, :ClassCreatedEvent, :ClassMovedEvent, :ClassDeletedEvent, :VideoExportCompletedEvent
2181
+ attr_accessor :EventType, :Operator, :StorageNewFileCreatedEvent, :ProjectStreamConnectStatusChangedEvent, :ProjectSwitcherStatusChangedEvent, :MaterialImportedEvent, :MaterialAddedEvent, :MaterialMovedEvent, :MaterialModifiedEvent, :MaterialDeletedEvent, :ClassCreatedEvent, :ClassMovedEvent, :ClassDeletedEvent, :VideoExportCompletedEvent, :ProjectMediaCastStatusChangedEvent
2178
2182
 
2179
- def initialize(eventtype=nil, operator=nil, storagenewfilecreatedevent=nil, projectstreamconnectstatuschangedevent=nil, projectswitcherstatuschangedevent=nil, materialimportedevent=nil, materialaddedevent=nil, materialmovedevent=nil, materialmodifiedevent=nil, materialdeletedevent=nil, classcreatedevent=nil, classmovedevent=nil, classdeletedevent=nil, videoexportcompletedevent=nil)
2183
+ def initialize(eventtype=nil, operator=nil, storagenewfilecreatedevent=nil, projectstreamconnectstatuschangedevent=nil, projectswitcherstatuschangedevent=nil, materialimportedevent=nil, materialaddedevent=nil, materialmovedevent=nil, materialmodifiedevent=nil, materialdeletedevent=nil, classcreatedevent=nil, classmovedevent=nil, classdeletedevent=nil, videoexportcompletedevent=nil, projectmediacaststatuschangedevent=nil)
2180
2184
  @EventType = eventtype
2181
2185
  @Operator = operator
2182
2186
  @StorageNewFileCreatedEvent = storagenewfilecreatedevent
@@ -2191,6 +2195,7 @@ module TencentCloud
2191
2195
  @ClassMovedEvent = classmovedevent
2192
2196
  @ClassDeletedEvent = classdeletedevent
2193
2197
  @VideoExportCompletedEvent = videoexportcompletedevent
2198
+ @ProjectMediaCastStatusChangedEvent = projectmediacaststatuschangedevent
2194
2199
  end
2195
2200
 
2196
2201
  def deserialize(params)
@@ -2244,6 +2249,10 @@ module TencentCloud
2244
2249
  @VideoExportCompletedEvent = VideoExportCompletedEvent.new
2245
2250
  @VideoExportCompletedEvent.deserialize(params['VideoExportCompletedEvent'])
2246
2251
  end
2252
+ unless params['ProjectMediaCastStatusChangedEvent'].nil?
2253
+ @ProjectMediaCastStatusChangedEvent = ProjectMediaCastStatusChangedEvent.new
2254
+ @ProjectMediaCastStatusChangedEvent.deserialize(params['ProjectMediaCastStatusChangedEvent'])
2255
+ end
2247
2256
  end
2248
2257
  end
2249
2258
 
@@ -3702,6 +3711,239 @@ module TencentCloud
3702
3711
  end
3703
3712
  end
3704
3713
 
3714
+ # 点播转直播输出信息。
3715
+ class MediaCastDestinationInfo < TencentCloud::Common::AbstractModel
3716
+ # @param Index: 输出源序号。由系统进行分配。
3717
+ # @type Index: Integer
3718
+ # @param Name: 输出源的名称。
3719
+ # @type Name: String
3720
+ # @param PushUrl: 输出直播流地址。支持的直播流类型为 RTMP 和 SRT。
3721
+ # @type PushUrl: String
3722
+
3723
+ attr_accessor :Index, :Name, :PushUrl
3724
+
3725
+ def initialize(index=nil, name=nil, pushurl=nil)
3726
+ @Index = index
3727
+ @Name = name
3728
+ @PushUrl = pushurl
3729
+ end
3730
+
3731
+ def deserialize(params)
3732
+ @Index = params['Index']
3733
+ @Name = params['Name']
3734
+ @PushUrl = params['PushUrl']
3735
+ end
3736
+ end
3737
+
3738
+ # 点播转直播输出断流信息。
3739
+ class MediaCastDestinationInterruptInfo < TencentCloud::Common::AbstractModel
3740
+ # @param DestinationInfo: 发生断流的输出源信息。
3741
+ # @type DestinationInfo: :class:`Tencentcloud::Cme.v20191029.models.MediaCastDestinationInfo`
3742
+ # @param Reason: 输出源断流原因,取值有:
3743
+ # <li>SystemError:系统错误;</li>
3744
+ # <li>Unknown:未知错误。</li>
3745
+ # @type Reason: String
3746
+
3747
+ attr_accessor :DestinationInfo, :Reason
3748
+
3749
+ def initialize(destinationinfo=nil, reason=nil)
3750
+ @DestinationInfo = destinationinfo
3751
+ @Reason = reason
3752
+ end
3753
+
3754
+ def deserialize(params)
3755
+ unless params['DestinationInfo'].nil?
3756
+ @DestinationInfo = MediaCastDestinationInfo.new
3757
+ @DestinationInfo.deserialize(params['DestinationInfo'])
3758
+ end
3759
+ @Reason = params['Reason']
3760
+ end
3761
+ end
3762
+
3763
+ # 点播转直播输出媒体配置。
3764
+ class MediaCastOutputMediaSetting < TencentCloud::Common::AbstractModel
3765
+ # @param VideoSetting: 视频配置。
3766
+ # @type VideoSetting: :class:`Tencentcloud::Cme.v20191029.models.MediaCastVideoSetting`
3767
+
3768
+ attr_accessor :VideoSetting
3769
+
3770
+ def initialize(videosetting=nil)
3771
+ @VideoSetting = videosetting
3772
+ end
3773
+
3774
+ def deserialize(params)
3775
+ unless params['VideoSetting'].nil?
3776
+ @VideoSetting = MediaCastVideoSetting.new
3777
+ @VideoSetting.deserialize(params['VideoSetting'])
3778
+ end
3779
+ end
3780
+ end
3781
+
3782
+ # 播放控制参数。
3783
+ class MediaCastPlaySetting < TencentCloud::Common::AbstractModel
3784
+ # @param LoopCount: 循环播放次数。LoopCount 和 EndTime 同时只能有一个生效。默认循环播放次数为一次。如果同时设置了 LoopCount 和 EndTime 参数,优先使用 LoopCount 参数。
3785
+ # @type LoopCount: Integer
3786
+ # @param EndTime: 结束时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
3787
+ # @type EndTime: String
3788
+
3789
+ attr_accessor :LoopCount, :EndTime
3790
+
3791
+ def initialize(loopcount=nil, endtime=nil)
3792
+ @LoopCount = loopcount
3793
+ @EndTime = endtime
3794
+ end
3795
+
3796
+ def deserialize(params)
3797
+ @LoopCount = params['LoopCount']
3798
+ @EndTime = params['EndTime']
3799
+ end
3800
+ end
3801
+
3802
+ # 点播转直播项目信息。
3803
+ class MediaCastProjectInfo < TencentCloud::Common::AbstractModel
3804
+ # @param Status: 点播转直播项目状态,取值有:
3805
+ # <li>Working :运行中;</li>
3806
+ # <li>Idle :空闲。</li>
3807
+ # @type Status: String
3808
+ # @param SourceInfos: 输入源列表。
3809
+ # @type SourceInfos: Array
3810
+ # @param DestinationInfos: 输出源列表。
3811
+ # @type DestinationInfos: Array
3812
+ # @param OutputMediaSetting: 输出媒体配置。
3813
+ # @type OutputMediaSetting: :class:`Tencentcloud::Cme.v20191029.models.MediaCastOutputMediaSetting`
3814
+ # @param PlaySetting: 播放参数。
3815
+ # @type PlaySetting: :class:`Tencentcloud::Cme.v20191029.models.MediaCastPlaySetting`
3816
+ # @param StartTime: 项目启动时间。采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
3817
+ # @type StartTime: String
3818
+ # @param StopTime: 项目结束时间。采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。如果项目还在运行中,改字段为空。
3819
+ # @type StopTime: String
3820
+
3821
+ attr_accessor :Status, :SourceInfos, :DestinationInfos, :OutputMediaSetting, :PlaySetting, :StartTime, :StopTime
3822
+
3823
+ def initialize(status=nil, sourceinfos=nil, destinationinfos=nil, outputmediasetting=nil, playsetting=nil, starttime=nil, stoptime=nil)
3824
+ @Status = status
3825
+ @SourceInfos = sourceinfos
3826
+ @DestinationInfos = destinationinfos
3827
+ @OutputMediaSetting = outputmediasetting
3828
+ @PlaySetting = playsetting
3829
+ @StartTime = starttime
3830
+ @StopTime = stoptime
3831
+ end
3832
+
3833
+ def deserialize(params)
3834
+ @Status = params['Status']
3835
+ unless params['SourceInfos'].nil?
3836
+ @SourceInfos = []
3837
+ params['SourceInfos'].each do |i|
3838
+ mediacastsourceinfo_tmp = MediaCastSourceInfo.new
3839
+ mediacastsourceinfo_tmp.deserialize(i)
3840
+ @SourceInfos << mediacastsourceinfo_tmp
3841
+ end
3842
+ end
3843
+ unless params['DestinationInfos'].nil?
3844
+ @DestinationInfos = []
3845
+ params['DestinationInfos'].each do |i|
3846
+ mediacastdestinationinfo_tmp = MediaCastDestinationInfo.new
3847
+ mediacastdestinationinfo_tmp.deserialize(i)
3848
+ @DestinationInfos << mediacastdestinationinfo_tmp
3849
+ end
3850
+ end
3851
+ unless params['OutputMediaSetting'].nil?
3852
+ @OutputMediaSetting = MediaCastOutputMediaSetting.new
3853
+ @OutputMediaSetting.deserialize(params['OutputMediaSetting'])
3854
+ end
3855
+ unless params['PlaySetting'].nil?
3856
+ @PlaySetting = MediaCastPlaySetting.new
3857
+ @PlaySetting.deserialize(params['PlaySetting'])
3858
+ end
3859
+ @StartTime = params['StartTime']
3860
+ @StopTime = params['StopTime']
3861
+ end
3862
+ end
3863
+
3864
+ # 点播转直播输入源信息。
3865
+ class MediaCastSourceInfo < TencentCloud::Common::AbstractModel
3866
+ # @param Type: 输入源的媒体类型,取值有:
3867
+ # <li>CME:多媒体创作引擎的媒体文件;</li>
3868
+ # <li>VOD:云点播的媒资文件。</li>
3869
+ # @type Type: String
3870
+ # @param MaterialId: 多媒体创作引擎的媒体 ID。当 Type = CME 时必填。
3871
+ # @type MaterialId: String
3872
+ # @param FileId: 云点播媒体文件 ID。当 Type = VOD 时必填。
3873
+ # @type FileId: String
3874
+ # @param Index: 序号,位于输入源列表中的序号,由系统分配。
3875
+ # @type Index: Integer
3876
+
3877
+ attr_accessor :Type, :MaterialId, :FileId, :Index
3878
+
3879
+ def initialize(type=nil, materialid=nil, fileid=nil, index=nil)
3880
+ @Type = type
3881
+ @MaterialId = materialid
3882
+ @FileId = fileid
3883
+ @Index = index
3884
+ end
3885
+
3886
+ def deserialize(params)
3887
+ @Type = params['Type']
3888
+ @MaterialId = params['MaterialId']
3889
+ @FileId = params['FileId']
3890
+ @Index = params['Index']
3891
+ end
3892
+ end
3893
+
3894
+ # 点播转直播输入断流信息。
3895
+ class MediaCastSourceInterruptInfo < TencentCloud::Common::AbstractModel
3896
+ # @param SourceInfo: 发生断流的输入源信息。
3897
+ # @type SourceInfo: :class:`Tencentcloud::Cme.v20191029.models.MediaCastSourceInfo`
3898
+ # @param Reason: 输入源断开原因。取值有:
3899
+ # <li>SystemError:系统错误;</li>
3900
+ # <li>Unknown:未知错误。</li>
3901
+ # @type Reason: String
3902
+
3903
+ attr_accessor :SourceInfo, :Reason
3904
+
3905
+ def initialize(sourceinfo=nil, reason=nil)
3906
+ @SourceInfo = sourceinfo
3907
+ @Reason = reason
3908
+ end
3909
+
3910
+ def deserialize(params)
3911
+ unless params['SourceInfo'].nil?
3912
+ @SourceInfo = MediaCastSourceInfo.new
3913
+ @SourceInfo.deserialize(params['SourceInfo'])
3914
+ end
3915
+ @Reason = params['Reason']
3916
+ end
3917
+ end
3918
+
3919
+ # 点播转直播视频配置
3920
+ class MediaCastVideoSetting < TencentCloud::Common::AbstractModel
3921
+ # @param Width: 视频宽度,单位:px,默认值为1280。
3922
+ # @type Width: Integer
3923
+ # @param Height: 视频高度,单位:px,默认值为720。支持的视频分辨率最大为1920*1080。
3924
+ # @type Height: Integer
3925
+ # @param Bitrate: 视频码率,单位:kbps,默认值为2500。最大值为10000 kbps。
3926
+ # @type Bitrate: Integer
3927
+ # @param FrameRate: 视频帧率,单位:Hz,默认值为25。最大值为60。
3928
+ # @type FrameRate: Float
3929
+
3930
+ attr_accessor :Width, :Height, :Bitrate, :FrameRate
3931
+
3932
+ def initialize(width=nil, height=nil, bitrate=nil, framerate=nil)
3933
+ @Width = width
3934
+ @Height = height
3935
+ @Bitrate = bitrate
3936
+ @FrameRate = framerate
3937
+ end
3938
+
3939
+ def deserialize(params)
3940
+ @Width = params['Width']
3941
+ @Height = params['Height']
3942
+ @Bitrate = params['Bitrate']
3943
+ @FrameRate = params['FrameRate']
3944
+ end
3945
+ end
3946
+
3705
3947
  # 雪碧图
3706
3948
  class MediaImageSpriteInfo < TencentCloud::Common::AbstractModel
3707
3949
  # @param Height: 雪碧图小图的高度。
@@ -4521,14 +4763,17 @@ module TencentCloud
4521
4763
  # @param StreamConnectProjectInfo: 云转推项目信息,仅当项目类别取值 STREAM_CONNECT 时有效。
4522
4764
  # 注意:此字段可能返回 null,表示取不到有效值。
4523
4765
  # @type StreamConnectProjectInfo: :class:`Tencentcloud::Cme.v20191029.models.StreamConnectProjectInfo`
4524
- # @param CreateTime: 项目创建时间,格式按照 ISO 8601 标准表示。
4525
- # @type CreateTime: String
4766
+ # @param MediaCastProjectInfo: 点播转直播项目信息,仅当项目类别取值为 MEDIA_CAST 时有效。
4767
+ # 注意:此字段可能返回 null,表示取不到有效值。
4768
+ # @type MediaCastProjectInfo: :class:`Tencentcloud::Cme.v20191029.models.MediaCastProjectInfo`
4526
4769
  # @param UpdateTime: 项目更新时间,格式按照 ISO 8601 标准表示。
4527
4770
  # @type UpdateTime: String
4771
+ # @param CreateTime: 项目创建时间,格式按照 ISO 8601 标准表示。
4772
+ # @type CreateTime: String
4528
4773
 
4529
- attr_accessor :ProjectId, :Name, :AspectRatio, :Category, :Owner, :CoverUrl, :StreamConnectProjectInfo, :CreateTime, :UpdateTime
4774
+ attr_accessor :ProjectId, :Name, :AspectRatio, :Category, :Owner, :CoverUrl, :StreamConnectProjectInfo, :MediaCastProjectInfo, :UpdateTime, :CreateTime
4530
4775
 
4531
- def initialize(projectid=nil, name=nil, aspectratio=nil, category=nil, owner=nil, coverurl=nil, streamconnectprojectinfo=nil, createtime=nil, updatetime=nil)
4776
+ def initialize(projectid=nil, name=nil, aspectratio=nil, category=nil, owner=nil, coverurl=nil, streamconnectprojectinfo=nil, mediacastprojectinfo=nil, updatetime=nil, createtime=nil)
4532
4777
  @ProjectId = projectid
4533
4778
  @Name = name
4534
4779
  @AspectRatio = aspectratio
@@ -4536,8 +4781,9 @@ module TencentCloud
4536
4781
  @Owner = owner
4537
4782
  @CoverUrl = coverurl
4538
4783
  @StreamConnectProjectInfo = streamconnectprojectinfo
4539
- @CreateTime = createtime
4784
+ @MediaCastProjectInfo = mediacastprojectinfo
4540
4785
  @UpdateTime = updatetime
4786
+ @CreateTime = createtime
4541
4787
  end
4542
4788
 
4543
4789
  def deserialize(params)
@@ -4554,8 +4800,50 @@ module TencentCloud
4554
4800
  @StreamConnectProjectInfo = StreamConnectProjectInfo.new
4555
4801
  @StreamConnectProjectInfo.deserialize(params['StreamConnectProjectInfo'])
4556
4802
  end
4557
- @CreateTime = params['CreateTime']
4803
+ unless params['MediaCastProjectInfo'].nil?
4804
+ @MediaCastProjectInfo = MediaCastProjectInfo.new
4805
+ @MediaCastProjectInfo.deserialize(params['MediaCastProjectInfo'])
4806
+ end
4558
4807
  @UpdateTime = params['UpdateTime']
4808
+ @CreateTime = params['CreateTime']
4809
+ end
4810
+ end
4811
+
4812
+ # 点播转直播项目状态变更事件。
4813
+ class ProjectMediaCastStatusChangedEvent < TencentCloud::Common::AbstractModel
4814
+ # @param ProjectId: 项目 Id。
4815
+ # @type ProjectId: String
4816
+ # @param Status: 项目状态,取值有:
4817
+ # <li>Started:点播转直播开始;</li>
4818
+ # <li>Stopped:点播转直播结束;</li>
4819
+ # <li>SourceInterrupted:点播转直播输入断流;</li>
4820
+ # <li>DestinationInterrupted:点播转直播输出断流。</li>
4821
+ # @type Status: String
4822
+ # @param SourceInterruptInfo: 点播转直播输入断流信息,仅当 Status 取值 SourceInterrupted 时有效。
4823
+ # @type SourceInterruptInfo: :class:`Tencentcloud::Cme.v20191029.models.MediaCastSourceInterruptInfo`
4824
+ # @param DestinationInterruptInfo: 点播转直播输出断流信息,仅当 Status 取值 DestinationInterrupted 时有效。
4825
+ # @type DestinationInterruptInfo: :class:`Tencentcloud::Cme.v20191029.models.MediaCastDestinationInterruptInfo`
4826
+
4827
+ attr_accessor :ProjectId, :Status, :SourceInterruptInfo, :DestinationInterruptInfo
4828
+
4829
+ def initialize(projectid=nil, status=nil, sourceinterruptinfo=nil, destinationinterruptinfo=nil)
4830
+ @ProjectId = projectid
4831
+ @Status = status
4832
+ @SourceInterruptInfo = sourceinterruptinfo
4833
+ @DestinationInterruptInfo = destinationinterruptinfo
4834
+ end
4835
+
4836
+ def deserialize(params)
4837
+ @ProjectId = params['ProjectId']
4838
+ @Status = params['Status']
4839
+ unless params['SourceInterruptInfo'].nil?
4840
+ @SourceInterruptInfo = MediaCastSourceInterruptInfo.new
4841
+ @SourceInterruptInfo.deserialize(params['SourceInterruptInfo'])
4842
+ end
4843
+ unless params['DestinationInterruptInfo'].nil?
4844
+ @DestinationInterruptInfo = MediaCastDestinationInterruptInfo.new
4845
+ @DestinationInterruptInfo.deserialize(params['DestinationInterruptInfo'])
4846
+ end
4559
4847
  end
4560
4848
  end
4561
4849
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cme
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.391
4
+ version: 3.0.393
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-23 00:00:00.000000000 Z
11
+ date: 2022-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common