ZegoVideoSourceType enum
video capture source.
Constructors
- ZegoVideoSourceType()
-
const
Values
- None → const ZegoVideoSourceType
-
No capture, i.e. no video data.
- Camera → const ZegoVideoSourceType
-
The video source comes from the camera (main channel default, and front camera is captured by default). The default is front camera, which can be adjusted to rear via
useFrontCamera
. - Custom → const ZegoVideoSourceType
-
Video source from custom capture. The web platform does not currently support.
- MainPublishChannel → const ZegoVideoSourceType
-
Video source from the main publish channel. When publishing the main channel, this value cannot be set. The web platform does not currently support.
- Player → const ZegoVideoSourceType
-
Video source from media player. The web platform does not currently support.
- ScreenCapture → const ZegoVideoSourceType
-
Video source from screen capture.
- ZegoVideoSourceDefault → const ZegoVideoSourceType
-
Deprecated this video source type has been deprecated since version 3.2.0.
- ZegoVideoSourceNone → const ZegoVideoSourceType
-
Deprecated Same as Camera, that is, no capture, this video source type has been deprecated since version 3.2.0.
- ZegoVideoSourceCamera → const ZegoVideoSourceType
-
Deprecated Same as Camera, that is, video source from camera, this video source type has been deprecated since version 3.2.0.
- ZegoVideoSourceExternalCapture → const ZegoVideoSourceType
-
Deprecated Same as Custom, that is, video source from custom capture, this video source type has been deprecated since version 3.2.0.
- ZegoVideoSourceMainPublishChannel → const ZegoVideoSourceType
-
Deprecated Same as MainPublishChannel, that is, video source from the main publish channel, this video source type has been deprecated since version 3.2.0.
- ZegoVideoSourcePlayer → const ZegoVideoSourceType
-
Deprecated Same as Player, that is, video source from media player, this video source type has been deprecated since version 3.2.0.
- ZegoVideoSourceScreenCapture → const ZegoVideoSourceType
-
Deprecated Same as ScreenCapture, that is, video source from screen capture, this video source type has been deprecated since version 3.2.0.
- SecondaryCamera → const ZegoVideoSourceType
-
Video source from secondary camera, the rear camera when
useFrontCamera
is set to true, otherwise the front camera, only support iOS.
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<
ZegoVideoSourceType> - A constant List of the values in this enum, in order of their declaration.