Class: TencentCloud::Iss::V20230517::ControlDeviceStreamRequest

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

Overview

ControlDeviceStream请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channelid = nil, streamtype = nil, resolution = nil, isinternal = nil) ⇒ ControlDeviceStreamRequest

Returns a new instance of ControlDeviceStreamRequest.



1749
1750
1751
1752
1753
1754
# File 'lib/v20230517/models.rb', line 1749

def initialize(channelid=nil, streamtype=nil, resolution=nil, isinternal=nil)
  @ChannelId = channelid
  @StreamType = streamtype
  @Resolution = resolution
  @IsInternal = isinternal
end

Instance Attribute Details

#ChannelIdObject

2:子码流(不可以和 Resolution 同时下发))2:CIF;3:4CIF;4:D1;5:720P;6:1080P/I;自定义的19201080等等(需设备支持)(不可以和 StreamType 同时下发))

Parameters:

  • ChannelId:

    通道 ID(从通道查询接口DescribeDeviceChannel中获取)

  • StreamType:

    流类型(1:主码流;

  • Resolution:

    分辨率(1:QCIF;

  • IsInternal:

    是否内网



1747
1748
1749
# File 'lib/v20230517/models.rb', line 1747

def ChannelId
  @ChannelId
end

#IsInternalObject

2:子码流(不可以和 Resolution 同时下发))2:CIF;3:4CIF;4:D1;5:720P;6:1080P/I;自定义的19201080等等(需设备支持)(不可以和 StreamType 同时下发))

Parameters:

  • ChannelId:

    通道 ID(从通道查询接口DescribeDeviceChannel中获取)

  • StreamType:

    流类型(1:主码流;

  • Resolution:

    分辨率(1:QCIF;

  • IsInternal:

    是否内网



1747
1748
1749
# File 'lib/v20230517/models.rb', line 1747

def IsInternal
  @IsInternal
end

#ResolutionObject

2:子码流(不可以和 Resolution 同时下发))2:CIF;3:4CIF;4:D1;5:720P;6:1080P/I;自定义的19201080等等(需设备支持)(不可以和 StreamType 同时下发))

Parameters:

  • ChannelId:

    通道 ID(从通道查询接口DescribeDeviceChannel中获取)

  • StreamType:

    流类型(1:主码流;

  • Resolution:

    分辨率(1:QCIF;

  • IsInternal:

    是否内网



1747
1748
1749
# File 'lib/v20230517/models.rb', line 1747

def Resolution
  @Resolution
end

#StreamTypeObject

2:子码流(不可以和 Resolution 同时下发))2:CIF;3:4CIF;4:D1;5:720P;6:1080P/I;自定义的19201080等等(需设备支持)(不可以和 StreamType 同时下发))

Parameters:

  • ChannelId:

    通道 ID(从通道查询接口DescribeDeviceChannel中获取)

  • StreamType:

    流类型(1:主码流;

  • Resolution:

    分辨率(1:QCIF;

  • IsInternal:

    是否内网



1747
1748
1749
# File 'lib/v20230517/models.rb', line 1747

def StreamType
  @StreamType
end

Instance Method Details

#deserialize(params) ⇒ Object



1756
1757
1758
1759
1760
1761
# File 'lib/v20230517/models.rb', line 1756

def deserialize(params)
  @ChannelId = params['ChannelId']
  @StreamType = params['StreamType']
  @Resolution = params['Resolution']
  @IsInternal = params['IsInternal']
end