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?