class TencentCloud::Trtc::V20190722::SmallVideoLayoutParams
画中画模板中有效,代表小画面的布局参数
Attributes
@param UserId: 代表小画面对应的用户ID。 @type UserId: String @param StreamType: 代表小画面对应的流类型,0为摄像头,1为屏幕分享。小画面为web用户时此值填0。 @type StreamType: Integer @param ImageWidth: 小画面在输出时的宽度,单位为像素值,不填默认为0。 @type ImageWidth: Integer @param ImageHeight: 小画面在输出时的高度,单位为像素值,不填默认为0。 @type ImageHeight: Integer @param LocationX: 小画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。 @type LocationX: Integer @param LocationY: 小画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。 @type LocationY: Integer
@param UserId: 代表小画面对应的用户ID。 @type UserId: String @param StreamType: 代表小画面对应的流类型,0为摄像头,1为屏幕分享。小画面为web用户时此值填0。 @type StreamType: Integer @param ImageWidth: 小画面在输出时的宽度,单位为像素值,不填默认为0。 @type ImageWidth: Integer @param ImageHeight: 小画面在输出时的高度,单位为像素值,不填默认为0。 @type ImageHeight: Integer @param LocationX: 小画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。 @type LocationX: Integer @param LocationY: 小画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。 @type LocationY: Integer
@param UserId: 代表小画面对应的用户ID。 @type UserId: String @param StreamType: 代表小画面对应的流类型,0为摄像头,1为屏幕分享。小画面为web用户时此值填0。 @type StreamType: Integer @param ImageWidth: 小画面在输出时的宽度,单位为像素值,不填默认为0。 @type ImageWidth: Integer @param ImageHeight: 小画面在输出时的高度,单位为像素值,不填默认为0。 @type ImageHeight: Integer @param LocationX: 小画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。 @type LocationX: Integer @param LocationY: 小画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。 @type LocationY: Integer
@param UserId: 代表小画面对应的用户ID。 @type UserId: String @param StreamType: 代表小画面对应的流类型,0为摄像头,1为屏幕分享。小画面为web用户时此值填0。 @type StreamType: Integer @param ImageWidth: 小画面在输出时的宽度,单位为像素值,不填默认为0。 @type ImageWidth: Integer @param ImageHeight: 小画面在输出时的高度,单位为像素值,不填默认为0。 @type ImageHeight: Integer @param LocationX: 小画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。 @type LocationX: Integer @param LocationY: 小画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。 @type LocationY: Integer
@param UserId: 代表小画面对应的用户ID。 @type UserId: String @param StreamType: 代表小画面对应的流类型,0为摄像头,1为屏幕分享。小画面为web用户时此值填0。 @type StreamType: Integer @param ImageWidth: 小画面在输出时的宽度,单位为像素值,不填默认为0。 @type ImageWidth: Integer @param ImageHeight: 小画面在输出时的高度,单位为像素值,不填默认为0。 @type ImageHeight: Integer @param LocationX: 小画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。 @type LocationX: Integer @param LocationY: 小画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。 @type LocationY: Integer
@param UserId: 代表小画面对应的用户ID。 @type UserId: String @param StreamType: 代表小画面对应的流类型,0为摄像头,1为屏幕分享。小画面为web用户时此值填0。 @type StreamType: Integer @param ImageWidth: 小画面在输出时的宽度,单位为像素值,不填默认为0。 @type ImageWidth: Integer @param ImageHeight: 小画面在输出时的高度,单位为像素值,不填默认为0。 @type ImageHeight: Integer @param LocationX: 小画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。 @type LocationX: Integer @param LocationY: 小画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。 @type LocationY: Integer
Public Class Methods
# File lib/v20190722/models.rb, line 1917 def initialize(userid=nil, streamtype=nil, imagewidth=nil, imageheight=nil, locationx=nil, locationy=nil) @UserId = userid @StreamType = streamtype @ImageWidth = imagewidth @ImageHeight = imageheight @LocationX = locationx @LocationY = locationy end
Public Instance Methods
# File lib/v20190722/models.rb, line 1926 def deserialize(params) @UserId = params['UserId'] @StreamType = params['StreamType'] @ImageWidth = params['ImageWidth'] @ImageHeight = params['ImageHeight'] @LocationX = params['LocationX'] @LocationY = params['LocationY'] end