Muting remote stream
See original GitHub issueHi,
I’m trying to mute stream when user gets phone call,
peer.getRemoteStreams()[0].getAudioTracks()[0].enabled = false
but still hear the stream.
any ideas ?
Also want to ask one question , I’ve tried to update webrtc to the last version and it works well, except for one fact, I get iceConnectionState = field almost immediately if it lost the network connection and I need to reconnect,
while using the current version of webRTC, I’m getting this state after 15 sec, it means, if I find the network before I get iceConnectionState = false, I stay connected with another peer and that certainly pleases me,
is this behaviour is intended ?
Platform information
Android 7, RN 0.43.4, RN webRTC 1.54.7
Issue Analytics
- State:
- Created 6 years ago
- Comments:18 (3 by maintainers)
Top Results From Across the Web
how to mute the voice of the remote media stream?
The muting of local stream works fine, but this way doesn't work on the remote stream. 在 2012年10月30日星期二UTC+8上午8时19分03秒,Vikas写道:.
Read more >Muting And Unmuting A Remote User In A Video Call Web App
In this tutorial, we will develop a web application that supports muting and unmuting the video and audio streams of remote users in...
Read more >Muting And Unmuting A Remote User In A Video Call Web
Learn how to build a group video call web application with a service to mute or unmute remote users using the Agora Web...
Read more >Mute Media | LiveSwitch Cloud Documentation
In this tutorial, you'll learn how to mute local media so that other participants don't see or hear you, and mute remote media...
Read more >Marker Muting while Live Streaming - Swivl Help Center
Marker Muting while Live Streaming · Firmly double-click the red 'record' button on your Primary Marker. · All Markers will be 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
I succeeded to disable remote tracks in Jitsi this way:
track.jitsiTrack.getTrack().enabled = false
wheretrack
is a track from track list in Redux store.Hi, I have a workaround. Based on what @tombaki reported and @napanda 's fix, I update the function
(RTCMediaStreamTrack*)trackForId:(NSString*)trackId
on file WebRTCModule+RTCMediaStream.m. Now it look like this:Now I’m able to mute/unmute the remote stream. if @saghul could check in this fix and publish a new version it would be great. Also, I think the Android version needs to get fixed.
Cheers