|
@@ -1070,6 +1070,12 @@ function setupListeners(conference) {
|
1070
|
1070
|
}
|
1071
|
1071
|
});
|
1072
|
1072
|
|
|
1073
|
+ conference.rtc.addListener(RTCEvents.DATA_CHANNEL_OPEN, function () {
|
|
1074
|
+ var now = window.performance.now();
|
|
1075
|
+ logger.log("(TIME) data channel opened ", now);
|
|
1076
|
+ conference.room.connectionTimes["session.initiate"] = now;
|
|
1077
|
+ });
|
|
1078
|
+
|
1073
|
1079
|
conference.rtc.addListener(RTCEvents.LASTN_CHANGED, function (oldValue, newValue) {
|
1074
|
1080
|
conference.eventEmitter.emit(JitsiConferenceEvents.IN_LAST_N_CHANGED, oldValue, newValue);
|
1075
|
1081
|
});
|