SourceBuffer: audioTracks property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Note: This feature is available in Dedicated Web Workers.

The audioTracks read-only property of the SourceBuffer interface returns a list of the audio tracks currently contained inside the SourceBuffer.

Value

An AudioTrackList object.

Examples

TBD

Specifications

Specification
Media Source Extensions™
# dom-sourcebuffer-audiotracks

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
audioTracks
Available in workers
Experimental

See also