BRtcEvents class

Constructors

BRtcEvents()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

BRTC_ROOM_CAPTURE_AUDIO_ERROR → const int
BRTC_ROOM_CONNECTION_CLOSED → const int
BRTC_ROOM_EVENT_AVAILABLE_SEND_BITRATE → const int
BRTC_ROOM_EVENT_AVAILABLE_SEND_PACKET_LOSS → const int
data is lost * 1000 / send packet
BRTC_ROOM_EVENT_LOGIN_ERROR → const int
websocket onFailure 错误,建议退出重连
BRTC_ROOM_EVENT_LOGIN_OK → const int
setup / attach 信令返回成功,表示加入房间成功
BRTC_ROOM_EVENT_LOGIN_TIMEOUT → const int
websocket 连接超时
BRTC_ROOM_EVENT_ON_USER_ATTRIBUTE → const int
BRTC_ROOM_EVENT_ON_USER_JOINED_ROOM → const int
BRTC_ROOM_EVENT_ON_USER_LEAVING_ROOM → const int
BRTC_ROOM_EVENT_ON_USER_MESSAGE → const int
BRTC_ROOM_EVENT_REMOTE_AUDIO_ARRIVED → const int
远端音频流到达,和信令用户加入对应
BRTC_ROOM_EVENT_REMOTE_AUDIO_REMOVED → const int
信令 远端音频流离开
BRTC_ROOM_EVENT_REMOTE_COMING → const int
信令用户加入
BRTC_ROOM_EVENT_REMOTE_GONE → const int
远端视频离开
BRTC_ROOM_EVENT_REMOTE_LEAVING → const int
信令用户离开
BRTC_ROOM_EVENT_REMOTE_RENDERING → const int
远端视频到达
BRTC_ROOM_EVENT_REMOTE_VIDEO_SIZE_CHANGE → const int
video dimension
BRTC_ROOM_EVENT_STATS_UPDATED → const int
BRTC_ROOM_EVENT_WS_CONNECTION_ERROR → const int
websocket onFailure 错误,建议退出重连
BRTC_ROOM_EVENTS_DISBAND_ROOM → const int
房间被解散信令回调
BRTC_ROOM_EVENTS_EXCEED_PUBLISHERS_LIMIT_ERROR → const int
发布者人数上限,业务处理
BRTC_ROOM_EVENTS_EXCEED_SUBSCRIBERS_LIMIT_ERROR → const int
人数达到上限/订阅者人数上限,业务处理
BRTC_ROOM_EVENTS_LIVE_INTRERRUPT → const int
动态转推中断 信令事件
BRTC_ROOM_EVENTS_LIVE_PUBLISH_FAIL → const int
动态转推信令失败回调事件
BRTC_ROOM_EVENTS_LIVE_PUBLISH_SUCCESS → const int
动态转推 信令成功回调事件
BRTC_ROOM_EVENTS_PUBLISHER_PARAMS_INCORRECT_ERROR → const int
参数错误,业务自己处理
BRTC_ROOM_EVENTS_PUBLISHER_REPEAT_PUBLISH_ERROR → const int
重复推流,上报业务无需处理
BRTC_ROOM_EVENTS_PUBLISHER_USER_NOT_EXISTS_ERROR → const int
用户不存在,业务需要重连,整个重连
BRTC_ROOM_EVENTS_REPEAT_SUBSCRIBE_ERROR → const int
BRTC_ROOM_EVENTS_SOMEBODY_DISSHUTUPED → const int
解禁用户 信令回调
BRTC_ROOM_EVENTS_SOMEBODY_KICKOFFED → const int
错误用户被踢 / 收到被踢的人信令回调
BRTC_ROOM_EVENTS_SOMEBODY_SHUTUPED → const int
被禁言用户信令回调
BRTC_ROOM_EVENTS_START_MEDIA_RELAY_FAIL → const int
BRTC_ROOM_EVENTS_START_MEDIA_RELAY_SUCCESS → const int
BRTC_ROOM_EVENTS_STOP_MEDIA_RELAY_FAIL → const int
BRTC_ROOM_EVENTS_STOP_MEDIA_RELAY_SUCCESS → const int
BRTC_ROOM_EVENTS_SUBSCRIBER_PARAMS_INCORRECT_ERROR → const int
BRTC_ROOM_EVENTS_SUBSCRIBER_USER_NOT_EXISTS_ERROR → const int
BRTC_ROOM_EVENTS_SUBSCRIBER_USER_STATE_ERROR → const int
用户状态错误,业务处理,需重新订阅
BRTC_ROOM_EVENTS_UNPUBLISH_USER_NOT_EXISTS_ERROR → const int
BRTC_ROOM_EVENTS_UNSUBSCRIBE_PARAMS_INCORRECT_ERROR → const int
BRTC_ROOM_EVENTS_UNSUBSCRIBE_USER_NOT_EXISTS_ERROR → const int
BRTC_ROOM_EVENTS_UNSUBSCRIBE_USER_NOT_SUBSCRIBED_ERROR → const int
BRTC_ROOM_PEER_CONNECTION_ERROR → const int
BRTC_ROOM_REMOTE_USER_RENDER → const int
BRTC_ROOM_SERVER_KEEPALIVE_TIMEOUT_ERROR → const int
BRTC_ROOM_SERVER_SIGNAL_ERROR → const int
signal message error
BRTC_ROOM_SET_EXTERNAL_SURFACE_ERROR → const int
BRTC_ROOM_SIGNAL_SENT_TIMEOUT_ERROR → const int
BRTC_ROOM_SO_LATER_DOWNLOADING_FAIL → const int
.so later downloading and loading error codes.
BRTC_ROOM_SO_LATER_LOADING_FAIL → const int
BRTC_ROOM_SUBSCRIBE_USER_STREAM_LEAVE → const int
BRTC_ROOM_USERID_ALREADY_EXIST_ERROR → const int
BRTC_STATE_ICE_CONNECTED → const int
ice connnected
BRTC_STATE_ICE_DISCONNECTED → const int
ice dis connnected
BRTC_STATE_PUBLISHER_STREAM_DOWN → const int
BRTC_STATE_SENDING_MEDIA_FAILED → const int
media 信令失败
BRTC_STATE_SENDING_MEDIA_OK → const int
media 信令
BRTC_STATE_STREAM_CLOSED → const int
退出房间,关闭stream
BRTC_STATE_STREAM_DOWN → const int
ice fail / hangup 信令
BRTC_STATE_STREAM_UP → const int
webrtcup 信令
BRTC_STATE_SUBSCRIBER_STREAM_DOWN → const int