Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: turn off other tracks with native audio track
Audio Tracks are supposed to allow multiple tracks at the same time. Safari 15 has added, at least partial support for this. In #7163, we stopped turning other tracks of manually since we already were doing so in the AudioTrackList. However, this only worked for non-native AudioTracks. Before Safari 15, Safari automatically turned off the other tracks for us so things continued to work. With this change, when native audio tracks are used, we will turn off the other tracks, partially reverting #7163. We currently do not have any tests or are set up for writing tests for these proxy tracks. Adding such tests will take too long for not a lot of benefit, unfortunately. Fixes #7494.
- Loading branch information