CaptureOutput class

The abstract superclass for objects that output the media recorded in a capture session.

CaptureOutput provides an abstract interface for connecting capture output destinations, such as files and video previews, to a capture session (an instance of CaptureSession). A capture output can have multiple connections represented by CaptureConnection objects, one for each stream of media that it receives from an CaptureInput. A capture output does not have any connections when it is first created. When you add an output to a capture session, the capture session creates connects that map media data from that session’s inputs to its outputs.

You can add concrete CaptureOutput instances to a capture session using CaptureSession.addOutput.

Annotations
  • @Reference('av_foundation/av_foundation/CaptureOutput')

Constructors

CaptureOutput()
Construct a CaptureOutput.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connectionWithMediaType(String mediaType) Future<CaptureConnection?>
Returns the first connection in the connections array with an input port of a specified media type.
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