Muting incoming audio doesn't work - 0.8.0
See original GitHub issueAs I understand this code should mute incoming audio:
var config = this.props.mixertest.webrtcStuff
if(config.remoteStream){
var pc = config.pc
var streams = pc._remoteStreams
streams[0].getTracks().forEach(track => track.enabled = !track.enabled)
}}}
It does change track.enabled value but audio doesn’t get muted. What did I miss? Is there other way to mute incoming audio?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Audio doesn't works after I mute and unmute it - Super User
Right-click on volume icon >> Open Volume Mixer >> drag the speaker volume down to zero and then ...
Read more >Audio Monitor | OBS Forums
Awesome plugin! You can choose different speakers to monitor each audio! I'm just rating it 4 starts because 0.8.1 doesn't work with OBS...
Read more >0% Volume does not mute sound. - Microsoft Community
The speaker volume slider is at 0% and there's still sound coming out of it. The mute button works like it's supposed to....
Read more >Audio Not Working in Windows 10? 9 Ways to Fix Sound ...
If you have no sound on your computer, double-check to make sure that you haven't muted the audio. Click the Volume icon at...
Read more >Troubleshooting audio issues - Zoom Support
How to troubleshoot audio issues. Check your device. Check if the microphone, speakers, or headphones are plugged in and not muted.
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
@szymonzmyslony @atyenoria did you ever manage to find a workaround?
@zxcpoiu you seemed knowledgeable with the details 😃 … do you know a good work-around to this issue?
Toggling enabled (and muted)-properties on local and remote stream audio tracks won’t work.
@szymonzmyslony I tried streams[0].getTracks().forEach(track => track.enabled = !track.enabled) . But nothing changed. Have you succeeded in muting remote audio??