MediaHostApi class

Whole-file work (sound and joining), on its own serial background queue.

Constructors

MediaHostApi({BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''})
Constructor for MediaHostApi. The binaryMessenger named argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.

Properties

hashCode → int
The hash code for this object.
no setterinherited
pigeonVar_binaryMessenger → BinaryMessenger?
final
pigeonVar_messageChannelSuffix → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

concat(List<String> inputs, String output) → Future<void>
Join MP4s of the same format one after another, without re-encoding.
decodeAudio(String path) → Future<PcmAudioMessage?>
The first audio track of a file as PCM at its own rate and channels, or null when it has none.
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

pigeonChannelCodec → const MessageCodec<Object?>