A target's video encoder: frames in, a file or a stream out.
Properties
- capabilities → DVFrameEncoderCapabilities
-
no setter
-
failures
→ Stream<
String> -
Why the encoder stopped on its own: a full disk, a stream the server
dropped.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
push(
DVVideoFrame frame) → void -
The next frame, exactly
widthbyheight. Timestamped on arrival. -
start(
DVFrameEncoderTarget target, {required int width, required int height, required int fps, required bool audio}) → Future< void> -
Starts encoding
widthbyheightframes atfpsintotarget. -
stop(
) → Future< Duration> - Finishes the file or ends the stream; the length recorded.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited