Browse Source

Also start getting statistics in "completed" ICE state (if not already running).

pull/134/head
Joachim Bauch 12 years ago
parent
commit
2d2387b947
  1. 1
      static/js/mediastream/peerconnection.js

1
static/js/mediastream/peerconnection.js

@ -323,6 +323,7 @@ define(['jquery', 'underscore', 'webrtc.adapter', 'webrtc.getstats'], function($
console.info("ICE connection state change", iceConnectionState, event, this.currentcall); console.info("ICE connection state change", iceConnectionState, event, this.currentcall);
switch (iceConnectionState) { switch (iceConnectionState) {
case "connected": case "connected":
case "completed":
this.startStatistics(); this.startStatistics();
break; break;
case "closed": case "closed":

Loading…
Cancel
Save