FS-8202 #resolve [Stop peer when ending screen share]

This commit is contained in:
Anthony Minessale committed 2015-09-22 11:21:32 -05:00
1 parent a96290291b
commit 6a9f936f72
3 files changed
+15 -5

No files matched your search

+7
View File
@@ -287,6 +287,13 @@
onSuccess, onError);
};
$.FSRTC.prototype.stopPeer = function() {
if (self.peer) {
console.log("stopping peer");
self.peer.stop();
}
}
$.FSRTC.prototype.stop = function() {
var self = this;