easyrtc/api/easyrtc.js at master · priologic/easyrtc: "easyRTC.getLocalStreamAsUrl = function() {
if (easyRTC.localStream === null) {
alert("Developer error: attempt to get a mediastream without invoking easyRTC.initMediaSource successfully");
}
return easyRTC.createObjectURL(easyRTC.localStream);
};"
'via Blog this'