Files
Testing/videocall1/DetectRTC/npm-test.js
sean 343b4a3f3f
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-19 18:32:17 -05:00

18 lines
385 B
JavaScript

// https://tonicdev.com/npm/detectrtc
var DetectRTC;
try {
DetectRTC = require('detectrtc');
}
catch(e) {
DetectRTC = require('./DetectRTC.js');
}
console.log(DetectRTC.browser.name + ' version ' + DetectRTC.browser.version);
console.log(DetectRTC.osName + ' version ' + DetectRTC.osVersion);
console.log(JSON.stringify(DetectRTC));
console.log(DetectRTC);
process.exit()