From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; spf=pass (mailfrom) smtp.mailfrom=irif.fr (client-ip=2001:660:3301:8000::1:2; helo=korolev.univ-paris7.fr; envelope-from=jch@irif.fr; receiver=) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=irif.fr header.i=@irif.fr header.a=rsa-sha256 header.s=dkim-irif header.b=C5wGDwTt Received: from korolev.univ-paris7.fr (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]) by mail.toke.dk (Postfix) with ESMTPS id D8086A97504 for ; Sat, 16 Nov 2024 22:55:29 +0100 (CET) Received: from mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [81.194.30.253]) by korolev.univ-paris7.fr (8.14.4/8.14.4/relay1/82085) with ESMTP id 4AGLtTKS021427 for ; Sat, 16 Nov 2024 22:55:29 +0100 Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id E41AB468E4 for ; Sat, 16 Nov 2024 22:55:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=irif.fr; h= content-type:content-type:mime-version:user-agent:subject :subject:from:from:message-id:date:date:received:received; s= dkim-irif; t=1731794125; x=1732658126; bh=pw4pi7Tkh/T2p7pjDgfO/V KkojUf7yMvLEiRoW/PU5A=; b=C5wGDwTtC5cKhAVNo6mVXzLEhNzzQ4Bgzf0eL/ Ba5TipJ89WZGDn5KImvMPnLwHmwsusZjzThzg8vmt25MWqU/5bbqJM2cRUw/+wjw kHZS4j2cS95iMGMEhooJGT8tUJiuuA8IFBnIaxE3JFZ1+UwhI3GpIS7Nrb24GDUk 81rzNle5fz7oLCTwiT101fTSn9soTq6EP1Mz84PrD4SzXyuMkOYChnyIdEvbFNGs UiJSASCuzBGQjnOXHP33c2mP6vZ11Msz5qMSdkzpH2JdotwlQhM0uFqy2aozW5ph pMd49q2/zxHclrZ5o5GlK+bezkkLtNMU8XvS+EJW2BMnrcpQ== X-Virus-Scanned: amavisd-new at math.univ-paris-diderot.fr Received: from mailhub.math.univ-paris-diderot.fr ([127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id gkDiFCLnhiEn for ; Sat, 16 Nov 2024 22:55:25 +0100 (CET) Received: from pirx.irif.fr (89-64-69-205.dynamic.chello.pl [89.64.69.205]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id 3B889469C3 for ; Sat, 16 Nov 2024 22:55:25 +0100 (CET) Date: Sat, 16 Nov 2024 22:55:24 +0100 Message-ID: <87o72eq1wz.wl-jch@irif.fr> From: Juliusz Chroboczek To: galene@lists.galene.org User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/29.4 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [194.254.61.138]); Sat, 16 Nov 2024 22:55:29 +0100 (CET) X-Miltered: at korolev with ID 673914D1.001 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 673914D1.001 from mailhub.math.univ-paris-diderot.fr/mailhub.math.univ-paris-diderot.fr/null/mailhub.math.univ-paris-diderot.fr/ X-j-chkmail-Score: MSGID : 673914D1.001 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham Message-ID-Hash: QFFEWS3MN2MIDZ6VTCYMUVFBFO4SCYT4 X-Message-ID-Hash: QFFEWS3MN2MIDZ6VTCYMUVFBFO4SCYT4 X-MailFrom: jch@irif.fr X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Subject: [Galene] Help with ES6 modules List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Hi, I've just started working on background blur in Galene's default client. I'm using Google selfie segmentation library, which is available as an ES6 module. That's not a problem, since I'm planning to load it in a web worker, so that the mail galene.js code does not need to become a module. Still -- should I migrate the whole of the JS code in Galene to ES6 modules? In particular, would it inconvenience people if protocol.js became an ES6 module? It is my (perhaps erroneous) understanding that dynamic import is available in non-module code, so that the library will continue to be usable, but is there anything I'm overlooking? Thanks, -- Juliusz