ring during device discovery
This commit is contained in:
parent
98ffadd87d
commit
7466d12505
|
@ -37,7 +37,7 @@ class ToneManager {
|
||||||
|
|
||||||
private static ToneState of(final boolean isInitiator, final RtpEndUserState state, final Set<Media> media) {
|
private static ToneState of(final boolean isInitiator, final RtpEndUserState state, final Set<Media> media) {
|
||||||
if (isInitiator) {
|
if (isInitiator) {
|
||||||
if (asList(RtpEndUserState.RINGING, RtpEndUserState.CONNECTING).contains(state)) {
|
if (asList(RtpEndUserState.FINDING_DEVICE, RtpEndUserState.RINGING, RtpEndUserState.CONNECTING).contains(state)) {
|
||||||
return ToneState.RINGING;
|
return ToneState.RINGING;
|
||||||
}
|
}
|
||||||
if (state == RtpEndUserState.DECLINED_OR_BUSY) {
|
if (state == RtpEndUserState.DECLINED_OR_BUSY) {
|
||||||
|
|
Loading…
Reference in New Issue