I wrote a different version of the test that starts with audio playing (detects noise), mutes (detects silence), then unmutes (looking for resumption of noise). In this version of the test, we never see audio resume after the unmute.
Bug 1724014 Comment 9 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I wrote a different version of the test that starts with audio playing (detects noise), mutes (detects silence), then unmutes (looking for resumption of noise). In this version of the test, we never see audio resume after the unmute. When detecting noise in the new test, I'm looking for multiple, continguous non-zero results from ```array.reduce((acc, v) => { return acc + v; })```. This may be invalid, but it seems to always work on the detecting initial noise.