OpusEncoder class abstract
Abstract base class for opus encoders.
- Implementers
Constructors
Properties
- application → Application
-
The kind of application for which this encoders output is used.
Setting the right application type can increase quality of the encoded frames.
no setter
- channels → int
-
Number of channels, must be 1 for mono or 2 for stereo.
no setter
- destroyed → bool
-
Wheter this encoder was already destroyed by calling destroy.
If so, calling any method will result in an OpusDestroyedError.
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
- sampleRate → int
-
The sample rate in Hz for this encoder.
Opus supports sample rates from 8kHz to 48kHz so this value must be between 8000 and 48000.
no setter
Methods
-
destroy(
) → void - Destroys this encoder by releasing all native resources. After this, it is no longer possible to encode using this encoder, so any further method call will throw an OpusDestroyedError.
-
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