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

Add hooks for transcriptions #853

Closed lukasIO closed 3 months ago

lukasIO commented 4 months ago

main changes with transcription related logic are

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 48e8ad58874eb42cd2af47e8943869bae20e9cc0

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

biglittlebigben commented 3 months ago

Makes sense to me. What is trackSyncTimeObserver based off?

lukasIO commented 3 months ago

@biglittlebigben trackSyncTimeObserver is currently based on a TrackSyncTime event that we register for each remote track and that consistently emits new timing information. Currently it's reading out the rtp timestamp from the synchronization sources, see https://github.com/livekit/client-sdk-js/pull/1119/files#diff-d844533d54d1e1cedf8ed4b95a2eebeea4035b2ff72b21e89cb655edb7f0154fR85

github-actions[bot] commented 3 months ago

size-limit report 📦

Path Size
LiveKitRoom only 1.87 KB (0%)
LiveKitRoom with VideoConference 28.14 KB (0%)
All exports 33.51 KB (+0.75% 🔺)