don't play tone going from connect->reconnect->connect

This commit is contained in:
Daniel Gultsch 2021-11-19 12:25:27 +01:00
parent 5d526a77e3
commit f8a94161db

View file

@ -51,7 +51,7 @@ class ToneManager {
return ToneState.ENDING_CALL;
}
}
if (state == RtpEndUserState.CONNECTED) {
if (state == RtpEndUserState.CONNECTED || state == RtpEndUserState.RECONNECTING) {
if (media.contains(Media.VIDEO)) {
return ToneState.NULL;
} else {