client-sdk-js icon indicating copy to clipboard operation
client-sdk-js copied to clipboard

Add Safari speaker selection support

Open fkwp opened this issue 4 months ago • 2 comments

With the next iteration of Apple OSes the Speaker Selection API is supported (https://developer.apple.com/documentation/safari-release-notes/safari-26-release-notes#WebRTC)

This PR adds support for it by:

  • adding a isSafariSpeakerSelectionSupported helper function
  • using that helper function in supportsSetSinkId

fixes https://github.com/livekit/client-sdk-js/issues/1568 at least for macOS. In contrast to https://webrtc.github.io/samples/src/content/devices/input-output/ this PR does not (yet) fix the issue on iOS26

fkwp avatar Aug 27 '25 11:08 fkwp

⚠️ No Changeset found

Latest commit: cba9b74b320a877b40c91fc8facecd7287500a0d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Aug 27 '25 11:08 changeset-bot[bot]

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 27 '25 11:08 CLAassistant