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

How to create handlers in current null safe version. #45

Open
balasubramanian1612s opened this issue Jul 11, 2021 · 0 comments
Open

How to create handlers in current null safe version. #45

balasubramanian1612s opened this issue Jul 11, 2021 · 0 comments

Comments

@balasubramanian1612s
Copy link

What did you do?

// Setup handlers
client.on('peer-join', (rid, id, info) async {});

client.on('peer-leave', (rid, id) async {});

client.on('transport-open', () {}));

client.on('transport-closed', () {});

client.on('stream-add', (rid, mid, info, tracks) async {
// handle stream-add
});

client.on('stream-remove', (rid, mid) async {
// handle stream-remove
});

client.on('broadcast', (rid, uid, info) async {
// handle broadcast
});

What did you expect?

I need to know how to handle these request in Current version. In current version there is only ontrack?

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

No branches or pull requests

1 participant