Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtc: bump ffi to v0.10.2 #271

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

rtc: bump ffi to v0.10.2 #271

wants to merge 6 commits into from

Conversation

nbsp
Copy link
Member

@nbsp nbsp commented Sep 18, 2024

No description provided.

Copy link

changeset-bot bot commented Sep 18, 2024

🦋 Changeset detected

Latest commit: 23511a9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@livekit/rtc-node Patch
@livekit/rtc-node-darwin-arm64 Patch
@livekit/rtc-node-darwin-x64 Patch
@livekit/rtc-node-linux-arm64-gnu Patch
@livekit/rtc-node-linux-x64-gnu Patch
@livekit/rtc-node-win32-x64-msvc 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
Member

@theomonnom theomonnom left a comment

Choose a reason for hiding this comment

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

Nice, can you add the new parameters inside the AudioSource. (buffer_size_ms)
There is also:
wait_for_playout
clear_queue

@nbsp
Copy link
Member Author

nbsp commented Sep 18, 2024

@theomonnom can you re-check? want to make sure i did this impl correctly

import EventEmitter, { once } from 'events';

/** @internal */
export class Queue<T> {
Copy link
Member

@theomonnom theomonnom Sep 19, 2024

Choose a reason for hiding this comment

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

Seems like the Queue isn't needed, just Promise/Future for this impl? not a big deal either way

Copy link
Member Author

Choose a reason for hiding this comment

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

this promise is reused more than one time so it's more ergonomic to use queue for this

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.

2 participants