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

Skip to content

Conversation

@davidzhao
Copy link
Member

closes #1037

while it's not totally clear why instance type check failed in this example. it seems like a good practice to us the JS SDK's isLocal check.

@changeset-bot
Copy link

changeset-bot bot commented Dec 14, 2024

🦋 Changeset detected

Latest commit: ef06382

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-core Patch
@livekit/components-react 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 14, 2024

size-limit report 📦

Path Size
LiveKitRoom only 6.05 KB (0%)
LiveKitRoom with VideoConference 29.85 KB (+0.11% 🔺)
All exports 36.57 KB (+0.13% 🔺)

Copy link
Contributor

@lukasIO lukasIO left a comment

Choose a reason for hiding this comment

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

oh, that's great!

the fact that instance of is failing does sound like an environment issue, where multiple versions of the livekit-client package are being used (e.g. cjs and esm). That's indicative of the dual package hazard.

@davidzhao
Copy link
Member Author

that makes sense.. I remember seeing this in React-land when overriding for local test.. it was confusing and I've never figured it out..

@davidzhao davidzhao merged commit ebe78fb into main Dec 14, 2024
3 checks passed
@davidzhao davidzhao deleted the common-islocal branch December 14, 2024 09:00
@github-actions github-actions bot mentioned this pull request Dec 14, 2024
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.

RoomAudioRenderer also rendered local track

3 participants