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
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
audioTracks
|
Chrome Full support 51 Full support 51 Disabled' From version 51: this feature is behind the |
Edge Full support 79 Full support 79 Disabled' From version 79: this feature is behind the |
Firefox
No support No |
IE Full support 11 Full support 11 Notes' Only works on Windows 8+. |
Opera Full support 38 Full support 38 Disabled' From version 38: this feature is behind the |
Safari
Full support 8 |
WebView Android
No support No |
Chrome Android Full support 51 Full support 51 Disabled' From version 51: this feature is behind the |
Firefox Android
No support No |
Opera Android Full support 41 Full support 41 Disabled' From version 41: this feature is behind the |
Safari iOS Partial support 13 Partial support 13 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
SourceBuffer.audioTracks by Mozilla Contributors is licensed under CC-BY-SA 2.5.