Skip to content

Signal when the candidate list changes #687

@LeMarwin

Description

@LeMarwin

If I understand correctly, currently there's no way for the outside code to know when a candidate is discarded or re-enabled.

Creating and maintaining an IO resource (e.g. UdpSocket) is costly, especially when one has to create one per candidate pair, and there's no reason to keep it alive if the associated pair was rejected. It would be nice to have additional events like PairAdded, PairRejected to add/remove those when neccessary.

This feature seems to be relatively easy to add. I'll try adding it, but would appreciate any tips and help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions