Skip to content

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

3 participants