mediaStreamTrackMuteChanged is not implemented for audio tracks
See original GitHub issueExpected behavior
When an audio track is muted, the onmute
event should be fired. Accordingly onunmute
should be fired when unmuting.
Observerd behavior
onmute
, onunmute
are fired only on video tracks.
Steps to reproduce the problem
Mute an audio track having registered callbacks for onmute
, onunmute
.
Platform information
iOS, Android.
- React Native version: 0.59.4
- Plugin version: 1.75.0
- OS:
- OS version:
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
MediaStreamTrack.muted - Web APIs | MDN
The muted read-only property of the MediaStreamTrack interface returns a boolean value indicating whether or not the track is currently ...
Read more >MediaStreamTrack.muted flag should not be modified when ...
When a track is disabled by setting enabled to false, it generates only empty frames (audio frames in which every sample is 0,...
Read more >931033 - Video Track repeatedly firing muted and unmuted ...
You repeatedly get 'muted' and 'unmuted' events on the video track. This does not happen when you share the screen or an application...
Read more >iOS 13.1 MediaStreamTrack.enabled = false kills audio track
Workaround as suggested by fippo/philipp: Use replaceTrack(null) to remove the audio track from the PC instead of muting it. Remember to not add ......
Read more >Media Capture and Streams - W3C
A MediaStreamTrack is muted when the source is temporarily unable to provide the track with data.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Note that that’s for video tracks not audio tracks.
I’m going to close this. If nothing has happened in 3 years there is no point in keeping it open.
Implemented recently, take a look over here. Should be included with this beta release. But will also be included with the next stable release.
Edit: Oops didn’t notice it was only for video tracks 😮