W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > June 2018

[mediacapture-main] Volume attributes for audio MediaStreamTracks?

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Thu, 21 Jun 2018 10:50:43 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issues.opened-334439616-1529578236-sysbot+gh@w3.org>
alvestrand has just created a new issue for https://github.com/w3c/mediacapture-main:

== Volume attributes for audio MediaStreamTracks? ==
Discussion in various places, including https://github.com/w3c/webrtc-stats/issues/353, https://github.com/w3c/webrtc-stats/issues/271 and others, lead to the conclusion that we have a legitimate need to get the audio level of an audio track, with or without the track being connected to an RTCPeerConnection (so getStats is inappropriate).

Use cases for both the input audio level (choosing the track, detecting clipping) and output audio level (displaying level after AGC and echo cancellation) for the track have been made.

Audio level is not a simple concept (need to specify sampling interval, decay rate if averaged and so on); we might want to consider using TotalAudioEnergy as the webrtc-stats does, or we might want to find an EBU (or other) recommendation that gives us a precedent to follow.

Tagging @henbos @vr000m @huibk

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/523 using your GitHub account
Received on Thursday, 21 June 2018 10:50:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:33 UTC