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

mediasoup-node: Make appData TS typed and writable #1046

Merged
merged 3 commits into from
Mar 31, 2023

Conversation

ibc
Copy link
Member

@ibc ibc commented Mar 31, 2023

Usage (everywhere when creating a mediasoup entity):

const router = await worker.createRouter<{ lalala: number }(options);

const producer = await transport.produce<{ foo: number; bar?: string }(options);

- This PR replaces PR #869 by @mango-martin (credits to him).
- Fixes #1043
@ibc ibc requested review from jmillan and nazar-pc March 31, 2023 11:03
Copy link
Member

@jmillan jmillan left a comment

Choose a reason for hiding this comment

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

👍

@ibc ibc merged commit b6d23b7 into v3 Mar 31, 2023
@ibc ibc deleted the typed-app-data-and-make-it-writable branch March 31, 2023 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Make appData no longer read-only
2 participants