Skip to content

Harden extension computation and retry publishing on negotiation failure#1895

Merged
lukasIO merged 9 commits intomainfrom
lukas/extension-fix
Apr 21, 2026
Merged

Harden extension computation and retry publishing on negotiation failure#1895
lukasIO merged 9 commits intomainfrom
lukas/extension-fix

Conversation

@lukasIO
Copy link
Copy Markdown
Contributor

@lukasIO lukasIO commented Apr 17, 2026

No description provided.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 17, 2026

🦋 Changeset detected

Latest commit: 8226d99

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 17, 2026

size-limit report 📦

Path Size
dist/livekit-client.esm.mjs 96.5 KB (0%)
dist/livekit-client.umd.js 105.47 KB (0%)

@lukasIO lukasIO requested review from 1egoman, boks1971 and xianshijing-lk and removed request for 1egoman and boks1971 April 17, 2026 15:21
Comment thread src/room/PCTransport.ts
if (this.ddExtID === 0) {
let maxID = 0;
sdp.media.forEach((m) => {
if (m.type !== 'video') {
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.

this is supposed to ensure that we're not reusing any extension ids (be it audio or video)

Copy link
Copy Markdown
Contributor

@boks1971 boks1971 left a comment

Choose a reason for hiding this comment

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

lgtm, but would be good to get another set of 👀 as I do not understand all the nuances of paths invoved.

@lukasIO lukasIO changed the title Harden extension computation and retry publishing on chrome rtp exten… Harden extension computation and retry publishing on negotiation failure Apr 21, 2026
@lukasIO
Copy link
Copy Markdown
Contributor Author

lukasIO commented Apr 21, 2026

going to merge this for now.

@1egoman if you get a chance, I'd appreciate your 👀 on it still

@lukasIO lukasIO merged commit 671d7a4 into main Apr 21, 2026
6 checks passed
@lukasIO lukasIO deleted the lukas/extension-fix branch April 21, 2026 09:00
Copy link
Copy Markdown
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.

@lukasIO Like raja I am not exactly sure I fully understand all the pieces in play here but nothing looks incredibly concerning to me.

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.

3 participants