ByteRTCLocalVideoStreamState enum
Values
- ByteRTCLocalVideoStreamStateStopped → const ByteRTCLocalVideoStreamState
-
@brief Local video default initial state
Callback the state when the camera stops working, corresponding to the error code ByteRTCLocalVideoStreamError{@link #ByteRTCLocalVideoStreamError} ByteRTCLocalVideoStreamErrorOk - ByteRTCLocalVideoStreamStateRecording → const ByteRTCLocalVideoStreamState
-
@brief The local video recording device starts successfully
Callback the state when the first frame of the video is collected, corresponding to the error code ByteRTCLocalVideoStreamError{@link #ByteRTCLocalVideoStreamError} ByteRTCLocalVideoStreamErrorOk - ByteRTCLocalVideoStreamStateEncoding → const ByteRTCLocalVideoStreamState
-
@brief Local video first frame encoding success
Local video first frame encoding success callback to the state, corresponding to the error code ByteRTCLocalVideoStreamError{@link #ByteRTCLocalVideoStreamError} in ByteRTCLocalVideoStreamErrorOk - ByteRTCLocalVideoStreamStateFailed → const ByteRTCLocalVideoStreamState
-
@brief Local video startup failed, the status is called back at the following times:
- The local acquisition device failed to start, corresponding to the error code ByteRTCLocalVideoStreamError{@link #ByteRTCLocalVideoStreamError} ByteRTCLocalVideoStreamErrorCaptureFailure - No camera permission was detected, corresponding to the error code ByteRTCLocalVideoStreamError{@link #ByteRTCLocalVideoStreamError} ByteRTCLocalVideoStreamErrorDeviceNoPermission - The video encoding failed, corresponding to the error code ByteRTCLocalVideoStreamError{@link #ByteRTCLocalVideoStreamError} in ByteRTCLocalVideoStreamErrorEncodeFailure
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<
ByteRTCLocalVideoStreamState> - A constant List of the values in this enum, in order of their declaration.