Skip to content

Commit

Permalink
Don't use AudioTrack API on Tizen 8+
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrylyzo committed Nov 27, 2024
1 parent 92e8821 commit a91e448
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/browserDeviceProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,8 @@ export function canPlaySecondaryAudio(videoTestElement) {
// It doesn't work in Firefox 108 even with "media.track.enabled" enabled (it only sees the first audio track)
&& !browser.firefox
// It seems to work on Tizen 5.5+ (2020, Chrome 69+). See https://developer.tizen.org/forums/web-application-development/video-tag-not-work-audiotracks
&& (browser.tizenVersion >= 5.5 || !browser.tizen)
// There are reports that additional audio track (AudioTrack API) doesn't work on Tizen 8.
&& (browser.tizenVersion >= 5.5 && browser.tizenVersion < 8 || !browser.tizen)
&& (browser.web0sVersion >= 4.0 || !browser.web0sVersion);
}

Expand Down

0 comments on commit a91e448

Please sign in to comment.