AudioTrack.sourceBuffer

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 Extensions
The definition of 'AudioTrack: sourceBuffer' in that specification.
Recommendation  

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
sourceBufferChrome ? Edge Full support 12Firefox ? IE ? Opera ? Safari Full support YesWebView Android ? Chrome Android ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

Document Tags and Contributors

Contributors to this page: mdnwebdocs-bot, sideshowbarker
Last updated by: mdnwebdocs-bot,