Class: TencentCloud::Iotvideoindustry::V20201201::StreamAddress
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::StreamAddress
- Defined in:
- lib/v20201201/models.rb
Overview
拉流地址,只有在推流情况下才有
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(streamid = nil, rtspaddr = nil, rtmpaddr = nil, hlsaddr = nil, flvaddr = nil) ⇒ StreamAddress
constructor
A new instance of StreamAddress.
Constructor Details
#initialize(streamid = nil, rtspaddr = nil, rtmpaddr = nil, hlsaddr = nil, flvaddr = nil) ⇒ StreamAddress
Returns a new instance of StreamAddress.
5939 5940 5941 5942 5943 5944 5945 |
# File 'lib/v20201201/models.rb', line 5939 def initialize(streamid=nil, rtspaddr=nil, rtmpaddr=nil, hlsaddr=nil, flvaddr=nil) @StreamId = streamid @RtspAddr = rtspaddr @RtmpAddr = rtmpaddr @HlsAddr = hlsaddr @FlvAddr = flvaddr end |
Instance Attribute Details
#FlvAddr ⇒ Object
5937 5938 5939 |
# File 'lib/v20201201/models.rb', line 5937 def FlvAddr @FlvAddr end |
#HlsAddr ⇒ Object
5937 5938 5939 |
# File 'lib/v20201201/models.rb', line 5937 def HlsAddr @HlsAddr end |
#RtmpAddr ⇒ Object
5937 5938 5939 |
# File 'lib/v20201201/models.rb', line 5937 def RtmpAddr @RtmpAddr end |
#RtspAddr ⇒ Object
5937 5938 5939 |
# File 'lib/v20201201/models.rb', line 5937 def RtspAddr @RtspAddr end |
#StreamId ⇒ Object
5937 5938 5939 |
# File 'lib/v20201201/models.rb', line 5937 def StreamId @StreamId end |
Instance Method Details
#deserialize(params) ⇒ Object
5947 5948 5949 5950 5951 5952 5953 |
# File 'lib/v20201201/models.rb', line 5947 def deserialize(params) @StreamId = params['StreamId'] @RtspAddr = params['RtspAddr'] @RtmpAddr = params['RtmpAddr'] @HlsAddr = params['HlsAddr'] @FlvAddr = params['FlvAddr'] end |