LocalVideoStreamState enum
Values
- LOCAL_VIDEO_STREAM_STATE_STOPPED → const LocalVideoStreamState
-
@brief Local video capture stop state (default initial state)
Callback this state when local video capture is closed, corresponding to the error code "LOCAL_VIDEO_STREAM_ERROR_OK" in LocalVideoStreamError{@link #LocalVideoStreamError} - LOCAL_VIDEO_STREAM_STATE_RECORDING → const LocalVideoStreamState
-
@brief Local video capture device starts successfully
Callback this state when local video capture is started, corresponding to the error code 'LOCAL_VIDEO_STREAM_ERROR_OK 'in LocalVideoStreamError{@link #LocalVideoStreamError} - LOCAL_VIDEO_STREAM_STATE_ENCODING → const LocalVideoStreamState
-
@brief After local video capture, the first frame encoding is successful
When the first frame encoding of the local video is successful, the state will be called back, corresponding to the error code "LOCAL_VIDEO_STREAM_ERROR_OK" in LocalVideoStreamError{@link #LocalVideoStreamError} - LOCAL_VIDEO_STREAM_STATE_FAILED → const LocalVideoStreamState
-
@brief Local video startup failed
- Local video capture device failed to start, corresponding to the error code "LOCAL_VIDEO_STREAM_ERROR_FAILURE" - No video capture device permission was detected in LocalVideoStreamError{@link #LocalVideoStreamError}, corresponding to the error code "LOCAL_VIDEO_STREAM_ERROR_DEVICE_NO_PERMISSION" - Video encoding failed, corresponding to the error code "LOCAL_VIDEO_STREAM_ERROR_ENCODE_FAILURE in LocalVideoStreamError{@link #LocalVideoStreamError} '
Properties
- $value → dynamic
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
-
values
→ const List<
LocalVideoStreamState> - A constant List of the values in this enum, in order of their declaration.