|
|
@@ -852,7 +852,21 @@ function (jingleSession, jingleOffer, now) {
|
|
852
|
852
|
// both camera and microphone.
|
|
853
|
853
|
this.statistics.startCallStats(jingleSession, this.settings);
|
|
854
|
854
|
this.statistics.startRemoteStats(jingleSession.peerconnection);
|
|
855
|
|
-}
|
|
|
855
|
+};
|
|
|
856
|
+
|
|
|
857
|
+/**
|
|
|
858
|
+ * Handles the call ended event.
|
|
|
859
|
+ * @param {JingleSessionPC} JingleSession the jingle session which has been
|
|
|
860
|
+ * terminated.
|
|
|
861
|
+ * @param {String} reasonCondition the Jingle reason condition.
|
|
|
862
|
+ * @param {String|null} reasonText human readable reason text which may provide
|
|
|
863
|
+ * more details about why the call has been terminated.
|
|
|
864
|
+ */
|
|
|
865
|
+JitsiConference.prototype.onCallEnded
|
|
|
866
|
+= function (JingleSession, reasonCondition, reasonText) {
|
|
|
867
|
+ logger.info("Call ended: " + reasonCondition + " - " + reasonText);
|
|
|
868
|
+};
|
|
|
869
|
+
|
|
856
|
870
|
|
|
857
|
871
|
JitsiConference.prototype.updateDTMFSupport = function () {
|
|
858
|
872
|
var somebodySupportsDTMF = false;
|