Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@cnderrauber
Copy link
Contributor

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Mar 28, 2025

🦋 Changeset detected

Latest commit: 4db049b

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

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enables dynamic scalability modes for svc dynacast by removing the legacy closable spatial layer workaround and adjusting encoding handling, including max bitrate computation.

  • Removed commented-out logic and variable "closableSpatial" from the encoding selection process.
  • Un-commented and streamlined the use of ScalabilityMode for dynamic settings.
  • Added bitrate recalculation logic based on sender encoding properties.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/room/track/LocalVideoTrack.ts Updated encoding handling by removing legacy closable spatial logic and adjusting ScalabilityMode usage, including bitrate recalculations.
.changeset/cyan-pots-warn.md Introduced a changeset note indicating a patch update related to closable spatial layers for svc encoding.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 28, 2025

size-limit report 📦

Path Size
dist/livekit-client.esm.mjs 90.85 KB (+0.21% 🔺)
dist/livekit-client.umd.js 98.53 KB (+0.19% 🔺)

@cnderrauber cnderrauber merged commit cf91919 into main Mar 31, 2025
6 checks passed
@cnderrauber cnderrauber deleted the svc_dynacast branch March 31, 2025 10:27
@github-actions github-actions bot mentioned this pull request Mar 31, 2025
svajunas-budrys pushed a commit to svajunas-budrys/client-sdk-js that referenced this pull request Jun 17, 2025
cnderrauber added a commit that referenced this pull request Jun 19, 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.

3 participants