Skip to content

onRenegotiationNeeded callback no longer being called #36

@DaveBubenik

Description

@DaveBubenik

The onRenegotiationNeeded is never called. This is being caused by a bug introduced in version 1.3.0 of the library.

The issue is occurring because the webrtc event listener is listening to the wrong event in rtc_peerconnection_impl.dart.

The following code is incorrect:
_jsPc.addEventListener( 'onnegotiationneeded', (_) { onRenegotiationNeeded?.call(); }.toJS);

It should be updated to:
_jsPc.addEventListener( 'negotiationneeded', (_) { onRenegotiationNeeded?.call(); }.toJS);

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