Class: TencentCloud::Weilingwith::V20230427::VideoRecordStreamRes
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::VideoRecordStreamRes
- Defined in:
- lib/v20230427/models.rb
Overview
视频流查询结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(flv = nil, rtmp = nil, hls = nil, webrtc = nil, raw = nil, stream = nil) ⇒ VideoRecordStreamRes
constructor
A new instance of VideoRecordStreamRes.
Constructor Details
#initialize(flv = nil, rtmp = nil, hls = nil, webrtc = nil, raw = nil, stream = nil) ⇒ VideoRecordStreamRes
Returns a new instance of VideoRecordStreamRes.
7608 7609 7610 7611 7612 7613 7614 7615 |
# File 'lib/v20230427/models.rb', line 7608 def initialize(flv=nil, rtmp=nil, hls=nil, webrtc=nil, raw=nil, stream=nil) @FLV = flv @RTMP = rtmp @HLS = hls @WebRTC = webrtc @RAW = raw @Stream = stream end |
Instance Attribute Details
#FLV ⇒ Object
7606 7607 7608 |
# File 'lib/v20230427/models.rb', line 7606 def FLV @FLV end |
#HLS ⇒ Object
7606 7607 7608 |
# File 'lib/v20230427/models.rb', line 7606 def HLS @HLS end |
#RAW ⇒ Object
7606 7607 7608 |
# File 'lib/v20230427/models.rb', line 7606 def RAW @RAW end |
#RTMP ⇒ Object
7606 7607 7608 |
# File 'lib/v20230427/models.rb', line 7606 def RTMP @RTMP end |
#Stream ⇒ Object
7606 7607 7608 |
# File 'lib/v20230427/models.rb', line 7606 def Stream @Stream end |
#WebRTC ⇒ Object
7606 7607 7608 |
# File 'lib/v20230427/models.rb', line 7606 def WebRTC @WebRTC end |
Instance Method Details
#deserialize(params) ⇒ Object
7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 |
# File 'lib/v20230427/models.rb', line 7617 def deserialize(params) @FLV = params['FLV'] @RTMP = params['RTMP'] @HLS = params['HLS'] @WebRTC = params['WebRTC'] unless params['RAW'].nil? @RAW = RawInfo.new @RAW.deserialize(params['RAW']) end @Stream = params['Stream'] end |