Skip to content

getRemoteStreams on peerConnection no longer works #44

@james-pellow

Description

@james-pellow

Ever since the recent commit titled "chore: remove addstream and removestream events", RTCPeerConnectionWeb.getRemoteStreams has been broken. The _remoteStreams Map is no longer kept up to date so the line: .map((jsStream) => _remoteStreams[jsStream.id]!) always fails. Fortunately this was the only place using _remoteStreams. The issue is that the _jsPc is returning MediaStream from web and we are wanting to return MediaStream from webrtc_interface. What are the long term goals of webrtc_interface? Now that web is accurately defining more webrtc related interfaces, do we still need webrtc_interface? What is the proper fix for this?

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