Files

12 lines
336 B
JavaScript
Raw Permalink Normal View History

2026-11-17 16:15:01 -05:00
// Muaz Khan - www.MuazKhan.com
// MIT License - www.WebRTC-Experiment.com/licence
// Documentation - github.com/muaz-khan/RTCMultiConnection
function resolveURL(url) {
var isWin = !!process.platform.match(/^win/);
if (!isWin) return url;
return url.replace(/\//g, '\\');
}
module.exports = exports = resolveURL;