CameraPreviewOutput
interface CameraPreviewOutput extends CameraOutputRepresents the CameraOutput for preview.
The CameraPreviewOutput needs to be connected
to the CameraSession as an output, as well
as to a PreviewView as a target.
Properties
mediaType
readonly mediaType: MediaTypeThe media type of the content being streamed
by this CameraOutput.
Inherited from
outputOrientation
outputOrientation: OrientationGets or sets the output orientation of this CameraOutput.
Individual implementations of CameraOutput
may choose different strategies for implementing
output orientation, for example:
- A Photo output might apply orientation via EXIF flags.
- A Video output might apply orientation via track transform metadata.
- A Preview output might apply orientation via view transforms.
- A Frame output might not apply orientation and only pass it as a
property via the
Frameobject, unless explicitly configured to physically rotate buffers.
Inherited from
CameraOutput.outputOrientation
outputType
readonly outputType: CameraOutputTypeThe type of the CameraOutput.