Class: TencentCloud::Iotvideoindustry::V20201201::DescribeDeviceStreamsData

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201201/models.rb

Overview

DescribeDeviceStreams的出参复杂类型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rtspaddr = nil, rtmpaddr = nil, hlsaddr = nil, flvaddr = nil) ⇒ DescribeDeviceStreamsData

Returns a new instance of DescribeDeviceStreamsData.



2386
2387
2388
2389
2390
2391
# File 'lib/v20201201/models.rb', line 2386

def initialize(rtspaddr=nil, rtmpaddr=nil, hlsaddr=nil, flvaddr=nil)
  @RtspAddr = rtspaddr
  @RtmpAddr = rtmpaddr
  @HlsAddr = hlsaddr
  @FlvAddr = flvaddr
end

Instance Attribute Details

#FlvAddrObject

Parameters:

  • RtspAddr:

    rtsp地址

  • RtmpAddr:

    rtmp地址

  • HlsAddr:

    hls地址

  • FlvAddr:

    flv地址



2384
2385
2386
# File 'lib/v20201201/models.rb', line 2384

def FlvAddr
  @FlvAddr
end

#HlsAddrObject

Parameters:

  • RtspAddr:

    rtsp地址

  • RtmpAddr:

    rtmp地址

  • HlsAddr:

    hls地址

  • FlvAddr:

    flv地址



2384
2385
2386
# File 'lib/v20201201/models.rb', line 2384

def HlsAddr
  @HlsAddr
end

#RtmpAddrObject

Parameters:

  • RtspAddr:

    rtsp地址

  • RtmpAddr:

    rtmp地址

  • HlsAddr:

    hls地址

  • FlvAddr:

    flv地址



2384
2385
2386
# File 'lib/v20201201/models.rb', line 2384

def RtmpAddr
  @RtmpAddr
end

#RtspAddrObject

Parameters:

  • RtspAddr:

    rtsp地址

  • RtmpAddr:

    rtmp地址

  • HlsAddr:

    hls地址

  • FlvAddr:

    flv地址



2384
2385
2386
# File 'lib/v20201201/models.rb', line 2384

def RtspAddr
  @RtspAddr
end

Instance Method Details

#deserialize(params) ⇒ Object



2393
2394
2395
2396
2397
2398
# File 'lib/v20201201/models.rb', line 2393

def deserialize(params)
  @RtspAddr = params['RtspAddr']
  @RtmpAddr = params['RtmpAddr']
  @HlsAddr = params['HlsAddr']
  @FlvAddr = params['FlvAddr']
end