Add Safari speaker selection support
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
isSafariSpeakerSelectionSupportedhelper 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
⚠️ 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