diff --git a/js/services/video.js b/js/services/video.js index fce1ee2b6..cf7caeaa6 100644 --- a/js/services/video.js +++ b/js/services/video.js @@ -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)); }); diff --git a/karma.conf.js b/karma.conf.js index 5b9d32890..48a1e18f3 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -29,7 +29,7 @@ module.exports = function(config) { 'lib/angular-foundation/mm-foundation.min.js', 'lib/angular-foundation/mm-foundation-tpls.min.js', 'lib/peerjs/peer.js', - 'lib/bitcore/browser/bundle.js', + 'lib/bitcore-0.1.35-paypro.js', 'lib/crypto-js/rollups/sha256.js', 'lib/crypto-js/rollups/pbkdf2.js', 'lib/crypto-js/rollups/aes.js', diff --git a/test/test.storage.File.js b/test/test.storage.File.js index c6bf0f558..506e27993 100644 --- a/test/test.storage.File.js +++ b/test/test.storage.File.js @@ -5,7 +5,6 @@ var should = chai.should(); var Storage = require('../js/models/storage/File.js'); var sinon = require('sinon'); -var crypto = require('crypto'); var CryptoJS = require('node-cryptojs-aes').CryptoJS; var mock = require('mock-fs');