documentation for modification to FSRTC lib with call types

This commit is contained in:
perroned 2016-02-17 12:27:27 -08:00
parent 1894d7e1e2
commit eb15680b4a

View File

@ -638,10 +638,13 @@
console.log("Audio constraints", mediaParams.audio);
console.log("Video constraints", mediaParams.video);
// watchOnly
// listenOnly
// joinAudio
//
// Added by Dan Perrone (perroned)
// https://github.com/perroned
// Date: January 13, 2016
// Commit: 279f40a4c280bba11052adc621fddbb3135ccb6d
// watchOnly, listenOnly, joinAudio
// modify the gUM calls based on additional types of calls I added
if (window.watchOnly && !window.listenOnly && !window.joinAudio) {
var stream = null;
if (typeof webkitMediaStream !== 'undefined') {
@ -680,7 +683,7 @@
});
return;
}
// ---------------------------------------------------
if (mediaParams.audio || mediaParams.video) {