Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Moves render and ttfm connection times to the library.
damencho6651168dd33a
diff --git a/modules/UI/videolayout/SmallVideo.js b/modules/UI/videolayout/SmallVideo.jsindex fc551a0ca2..27279cb752 100644--- a/modules/UI/videolayout/SmallVideo.js+++ b/modules/UI/videolayout/SmallVideo.js@@ -160,25 +160,6 @@ SmallVideo.createStreamElement = function (stream) {element.id = SmallVideo.getStreamElementID(stream);- element.onplay = function () {- var type = (isVideo ? 'video' : 'audio');- var now = APP.connectionTimes[type + ".render"]- = window.performance.now();- console.log("(TIME) Render " + type + ":\t",- now);- AnalyticsAdapter.sendEvent('render.' + type, now);-- // Time to first media, a number that can be used for comparision of- // time fot rendering media. It can be used for the first and- // the rest participants. It subtracts the period of waiting for the- // second participant to join (time between join and first- // session initiate).- var ttfm = now- - (APP.conference.getConnectionTimes()["session.initiate"]- - APP.conference.getConnectionTimes()["muc.joined"]);- console.log("(TIME) TTFM " + type + ":\t", ttfm);- AnalyticsAdapter.sendEvent('ttfm.' + type, ttfm);- };return element;};