HlsAudioSourcePlayer class

A player for a HlsAudioSourceMessage.

Inheritance

Constructors

HlsAudioSourcePlayer(Html5AudioPlayer html5AudioPlayer, String id, Uri uri, Map<String, String>? headers)

Properties

bufferedPosition Duration
The current buffered position.
no setterinherited
duration Duration?
The duration of the underlying audio source.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
The headers to include in the request (unsupported).
finalinherited
html5AudioPlayer Html5AudioPlayer
The Html5AudioPlayer responsible for audio I/O.
getter/setter pairinherited
id String
The ID of the underlying audio source.
finalinherited
position Duration
The current playback position.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequence List<IndexedAudioSourcePlayer>
The sequence of players for the indexed items nested in this player.
no setterinherited
shuffleIndices List<int>
The order to use over sequence when in shuffle mode.
no setterinherited
uri Uri
The URL to play.
finalinherited

Methods

complete() Future<void>
Called when playback reaches the end of the underlying audio source.
inherited
load([int? initialPosition]) Future<Duration?>
Loads the audio for the underlying audio source.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() Future<void>
Pauses playback of the underlying audio source.
inherited
play() Future<void>
Plays the underlying audio source.
inherited
seek(int position) Future<void>
Seeks to position milliseconds.
inherited
timeUpdated(double seconds) Future<void>
Called when the playback position of the underlying HTML5 player changes.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited