Skip to content

Ensure priority isn't set on all simulcast layers when using Firefox on iOS#1920

Merged
lukasIO merged 4 commits intomainfrom
lukas/priority-ios
Apr 27, 2026
Merged

Ensure priority isn't set on all simulcast layers when using Firefox on iOS#1920
lukasIO merged 4 commits intomainfrom
lukas/priority-ios

Conversation

@lukasIO
Copy link
Copy Markdown
Contributor

@lukasIO lukasIO commented Apr 27, 2026

Priority can be set on all layers only when using Firefox.
On iOS the underlying browser engine is still Webkit so we need to guard against wrongly treating it as Firefox.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 27, 2026

🦋 Changeset detected

Latest commit: dc20e08

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

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 a review from a team April 27, 2026 07:41
@github-actions
Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
dist/livekit-client.esm.mjs 96.92 KB (-0.01% 🔽)
dist/livekit-client.umd.js 105.84 KB (-0.05% 🔽)

import {
compareVersions,
getReactNativeOs,
isFireFox,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Just a followup, but do we need to treat Firefox on iOS differently in general? I mean in these other cases:
https://github.com/search?q=repo%3Alivekit%2Fclient-sdk-js%20isFireFox&type=code

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

that's a good point. The other instances are more about "preventing an advanced feature for FF" which won't result in an actual issue, but certainly isn't the greatest experience.

Worth investigating whether isFirefox should only ever return true on non-iOS versions.

Copy link
Copy Markdown

@MaxHeimbrock MaxHeimbrock left a comment

Choose a reason for hiding this comment

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

LGTM

@lukasIO lukasIO merged commit ce6ce79 into main Apr 27, 2026
6 checks passed
@lukasIO lukasIO deleted the lukas/priority-ios branch April 27, 2026 08:12
@github-actions github-actions Bot mentioned this pull request Apr 27, 2026
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