simple-peer
simple-peer copied to clipboard
Support omission of DataChannels
Hi, i try to get Audio/Video call between Chrome/Firefox/Safari and Edge. In Edge I get the following error:
SCRIPT438: Object doesn't support property or method 'createDataChannel'
I try it with the following code snippet:
var peer_options = {
initiator: initiator,
config: {
iceTransportPolicy: 'all',
//rtcpMuxPolicy: 'negotiate',
iceServers: [
{ urls: 'turn:xyz.bar:3478', username: 'user', credential: 'pass'},
]
},
};
if( this.videoSupport ) {
peer_options.stream = this.localStream;
}
this.RTCPeer = new SimplePeer( peer_options );
I don't need DataChannel. How to disable DataChannel in simplepeer so I can made a audio/video call between Edge and other browser?
Thank You!
The next version of Edge will be based on Chromium, so this issue will solve itself very soon. https://www.microsoftedgeinsider.com/en-us/download/
This issue is similar to https://github.com/feross/simple-peer/issues/792 Same need, but for different reason. I have a SIP server that also does not support datachannel and throw errors.