DashAudioSource class

An AudioSource representing a DASH stream. The following URI schemes are supported:

  • file: loads from a local file (provided you give your app permission to access that file).
  • asset: loads from a Flutter asset (not supported on Web).
  • http(s): loads from an HTTP(S) resource.

On platforms except for the web, the supplied headers will be passed with the HTTP(S) request. Currently headers are not recursively applied to items the HTTP(S) request. Currently headers are not applied recursively.

If headers are set, just_audio will create a cleartext local HTTP proxy on your device to forward HTTP requests with headers included.

Inheritance

Constructors

DashAudioSource(Uri uri, {Map<String, String>? headers, dynamic tag, Duration? duration})

Properties

duration Duration?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequence List<IndexedAudioSource>
no setterinherited
shuffleIndices List<int>
no setterinherited
tag → dynamic
finalinherited
uri Uri
finalinherited

Methods

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