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