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

This page is not complete.

The byteStreamTrackID read-only property of the TrackDefault interface returns the ID of the specific track that the SourceBuffer should apply to.

If not specified in the constructor, this value will be an empty string and the SourceBuffer can contain any tracks of the specified TrackDefault.type.


var myID = TrackDefault.byteStreamTrackID;


A DOMString.




Specification Status Comment
Media Source Extensions
The definition of 'byteStreamTrackID' in that specification.
Recommendation Initial definition.

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic support
Chrome ? Edge Full support YesFirefox No support NoIE ? Opera ? Safari ? WebView Android ? Chrome Android ? Edge Mobile Full support YesFirefox Android No support NoOpera Android ? Safari iOS No support NoSamsung Internet Android ?


Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.
Non-standard. Expect poor cross-browser support.
Non-standard. Expect poor cross-browser support.

See also

Document Tags and Contributors

Contributors to this page: fscholz, chrisdavidmills
Last updated by: fscholz,