Skip to content

Commit

Permalink
web: Update TODO note for unmuteAudioContext
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhjacobs committed Dec 1, 2024
1 parent 16ba548 commit 2eb5ff3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/packages/core/src/internal/player/inner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1628,6 +1628,7 @@ export class InnerPlayer {
}

// TODO: Use `navigator.userAgentData` to detect the platform when support improves?
// Edit (danielhjacobs): Probably not an option since it's only available in secure contexts
if (navigator.maxTouchPoints < 1) {
isAudioContextUnmuted = true;
return;
Expand Down

0 comments on commit 2eb5ff3

Please sign in to comment.