ring during device discovery

This commit is contained in:
arnebv 2021-06-27 18:34:02 +02:00
parent 05bd61c095
commit 5c2f8defa5

View file

@ -37,7 +37,7 @@ class ToneManager {
private static ToneState of(final boolean isInitiator, final RtpEndUserState state, final Set<Media> media) {
if (isInitiator) {
if (asList(RtpEndUserState.RINGING, RtpEndUserState.CONNECTING).contains(state)) {
if (asList(RtpEndUserState.FINDING_DEVICE, RtpEndUserState.RINGING, RtpEndUserState.CONNECTING).contains(state)) {
return ToneState.RINGING;
}
if (state == RtpEndUserState.DECLINED_OR_BUSY) {