Class: TencentCloud::Weilingwith::V20230427::VideoRecordStreamRes

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

Overview

视频流查询结果

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#FLVObject

Parameters:

  • FLV:

    FLV协议格式视频流

  • RTMP:

    RTMP协议格式视频流

  • HLS:

    HLS协议格式视频流

  • WebRTC:

    WebRtc协议格式视频流

  • RAW:

    RAW协议格式视频流

  • Stream:

    视频流的唯一标识



7606
7607
7608
# File 'lib/v20230427/models.rb', line 7606

def FLV
  @FLV
end

#HLSObject

Parameters:

  • FLV:

    FLV协议格式视频流

  • RTMP:

    RTMP协议格式视频流

  • HLS:

    HLS协议格式视频流

  • WebRTC:

    WebRtc协议格式视频流

  • RAW:

    RAW协议格式视频流

  • Stream:

    视频流的唯一标识



7606
7607
7608
# File 'lib/v20230427/models.rb', line 7606

def HLS
  @HLS
end

#RAWObject

Parameters:

  • FLV:

    FLV协议格式视频流

  • RTMP:

    RTMP协议格式视频流

  • HLS:

    HLS协议格式视频流

  • WebRTC:

    WebRtc协议格式视频流

  • RAW:

    RAW协议格式视频流

  • Stream:

    视频流的唯一标识



7606
7607
7608
# File 'lib/v20230427/models.rb', line 7606

def RAW
  @RAW
end

#RTMPObject

Parameters:

  • FLV:

    FLV协议格式视频流

  • RTMP:

    RTMP协议格式视频流

  • HLS:

    HLS协议格式视频流

  • WebRTC:

    WebRtc协议格式视频流

  • RAW:

    RAW协议格式视频流

  • Stream:

    视频流的唯一标识



7606
7607
7608
# File 'lib/v20230427/models.rb', line 7606

def RTMP
  @RTMP
end

#StreamObject

Parameters:

  • FLV:

    FLV协议格式视频流

  • RTMP:

    RTMP协议格式视频流

  • HLS:

    HLS协议格式视频流

  • WebRTC:

    WebRtc协议格式视频流

  • RAW:

    RAW协议格式视频流

  • Stream:

    视频流的唯一标识



7606
7607
7608
# File 'lib/v20230427/models.rb', line 7606

def Stream
  @Stream
end

#WebRTCObject

Parameters:

  • FLV:

    FLV协议格式视频流

  • RTMP:

    RTMP协议格式视频流

  • HLS:

    HLS协议格式视频流

  • WebRTC:

    WebRtc协议格式视频流

  • RAW:

    RAW协议格式视频流

  • Stream:

    视频流的唯一标识



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