Skip to content

Issues with RTCDataChannel API #209

@danielwegener

Description

@danielwegener

Hi folks,

I just tried to migrate my data-channel playground app to current 0.9.0-SNAPSHOT using WebRTC API provided by #203 and found some small issues:

  • RTCPeerConnection.createDataChannel is not callable, its missing its RTCDataChannelInit parameter
  • RTCPeerConnection.ondatachannel does not emit an RTCDataChannelEvent, so one can not react on data channels requested by the peer.
  • some properties on RTCPeerConnection are val but their value change over time. Wonder if it would make more sense to expose them as def.

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