8000 [iOS] The Method '[ ]' was called on null "result" when calling `PeerConnection`'s `removeTrack` · Issue #402 · flutter-webrtc/flutter-webrtc · GitHub
[go: up one dir, main page]

Skip to content
[iOS] The Method '[ ]' was called on null "result" when calling PeerConnection's removeTrack #402
Closed
@Ayman-Kortobaa

Description

@Ayman-Kortobaa

Describe the bug
Calling PeerConnection's removeTrack method in Unified-Plan throws The Method '[ ]' was called on null "result" in Dart.

To Reproduce

final videoSender = await peerConnection
          .addTrack(videoTracks.first, [signaling.mediaStream]);
await peerConnection.removeTrack(videoSender);

Expected behavior
The track is probably removed successfully as this error is in the Dart code, but it should complete successfully and return a boolean whether it was removed or not.

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

      0