Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix svc mode for chrome v113, change default svc mode to L3T3_KEY #720

Merged
merged 3 commits into from
May 30, 2023

Conversation

cnderrauber
Copy link
Contributor

@cnderrauber cnderrauber commented May 29, 2023

Fix svc mode for chrome v113.
Change default svc mode to L3T3_KEY as same as google meet. It reduces ~30% CPU load when encoding 720p videos.
Add closable spatial layer for svc dynacast but disable it now for two blur/frozen issues
with current server/client:

  1. chrome 113: when switching to up layer with scalability Mode change, it will generate a
    low resolution frame and recover very quickly, but noticable
  2. livekit sfu: additional pli request cause video frozen for a few frames, also noticable

Fix svc mode for chrome v113.
Add closable spatial layer for svc dynacast but disable it as two
blur/frozen issues
with current server/client:
          1. chrome 113: when switching to up layer with scalability Mode change, it will generate a
          low resolution frame and recover very quickly, but noticable
          2. livekit sfu: additional pli request cause video frozen for a few frames, also noticable
@cnderrauber cnderrauber requested review from davidzhao and lukasIO May 29, 2023 03:24
@changeset-bot
Copy link

changeset-bot bot commented May 29, 2023

🦋 Changeset detected

Latest commit: 901315e

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

This PR includes changesets to release 1 package
Name Type
livekit-client 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

@github-actions
Copy link
Contributor

github-actions bot commented May 29, 2023

size-limit report 📦

Path Size
dist/livekit-client.esm.mjs 82.71 KB (+0.37% 🔺)
dist/livekit-client.umd.js 85.81 KB (+0.4% 🔺)

}
case 'L3T3_KEY':
encodings.push({
rid: videoRids[2],
Copy link
Member

Choose a reason for hiding this comment

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

what if there are only two layers specified ? and does it retain compatibility with Chrome < 113?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We only provide 3 layers in the publish options now. And for Chrome version < 113, I had not tested it yet but am afraid that it is broken in the early version as the API change.

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