VideoAudioTrack class
Represents an audio track in a video with its metadata.
- Annotations
Constructors
- VideoAudioTrack({required String id, required bool isSelected, String? label, String? language, int? bitrate, int? sampleRate, int? channelCount, String? codec})
-
Constructs an instance of VideoAudioTrack.
const
Properties
- bitrate → int?
-
Bitrate of the audio track in bits per second.
final
- channelCount → int?
-
Number of audio channels.
final
- codec → String?
-
Audio codec used (e.g., 'aac', 'mp3', 'ac3').
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
Unique identifier for the audio track.
final
- isSelected → bool
-
Whether this track is currently selected.
final
- label → String?
-
Human-readable label for the track.
final
- language → String?
-
Language code of the audio track (e.g., 'en', 'es', 'und').
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sampleRate → int?
-
Sample rate of the audio track in Hz.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override