livekit / components-js

Official open source React components and examples for building with LiveKit.
https://livekit.io
Apache License 2.0
149 stars 64 forks source link

Improve track acquiring and handling in usePreviewTracks #830

Closed lukasIO closed 4 months ago

lukasIO commented 4 months ago

This PR tries to mitigate NotReadableErrors by making sure we only ever perform one createLocalTracks request at a time. Users reported seeing errors on Windows when trying to acquire specific cameras, so this is an attempt to fix that.

depends on https://github.com/livekit/client-sdk-js/pull/1110 being released

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: f0ebc4b67e39c6a239efbac78fdf0c433b34e568

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 | Minor | | @livekit/components-core | Minor | | @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[bot] commented 4 months ago

size-limit report 📦

Path Size
LiveKitRoom only 1.87 KB (0%)
LiveKitRoom with VideoConference 28.08 KB (0%)
All exports 33.21 KB (0%)