rtcmulticonnection
Version:
RTCMultiConnection is a WebRTC JavaScript wrapper library runs top over RTCPeerConnection API to support all possible peer-to-peer features.
12 lines (9 loc) • 346 B
JavaScript
// 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;