Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
From: Alexander Dietrich <alexander@dietrich.cx>
To: Galene Mailing List <galene@lists.galene.org>
Subject: [Galene] Experimental outbound activity detection
Date: Sun, 8 Nov 2026 14:25:30 +0100	[thread overview]
Message-ID: <57ecf313-c7dd-425f-8a7f-bfdcb890737b@dietrich.cx> (raw)

Hello,

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

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

There is ongoing work around RTCAudioSourceStats in Firefox, but it's 
not clear to me if and when "totalAudioEnergy" might appear: 
https://bugzilla.mozilla.org/show_bug.cgi?id=1728364

So right now the code detects no activity in Firefox, but "should" start 
to work if they eventually implement the missing parts.

Kind regards,
Alexander


                 reply	other threads:[~2026-11-08 13:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57ecf313-c7dd-425f-8a7f-bfdcb890737b@dietrich.cx \
    --to=alexander@dietrich.cx \
    --cc=galene@lists.galene.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox