ZegoVideoSourceType enum

video capture source.

Inheritance
  • Object
  • Enum
  • ZegoVideoSourceType

Constructors

ZegoVideoSourceType()
const

Values

None → const ZegoVideoSourceType

No capture, i.e. no video data.

Camera → const ZegoVideoSourceType

Video source from camera.

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.

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
index → int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

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.
[None, Camera, Custom, MainPublishChannel, Player, ScreenCapture, ZegoVideoSourceDefault, ZegoVideoSourceNone, ZegoVideoSourceCamera, ZegoVideoSourceExternalCapture, ZegoVideoSourceMainPublishChannel,…