class TencentCloud::Trtc::V20190722::EventMessage
事件信息,包括,事件时间戳,事件ID,
Attributes
@param Type: 视频流类型: 0:与视频无关的事件; 2:视频为大画面; 3:视频为小画面; 7:视频为旁路画面; @type Type: Integer @param Time: 事件上报的时间戳,unix时间(1589891188801ms) @type Time: Integer @param EventId: 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:cloud.tencent.com/document/product/647/44916 @type EventId: Integer @param ParamOne: 事件的第一个参数,如视频分辨率宽 @type ParamOne: Integer @param ParamTwo: 事件的第二个参数,如视频分辨率高 @type ParamTwo: Integer
@param Type: 视频流类型: 0:与视频无关的事件; 2:视频为大画面; 3:视频为小画面; 7:视频为旁路画面; @type Type: Integer @param Time: 事件上报的时间戳,unix时间(1589891188801ms) @type Time: Integer @param EventId: 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:cloud.tencent.com/document/product/647/44916 @type EventId: Integer @param ParamOne: 事件的第一个参数,如视频分辨率宽 @type ParamOne: Integer @param ParamTwo: 事件的第二个参数,如视频分辨率高 @type ParamTwo: Integer
@param Type: 视频流类型: 0:与视频无关的事件; 2:视频为大画面; 3:视频为小画面; 7:视频为旁路画面; @type Type: Integer @param Time: 事件上报的时间戳,unix时间(1589891188801ms) @type Time: Integer @param EventId: 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:cloud.tencent.com/document/product/647/44916 @type EventId: Integer @param ParamOne: 事件的第一个参数,如视频分辨率宽 @type ParamOne: Integer @param ParamTwo: 事件的第二个参数,如视频分辨率高 @type ParamTwo: Integer
@param Type: 视频流类型: 0:与视频无关的事件; 2:视频为大画面; 3:视频为小画面; 7:视频为旁路画面; @type Type: Integer @param Time: 事件上报的时间戳,unix时间(1589891188801ms) @type Time: Integer @param EventId: 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:cloud.tencent.com/document/product/647/44916 @type EventId: Integer @param ParamOne: 事件的第一个参数,如视频分辨率宽 @type ParamOne: Integer @param ParamTwo: 事件的第二个参数,如视频分辨率高 @type ParamTwo: Integer
@param Type: 视频流类型: 0:与视频无关的事件; 2:视频为大画面; 3:视频为小画面; 7:视频为旁路画面; @type Type: Integer @param Time: 事件上报的时间戳,unix时间(1589891188801ms) @type Time: Integer @param EventId: 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:cloud.tencent.com/document/product/647/44916 @type EventId: Integer @param ParamOne: 事件的第一个参数,如视频分辨率宽 @type ParamOne: Integer @param ParamTwo: 事件的第二个参数,如视频分辨率高 @type ParamTwo: Integer
Public Class Methods
# File lib/v20190722/models.rb, line 1227 def initialize(type=nil, time=nil, eventid=nil, paramone=nil, paramtwo=nil) @Type = type @Time = time @EventId = eventid @ParamOne = paramone @ParamTwo = paramtwo end
Public Instance Methods
# File lib/v20190722/models.rb, line 1235 def deserialize(params) @Type = params['Type'] @Time = params['Time'] @EventId = params['EventId'] @ParamOne = params['ParamOne'] @ParamTwo = params['ParamTwo'] end