Merge pull request #1121 from greggzigler/fix_karma
Clean up karma console errors. Chrome 36.0.1985 (Mac OS X 10.9.4): Executed 82 of 82 SUCCESS (0.47 secs / 0.141 secs)
This commit is contained in:
commit
2ea8ae38f0
4 changed files with 5 additions and 6 deletions
|
|
@ -7,9 +7,6 @@ var Video = function() {
|
|||
|
||||
this.mediaConnections = {};
|
||||
this.localStream = null;
|
||||
if (typeof Audio !== 'undefined') {
|
||||
this.onlineSound = new Audio('sound/online.wav');
|
||||
}
|
||||
};
|
||||
|
||||
Video.prototype.setOwnPeer = function(peer, wallet, cb) {
|
||||
|
|
@ -66,7 +63,6 @@ Video.prototype._addCall = function(mediaConnection, cb) {
|
|||
|
||||
// Wait for stream on the call, then set peer video display
|
||||
mediaConnection.on('stream', function(stream) {
|
||||
if (self.onlineSound) self.onlineSound.play();
|
||||
cb(null, peerID, URL.createObjectURL(stream));
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue