Skip to content

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

@balasubramanian1612s

Description

@balasubramanian1612s

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions