Mp2Settings class
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value MP2.
Constructors
- Mp2Settings({int? bitrate, int? channels, int? sampleRate})
-
Mp2Settings.fromJson(Map<
String, dynamic> json) -
factory
Properties
- bitrate → int?
-
Specify the average bitrate in bits per second.
final
- channels → int?
-
Set Channels to specify the number of channels in this output audio track.
Choosing Mono in the console will give you 1 output channel; choosing Stereo
will give you 2. In the API, valid values are 1 and 2.
final
- 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?
-
Sample rate in hz.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited