From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; dkim=pass header.d=irif.fr header.i=@irif.fr header.a=rsa-sha256 header.s=dkim-irif header.b=qtPlUqWJ; arc=none (Message is not ARC signed); dmarc=none 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 BA9E21A163B7 for ; Wed, 11 Nov 2026 17:28:54 +0100 (CET) Received: from potemkin.univ-paris7.fr (potemkin.univ-paris7.fr [IPv6:2001:660:3301:8000::1:1]) by korolev.univ-paris7.fr (8.14.4/8.14.4/relay1/82085) with ESMTP id 6ABGSk0N020537 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 11 Nov 2026 17:28:46 +0100 Received: from mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [81.194.30.253]) by potemkin.univ-paris7.fr (8.14.4/8.14.4/relay2/82085) with ESMTP id 6ABGSkgv015452; Wed, 11 Nov 2026 17:28:46 +0100 Received: from mailhub.math.univ-paris-diderot.fr (unknown [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id 132D223307; Wed, 11 Nov 2026 17:28:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=irif.fr; h= content-type:content-type:mime-version:user-agent:references :in-reply-to:subject:subject:from:from:message-id:date:date :received:received; s=dkim-irif; t=1794414524; x=1795278525; bh= 4XzuyakJJX+4MlYDKN6YMDgmdsz++D+plA1JHkiXBYA=; b=qtPlUqWJr6MyrTw6 /tIXbM6lvUIKV5SkqdIGzTs6iLKg8SAbvQSdjKo4v3bBxoeF9+IJsGfbDwKLrCbe MLhVge9PvHv6STzYxwKOr5BBRZejIuH6KcL01pMImtlU8bzTZ+nvl7a3kjgiXIOU BS0lA/TAgFNrL7eI+8jn5icwc6yaZccGusqZ2Q/Hq3X1ZeiVJTMIHfsZS6mIxrWk LjPY6aGqPp2zf40okv9fBmDIAlHnP+Qw7oi90lxhKuvJewuNL5+KFWfmRCe6AW99 L12FRp73k9rbQTYY9Jb8aTJ/2ZmijOMFzDFbskC9hGo9lqPKFJ7FSvCiuZm+3zEC 9ZHsbg== 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 95PiHuVYXJIp; Wed, 11 Nov 2026 17:28:44 +0100 (CET) Received: from trurl.irif.fr (unknown [82.64.191.149]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id B66E1230EF; Wed, 11 Nov 2026 17:28:44 +0100 (CET) Date: Wed, 11 Nov 2026 17:28:44 +0100 Message-ID: <87ld6zwcw3.wl-jch@irif.fr> From: Juliusz Chroboczek To: Alexander Dietrich Cc: Galene Mailing List In-Reply-To: <179414433550.1815.11606576572822765913@gauss> References: <179414433550.1815.11606576572822765913@gauss> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/30.2 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 [IPv6:2001:660:3301:8000::1:2]); Wed, 11 Nov 2026 17:28:46 +0100 (CET) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (potemkin.univ-paris7.fr [194.254.61.141]); Wed, 11 Nov 2026 17:28:46 +0100 (CET) X-Miltered: at korolev with ID 6AF497BE.001 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-Miltered: at potemkin with ID 6AF497BE.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 6AF497BE.001 from potemkin.univ-paris7.fr/potemkin.univ-paris7.fr/null/potemkin.univ-paris7.fr/ X-j-chkmail-Enveloppe: 6AF497BE.000 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 : 6AF497BE.001 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Score: MSGID : 6AF497BE.000 on potemkin.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham X-j-chkmail-Status: Ham Message-ID-Hash: H6YU5QNDJJOOT543XJNIUCZQSEXIHBAU X-Message-ID-Hash: H6YU5QNDJJOOT543XJNIUCZQSEXIHBAU 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] Re: Experimental outbound activity detection 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: > I was trying to understand what's missing for outbound activity detection > (aka "Is this thing on?"), and learned that there is a "totalAudioEnergy" > property for outgoing WebRTC streams as well, but it's not yet implemented > in Firefox: > https://developer.mozilla.org/en-US/docs/Web/API/RTCAudioSourceStats/totalAudioEnergy Yes. Firefox's support for WebRTC is unfortunately incomplete, there are a number of workarounds in the code for Firefox's bugs. I really need to check if they are still needed in recent versions (and display a warning if the user is running an old version of Firefox). A workaround would be to push the output through a WebAudio component, I hear that WebAudio is well supported under Firefox. I don't know if it would increase CPU usage by much. (WebAudio is a lot of fun, by the way, it's what's used on the login page for the Fourier transform. It could be used for implementing audio filters, it's extremely flexible if you don't care about CPU and battery usage.) > https://github.com/jech/galene/compare/master...alxndr42:galene:outbound-activity I don't think you need maxAudioEnergy, there should be only one audio track. > It does seem to work in Chromium, using largely the existing code. Here's > an experimental branch, please let me know what you think: > https://github.com/jech/galene/compare/master...alxndr42:galene:outbound-activity I haven't looked yet, but one thing comes to mind: we currently use different intervals for up and down stats, so the appearance will be different. Should we make the intervals equal, now that the up connection stats are no longer visible by default? > So right now the code detects no activity in Firefox, but "should" start > to work if they eventually implement the missing parts. Don't count on it. I fear there's nobody working on WebRTC at Firefox. -- Juliusz