RtcVideoStreamInterface mixin
The video stream interface
- Mixin applications
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
-
createVideoStream(
String deviceId) → Future< int?> - Create a new video stream.
-
destroyVideoStream(
int streamId) → Future< ResultCode> - Destroy a video stream.
-
getCaptureDevice(
int streamId) → Future< String?> - Get capture device of the stream.
-
muteVideo(
int streamId) → Future< ResultCode> - Pause video stream.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCaptureDevice(
int streamId, String deviceId) → Future< ResultCode> - Set capture device for video stream.
-
snapshotVideo(
String userId, int streamId, String outputDir, {RtcSnapshotVideoOption? option}) → Future< ResultCode> - Capture specific user's video stream content
-
startVideo(
int streamId, RtcSurfaceViewModel viewModel, {RtcVideoConfig? config}) → Future< ResultCode> - start video stream with render window
-
stopVideo(
int streamId) → Future< ResultCode> - Stop video stream
-
subscribeVideo(
String userId, int streamId, RtcSurfaceViewModel viewModel, {RtcVideoConfig? config}) → Future< ResultCode> - Subscribe to a user's video stream with render window.
-
toString(
) → String -
A string representation of this object.
inherited
-
unmuteVideo(
int streamId) → Future< ResultCode> - Resume video stream.
-
unsubscribeVideo(
String userId, int streamId) → Future< ResultCode> - Unsubscribe to a user's video stream.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited