Open JeroenVanSteijn opened 3 years ago
An extra note: I have seen with debugger on that I sometimes receive 561017449 when opening the audiochannel, indicating that it is already taken. Could it be possible that endAllCalls is not working correctly/as I think it should?
@JeroenVanSteijn endAllCalls
will only end the calls from displayIncomingCall
or startCall
from callkeep itself.
What do you mean by start a call (with react-native-webrtc)
? Did you end the call from that as well?
@namnm I use a peer connection, whcih I close at the end like so:
stream.getTracks().forEach((track) => {
track.stop();
this.removeTrack(track, stream);
});
this.peerConnection.removeStream(stream);
this.peerConnection.close();
@JeroenVanSteijn So what if you completely remove callkeep? Does it happen?
As I mentioned, endAllCalls
will only end the calls from displayIncomingCall
or startCall
from callkeep itself
If you dont use those methods, you may not need to callkeep at all
@JeroenVanSteijn are you using agora.io with RNCallKeep?
I have the same issue (on Android).
For the user that end the call the microphone indicator correctly disappear. But for the user where I call RNCallKeep.endCall(...)
the microphone indicator stay. The only option I found to make it disappear is to kill the app entirely.
sometimes my users warn me the orange dot still alive after close the call.
I want to ask: does anyone success to check the orange dot before join the call?
Bug report
[ x] I've checked the example to reproduce the issue.
Reproduced on:
Description
The red microphone bar stays on when the app is in the background after a call. Even after calling endAllCalls
Steps to Reproduce
Versions