You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building node.js server where I need to setup peerConnection between node-js (server) and device (with webrtc support).
The plan is to also use simple-peer library.
According to library their is support for node: https://www.npmjs.com/package/simple-peer#in-node
Is it possible to run this server-side? or required to running in the browser context?
var Peer = require('simple-peer')
var wrtc = require('wrtc')
var peer = new Peer({ initiator: true, wrtc: wrtc })
RTCSessionDescription and RTCIceCandidate functions are undefined. Console.log of wrtc:
Since RTCSessionDescription is undefined, I get following error when running latest version (9.10.0) of simple-peer:
ypeError: this._wrtc.RTCSessionDescription is not a constructor
Is this intended behaviour?
Please se peers/peerjs#103 for more info
The text was updated successfully, but these errors were encountered:
magnusros
changed the title
RTCSessionDescription and RTCIceCandidate missing
RTCSessionDescription and RTCIceCandidate undefined (missing)
Apr 7, 2021
magnusros
changed the title
RTCSessionDescription and RTCIceCandidate undefined (missing)
RTCSessionDescription and RTCIceCandidate undefined
Apr 8, 2021
magnusros
changed the title
RTCSessionDescription and RTCIceCandidate undefined
RTCSessionDescription and RTCIceCandidate undefined server-side
Apr 12, 2021
magnusros
changed the title
RTCSessionDescription and RTCIceCandidate undefined server-side
Question: RTCSessionDescription and RTCIceCandidate undefined server-side
Apr 12, 2021
Building node.js server where I need to setup peerConnection between node-js (server) and device (with webrtc support).
The plan is to also use simple-peer library.
According to library their is support for node: https://www.npmjs.com/package/simple-peer#in-node
Is it possible to run this server-side? or required to running in the browser context?
RTCSessionDescription and RTCIceCandidate functions are undefined. Console.log of wrtc:
Since RTCSessionDescription is undefined, I get following error when running latest version (9.10.0) of simple-peer:
ypeError: this._wrtc.RTCSessionDescription is not a constructor
Is this intended behaviour?
Please se peers/peerjs#103 for more info
The text was updated successfully, but these errors were encountered: