LocalVideoStreamState enum
Local video stream status and corresponding error code in LocalVideoStreamError.
Values
- stopped → const LocalVideoStreamState
-
Local video default initial state.
The corresponding error code is
ok
. - recording → const LocalVideoStreamState
-
The local video recording device starts successfully.
The corresponding error code is
ok
. - encoding → const LocalVideoStreamState
-
The first frame is encoded successfully.
The corresponding error code is
ok
. - failed → const LocalVideoStreamState
-
Local video startup failed, the status is called back at the following times:
- The local acquisition device failed to start, the corresponding error code is
failure
. - No camera permission was detected, the corresponding error code is
deviceNoPermission
. - Video encoding failed, the corresponding error code is
encodeFailure
.
- The local acquisition device failed to start, the corresponding error code is
Properties
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
-
values
→ const List<
LocalVideoStreamState> - A constant List of the values in this enum, in order of their declaration.