SourceBuffer.audioTracks

This is an experimental technology
Check 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 Extensions
The definition of 'audioTracks' in that specification.
Recommendation Initial definition.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
audioTracksChrome Full support 23Edge Full support 12Firefox No support NoIE Full support 11
Notes
Full support 11
Notes
Notes Only works on Windows 8+.
Opera Full support 15Safari Full support 8WebView Android Full support 4.4.3Chrome Android Full support 33Firefox Android No support NoOpera Android Full support 14Safari iOS No support NoSamsung Internet Android Full support 3.0

Legend

Full support  
Full support
No support  
No support
See implementation notes.
See implementation notes.

See also