VideoStreamEventHandler class
Callback of VideoStreamManager, the callback must be set to stream manager to get events notification.
VideoStreamManager 的回调函数, 在使用 VideoStreamManager 之前必须要设置回调以获取事件通知。
Constructors
- VideoStreamEventHandler.new({OnUserVideoStreamStart? onUserVideoStreamStart, UserStreamCallback? onUserVideoStreamStop, OnUserVideoStreamSubscribe? onUserVideoStreamSubscribe, UserStreamCallback? onUserVideoMute, UserStreamCallback? onUserVideoUnmute, UserStreamCallback? onFirstVideoDataReceived, UserStreamCallback? onFirstVideoFrameRendered, OnVideoStreamSnapshotCompleted? onVideoStreamSnapshotCompleted, OnVideoStreamCaptureStateChanged? onVideoCaptureStateChanged})
- Constructs a VideoStreamEventHandler
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onFirstVideoDataReceived ↔ UserStreamCallback?
-
Notification of first video packet arrived
getter/setter pair
- onFirstVideoFrameRendered ↔ UserStreamCallback?
-
Notification of first video frame will be rendered.
getter/setter pair
- onUserVideoMute ↔ UserStreamCallback?
-
Notification of attendee mute video stream
getter/setter pair
- onUserVideoStreamStart ↔ OnUserVideoStreamStart?
-
Notification of attendee start video stream
getter/setter pair
- onUserVideoStreamStop ↔ UserStreamCallback?
-
Notification of attendee stop video stream
getter/setter pair
- onUserVideoStreamSubscribe ↔ OnUserVideoStreamSubscribe?
-
Notification of result to subscribe user video stream
getter/setter pair
- onUserVideoUnmute ↔ UserStreamCallback?
-
Notification of attendee unmute video stream
getter/setter pair
- onVideoCaptureStateChanged ↔ OnVideoStreamCaptureStateChanged?
-
Notification of user's video snapshot completed
getter/setter pair
- onVideoStreamSnapshotCompleted ↔ OnVideoStreamSnapshotCompleted?
-
Notification of first video frame will be rendered.
getter/setter pair
- 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