Better error handling for group calls.

This commit is contained in:
Cody Henthorne
2021-01-06 15:15:50 -05:00
committed by Alan Evans
parent 84f1da76ad
commit cf32b93269
13 changed files with 268 additions and 43 deletions

View File

@@ -46,6 +46,14 @@ public class WebRtcViewModel {
this == NO_SUCH_USER ||
this == UNTRUSTED_IDENTITY;
}
public boolean isPreJoinOrNetworkUnavailable() {
return this == CALL_PRE_JOIN || this == NETWORK_FAILURE;
}
public boolean isPassedPreJoin() {
return this.ordinal() > CALL_PRE_JOIN.ordinal();
}
}
public enum GroupCallState {