Skip to main content

VideoFacingMode

Namespace: Wisej.Web.Ext.Camera

Assembly: Wisej.Web.Ext.Camera (4.1.0.0)

The facingMode property is a value indicating the direction in which the camera producing the video track is currently facing.

public enum VideoFacingMode

For more information on camera facing modes, visit the facingMode.

Fields​

NameDescriptionValue
EnvironmentThe video source is facing away from the user, thereby viewing their environment. This is the back camera on a smartphone.
LeftThe video source is facing toward the user but to their left, such as a camera aimed toward the user but over their left shoulder.
RightThe video source is facing toward the user but to their right, such as a camera aimed toward the user but over their right shoulder.
UserThe video source is facing toward the user; this includes, for example, the front-facing camera on a smartphone.

Used By​

NameDescription
Camera.FacingModeGets or sets the direction the camera producing the video track is facing.

Possible values are:
• User — faces the user, e.g. the front camera on a smartphone.
• Environment — faces away from the user, e.g. the rear camera.
• Left — faces the user from their left.
• Right — faces the user from their right.