diff --git a/dom/html/HTMLMediaElement.cpp b/dom/html/HTMLMediaElement.cpp
index df99a8d39efc..81b1cce84970 100644
--- a/dom/html/HTMLMediaElement.cpp
+++ b/dom/html/HTMLMediaElement.cpp
@@ -3336,7 +3336,6 @@ void HTMLMediaElement::SetVolumeInternal() {
NotifyAudioPlaybackChanged(
AudioChannelService::AudibleChangedReasons::eVolumeChanged);
- StartListeningMediaControlEventIfNeeded();
}
void HTMLMediaElement::SetMuted(bool aMuted) {
@@ -7228,7 +7227,6 @@ void HTMLMediaElement::SetAudibleState(bool aAudible) {
mIsAudioTrackAudible = aAudible;
NotifyAudioPlaybackChanged(
AudioChannelService::AudibleChangedReasons::eDataAudibleChanged);
- StartListeningMediaControlEventIfNeeded();
}
}
@@ -7317,7 +7315,6 @@ void HTMLMediaElement::SetMediaInfo(const MediaInfo& aInfo) {
mAudioChannelWrapper->AudioCaptureTrackChangeIfNeeded();
}
UpdateWakeLock();
- StartListeningMediaControlEventIfNeeded();
}
void HTMLMediaElement::AudioCaptureTrackChange(bool aCapture) {
@@ -7758,17 +7755,6 @@ void HTMLMediaElement::StartListeningMediaControlEventIfNeeded() {
return;
}
- // This includes cases such like `video is muted`, `video has zero volume`,
- // `video's audio track is still inaudible` and `tab is muted by audio channel
- // (tab sound indicator)`, all these cases would make media inaudible.
- // `ComputedVolume()` would return the final volume applied the affection made
- // by audio channel, which is used to detect if the tab is muted by audio
- // channel.
- if (!IsAudible() || ComputedVolume() == 0.0f) {
- MEDIACONTROL_LOG("Not listening because media is inaudible");
- return;
- }
-
// In order to filter out notification-ish sound, we use this pref to set the
// eligible media duration to prevent showing media control for those short
// sound.