Browse files

Remove the video element to stop audio loop on call end when using Ch…

…rome 25 and JSEP
  • Loading branch information...
1 parent a4b4520 commit eeb7b67993e6adc16e7aceb23e26b62680fd949d @nstratford nstratford committed Mar 20, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 modules/phono-js/src/main/js/phono.jsep-audio.js
View
1 modules/phono-js/src/main/js/phono.jsep-audio.js
@@ -410,6 +410,7 @@ JSEPAudio.prototype.transport = function(config) {
// Destroy any transport state we have created
if (pc) {
pc.close();
+ remoteVideo.parentNode.removeChild(remoteVideo);
}
if (JSEPAudio.localStream) {

0 comments on commit eeb7b67

Please sign in to comment.