don't play tone going from connect->reconnect->connect
This commit is contained in:
parent
5d526a77e3
commit
f8a94161db
|
@ -51,7 +51,7 @@ class ToneManager {
|
||||||
return ToneState.ENDING_CALL;
|
return ToneState.ENDING_CALL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (state == RtpEndUserState.CONNECTED) {
|
if (state == RtpEndUserState.CONNECTED || state == RtpEndUserState.RECONNECTING) {
|
||||||
if (media.contains(Media.VIDEO)) {
|
if (media.contains(Media.VIDEO)) {
|
||||||
return ToneState.NULL;
|
return ToneState.NULL;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue