Skip to content

Conversation

@lukasIO
Copy link
Contributor

@lukasIO lukasIO commented Jul 17, 2025

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Jul 17, 2025

🦋 Changeset detected

Latest commit: c6bbee3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@livekit/components-core Patch
@livekit/components-react Patch
@livekit/component-example-next Patch
@livekit/components-js-docs Patch
@livekit/component-docs-storybook Patch
@livekit/components-docs-gen Patch

Not sure what this means? Click here to learn what changesets are.

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

@lukasIO lukasIO requested review from 1egoman and davidzhao July 17, 2025 12:48
@github-actions
Copy link
Contributor

github-actions bot commented Jul 17, 2025

size-limit report 📦

Path Size
LiveKitRoom only 6 KB (0%)
LiveKitRoom with VideoConference 30.59 KB (+0.26% 🔺)
All exports 38.14 KB (+0.28% 🔺)

Copy link
Contributor

@1egoman 1egoman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me - the comment I left is optional if that suggestion makes sense!

Comment on lines +39 to +43
const browser = getBrowser();
if (kind === 'audiooutput' && (browser?.name === 'Safari' || browser?.os === 'iOS')) {
log.warn(`Switching audio output device is not supported on Safari and iOS.`);
return;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the kind of thing it's worth throwing an error for because it should never happen?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, if we were to throw an error here we would have to integrate some way to automatically detect feature support also in the MediaDeviceSelect component.

I'm still not sure how to tackle this particular situation in the long term. We probably eventually want to support iOS, just that right now it's tricky to get the correct user-initiated permission for it to happen consistently.

I'll leave this as is for now

@lukasIO lukasIO merged commit 6f02e9f into main Jul 24, 2025
6 checks passed
@lukasIO lukasIO deleted the lukas/prevent-audio-output-safari branch July 24, 2025 15:20
@github-actions github-actions bot mentioned this pull request Jul 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants