Search
Preparing search index...
The search index is not available
@urtc/sdk-web
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@urtc/sdk-web
RtcEvent
Interface RtcEvent<T, S>
Rtc 事件
当 type - T 为
RtcUserEventType
事件时,data - S 为
User
类型
当 type - T 为
RtcStreamEventType
事件时,data - S 为
LocalStream
或
RemoteStream
类型
当 type - T 为
RtcConnectionStateEventType
事件时,data - S 为
ConnectionStates
类型
当 type - T 为
RtcNetworkQualityEventType
事件时,data - S 为
NetworkQualities
类型
当 type - T 为
RtcPlayerEventType
事件时,data - S 为
PlayerEventData
类型
当 type - T 为
RtcDeviceChangedEventType
事件时,data - S 为
DeviceChangedEventData
类型
当 type - T 为
RtcErrorEventType
事件时,data - S 为
RtcError
类型
Type parameters
T
S
Hierarchy
RtcEvent
Index
Properties
data
type
Properties
data
data
:
S
type
type
:
T
Exports
Rtc
Event
data
type
Generated using
TypeDoc
Rtc 事件