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
fix(tests): Adds more prints from the iframeAPI page.
damenchoa0070c34f777
diff --git a/tests/resources/iframeAPITest.html b/tests/resources/iframeAPITest.htmlindex dc3f649487..c7f18af487 100644--- a/tests/resources/iframeAPITest.html+++ b/tests/resources/iframeAPITest.html@@ -46,6 +46,10 @@interfaceConfig: {}};+ function log(msg) {+ console.log(`${new Date().toISOString()} [MeetTestIFrame] ${msg}`);+ }+for (const param of Object.keys(params)) {let base = json;const names = param.split('.');@@ -81,21 +85,27 @@interfaceConfigOverwrite: interfaceConfig,userInfo,onload: function () {+ log(`iframeAPI.onload`);+// we use this to save data from api to be accessible to testswindow.jitsiAPI.test = {};window.jitsiAPI.addEventListener('participantRoleChanged', function(event) {+ log(`participantRoleChanged: ${JSON.stringify(event)} myEndpointId:${window.jitsiAPI.test.myEndpointId}`);if (event.role === "moderator" && event.id === window.jitsiAPI.test.myEndpointId) {window.jitsiAPI.test.isModerator = true;}});window.jitsiAPI.addEventListener('audioAvailabilityChanged', function(event) {+ log(`audioAvailabilityChanged: ${JSON.stringify(event)}`);window.jitsiAPI.test.audioAvailabilityChanged = event;});window.jitsiAPI.addEventListener('videoAvailabilityChanged', function(event) {+ log(`videoAvailabilityChanged: ${JSON.stringify(event)}`);window.jitsiAPI.test.videoAvailabilityChanged = event;});window.jitsiAPI.addEventListener('videoConferenceJoined', function(event) {+ log(`videoConferenceJoined: ${JSON.stringify(event)}`);window.jitsiAPI.test.videoConferenceJoined = event;window.jitsiAPI.test.myEndpointId = event.id;});@@ -113,6 +123,7 @@externalAPIScript.src = `https://${domain}/${tenant}external_api.js`;externalAPIScript.type = "text/javascript";externalAPIScript.onload = function(){+ log(`externalAPIScript.onload`);window.jitsiAPI = new JitsiMeetExternalAPI(domain, options);}document.getElementsByTagName('head')[0].appendChild(externalAPIScript);