Trying this module out, it appears I can't get past initialization:
var rtc = require('rtc-everywhere')();
if (rtc.supported === false) {
console.error(rtc.platform + ' platform not supported!');
process.exit(1);
}
console.log(rtc);
var pc = new rtc.RTCPeerConnection();
pc.createOffer(function (offer) {
console.log("offer: ", offer);
});
$ node service.js
node platform not supported!
If I skip the check, and do a console.log on the rtc object:
Trying this module out, it appears I can't get past initialization:
If I skip the check, and do a
console.log
on thertc
object:Am I doing something wrong here? Right now I'm just trying to generate an offer, nothing else. No signalling or anything.