RtcVideoStreamManager class
The RtcVideoStreamManager class.
- Mixed in types
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.
override
-
destroyVideoStream(
int streamId) → Future< ResultCode> -
Destroy a video stream.
override
-
getCaptureDevice(
int streamId) → Future< String?> -
Get capture device of the stream.
override
-
muteVideo(
int streamId) → Future< ResultCode> -
Pause video stream.
override
-
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.
override
-
setEventHandler(
VideoStreamEventHandler handler) → void - Sets the video stream manager event handler.
-
snapshotVideo(
String userId, int streamId, String outputDir, {RtcSnapshotVideoOption? option}) → Future< ResultCode> -
Capture specific user's video stream content
override
-
startVideo(
int streamId, RtcSurfaceViewModel viewModel, {RtcVideoConfig? config}) → Future< ResultCode> -
start video stream with render window
override
-
stopVideo(
int streamId) → Future< ResultCode> -
Stop video stream
override
-
subscribeVideo(
String userId, int streamId, RtcSurfaceViewModel viewModel, {RtcVideoConfig? config}) → Future< ResultCode> -
Subscribe to a user's video stream with render window.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
unmuteVideo(
int streamId) → Future< ResultCode> -
Resume video stream.
override
-
unsubscribeVideo(
String userId, int streamId) → Future< ResultCode> -
Unsubscribe to a user's video stream.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited