Web/API/SourceBuffer/audioTracks

From Get docs

This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.


Draft This page is not complete.


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

Syntax

var myAudioTracks = sourceBuffer.audioTracks;

Value

An AudioTrackList object.

Example

TBD

Specifications

Specification Status Comment
Media Source ExtensionsThe definition of 'audioTracks' in that specification. Recommendation Initial definition.

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
audioTracks

Chrome Full support 51

Disabled'

Full support 51

Disabled'

Disabled' From version 51: this feature is behind the enable-experimental-web-platform-features preference (needs to be set to enabled). To change preferences in Chrome, visit chrome://flags.

Edge Full support 79

Disabled'

Full support 79

Disabled'

Disabled' From version 79: this feature is behind the enable-experimental-web-platform-features preference (needs to be set to enabled). No support 12 — 79


Firefox

No support No

IE Full support 11

Notes'

Full support 11

Notes'

Notes' Only works on Windows 8+.

Opera Full support 38

Disabled'

Full support 38

Disabled'

Disabled' From version 38: this feature is behind the enable-experimental-web-platform-features preference (needs to be set to enabled).

Safari

Full support 8

WebView Android

No support No

Chrome Android Full support 51

Disabled'

Full support 51

Disabled'

Disabled' From version 51: this feature is behind the enable-experimental-web-platform-features preference (needs to be set to enabled). To change preferences in Chrome, visit chrome://flags.

Firefox Android

No support No

Opera Android Full support 41

Disabled'

Full support 41

Disabled'

Disabled' From version 41: this feature is behind the enable-experimental-web-platform-features preference (needs to be set to enabled).

Safari iOS Partial support 13

Notes'

Partial support 13

Notes'

Notes' Exposed in Mobile Safari on iPad but not on iPhone.

Samsung Internet Android

No support No

Legend

Full support  
Full support
Partial support  
Partial support
No support  
No support
See implementation notes.'
See implementation notes.
User must explicitly enable this feature.'
User must explicitly enable this feature.


See also