Web/API/AudioTrack/sourceBuffer

From Get docs


The read-only AudioTrack property sourceBuffer returns the SourceBuffer that created the track, or null if the track was not created by a SourceBuffer or the SourceBuffer has been removed from the MediaSource.sourceBuffers attribute of its parent media source.

Syntax

var sourceBuffer = AudioTrack.sourceBuffer;

Value

A SourceBuffer or null.

Specifications

Specification Status Comment
Media Source ExtensionsThe definition of 'AudioTrack: sourceBuffer' in that specification. Recommendation  

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
sourceBuffer

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

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 6.1

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

Full support 7

Samsung Internet Android

No support No

Legend

Full support  
Full support
No support  
No support
User must explicitly enable this feature.'
User must explicitly enable this feature.