Skip to content

Conversation

@1egoman
Copy link
Contributor

@1egoman 1egoman commented Dec 17, 2025

If the local user is currently sharing their screen, useSession().local.screenShareTrack is now set to the corresponding track.

I don't think there's a common use case for an agent to share a screen, but if there is a situation where that could happen, I can also port this to useAgent() as well if desired.

@changeset-bot
Copy link

changeset-bot bot commented Dec 17, 2025

🦋 Changeset detected

Latest commit: e91b4b8

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-react Patch
@agents-ui 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

@github-actions
Copy link
Contributor

github-actions bot commented Dec 17, 2025

size-limit report 📦

Path Size
LiveKitRoom only 6 KB (0%)
LiveKitRoom with VideoConference 32.46 KB (0%)
All exports 43.39 KB (+0.22% 🔺)

@1egoman 1egoman merged commit 6912c0e into main Dec 17, 2025
6 checks passed
@1egoman 1egoman deleted the add-screen-share-track branch December 17, 2025 07:14
@github-actions github-actions bot mentioned this pull request Dec 17, 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.

4 participants