RemoteVideoState enum
{zh} * @detail keytype @brief 远端视频流状态。
Values
- stopped → const RemoteVideoState
-
@brief The default initial state of the remote video stream
The state is called back at the following time:
- Local users stop receiving the remote video stream, corresponding to the error code RemoteVideoStateChangeReason{@link #RemoteVideoStateChangeReason} REMOTE_VIDEO_STATE_CHANGE_REASON_LOCAL_MUTED. - The remote user stops sending the video stream, corresponding to the REMOTE_VIDEO_STATE_CHANGE_REASON_REMOTE_MUTED in the error code RemoteVideoStateChangeReason{@link #RemoteVideoStateChangeReason}. - The remote user leaves the room, corresponding to the REMOTE_VIDEO_STATE_CHANGE_REASON_REMOTE_OFFLINE in the error code RemoteVideoStateChangeReason{@link #RemoteVideoStateChangeReason}. - starting → const RemoteVideoState
-
@brief Local users have received the remote video header packet
Callback this state when the remote video header packet is received, corresponding to the REMOTE_VIDEO_STATE_CHANGE_REASON_LOCAL_UNMUTED in the error code RemoteVideoStateChangeReason{@link #RemoteVideoStateChangeReason}. - decoding → const RemoteVideoState
-
@brief The remote video stream is decoding, normal playback
Callback this state at the following time:
- Successfully decoded the remote video first frame, corresponding to the error code RemoteVideoStateChangeReason{@link #RemoteVideoStateChangeReason} REMOTE_VIDEO_STATE_CHANGE_REASON_LOCAL_UNMUTED. - The network returned to normal from blocking, corresponding to the REMOTE_VIDEO_STATE_CHANGE_REASON_NETWORK_RECOVERY in the error code RemoteVideoStateChangeReason{@link #RemoteVideoStateChangeReason}. - Local users resume receiving remote video streams, corresponding to the REMOTE_VIDEO_STATE_CHANGE_REASON_LOCAL_UNMUTED in the error code RemoteVideoStateChangeReason{@link #RemoteVideoStateChangeReason}. - The remote user resumes sending the video stream, corresponding to the REMOTE_VIDEO_STATE_CHANGE_REASON_NETWORK_CONGESTION in the error code RemoteVideoStateChangeReason{@link #RemoteVideoStateChangeReason}. - frozen → const RemoteVideoState
-
@brief The remote video streaming card
Callback this state when the network is blocked and the packet loss rate is greater than 40%, corresponding to the REMOTE_VIDEO_REASON_NETWORK_CONGESTION in the error code RemoteVideoStateChangeReason{@link #RemoteVideoStateChangeReason}. - failed → const RemoteVideoState
-
@hidden currently not available @brief The remote video stream failed to play @note If the internal processing of the remote video stream fails, the method will be called back, corresponding to the error code RemoteVideoStateChangeReason{@link #RemoteVideoStateChangeReason} REMOTE_VIDEO_REASON_INTERNAL.
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<
RemoteVideoState> - A constant List of the values in this enum, in order of their declaration.