Class: TencentCloud::Iotvideoindustry::V20201201::StreamAddress

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

Overview

拉流地址,只有在推流情况下才有

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#FlvAddrObject

Parameters:

  • StreamId:

    流ID

  • RtspAddr:

    rtsp流地址

  • RtmpAddr:

    rtmp流地址

  • HlsAddr:

    hls流地址

  • FlvAddr:

    flv流地址



5937
5938
5939
# File 'lib/v20201201/models.rb', line 5937

def FlvAddr
  @FlvAddr
end

#HlsAddrObject

Parameters:

  • StreamId:

    流ID

  • RtspAddr:

    rtsp流地址

  • RtmpAddr:

    rtmp流地址

  • HlsAddr:

    hls流地址

  • FlvAddr:

    flv流地址



5937
5938
5939
# File 'lib/v20201201/models.rb', line 5937

def HlsAddr
  @HlsAddr
end

#RtmpAddrObject

Parameters:

  • StreamId:

    流ID

  • RtspAddr:

    rtsp流地址

  • RtmpAddr:

    rtmp流地址

  • HlsAddr:

    hls流地址

  • FlvAddr:

    flv流地址



5937
5938
5939
# File 'lib/v20201201/models.rb', line 5937

def RtmpAddr
  @RtmpAddr
end

#RtspAddrObject

Parameters:

  • StreamId:

    流ID

  • RtspAddr:

    rtsp流地址

  • RtmpAddr:

    rtmp流地址

  • HlsAddr:

    hls流地址

  • FlvAddr:

    flv流地址



5937
5938
5939
# File 'lib/v20201201/models.rb', line 5937

def RtspAddr
  @RtspAddr
end

#StreamIdObject

Parameters:

  • StreamId:

    流ID

  • RtspAddr:

    rtsp流地址

  • RtmpAddr:

    rtmp流地址

  • HlsAddr:

    hls流地址

  • FlvAddr:

    flv流地址



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