Closed xdumaine closed 8 years ago
i still don't understand where you are not seeing createDataChannel on the prototype. Instantiating a peerconnection is something i'd prefer to avoid
Looks like it's because of adapter.js the RTCPeerConnection
added to window
does not have createDataChannel
on the prototype. Someone mentioned it was deprecated, is that accurate? @fippo Open https://webrtc.github.io/samples/src/content/peerconnection/pc1/ and run window.RTCPeerConnection.prototype.createDataChannel
in the console - undefined.
ah... adapter wraps RTCPeerConnection in a way which breaks this. Might be quite some effort to fix that... hm.
But 2/3 browsers support the datachannel, this module is a thing of the past.
createDataChannel is still a thing AFAIK
I'm fine with closing these then. It's an issue with adapter, if at all.
Resolves #21 @fippo