don’t transition when calling endCall and session was already terminated
This commit is contained in:
parent
65b43661dd
commit
dd42a6b850
|
@ -737,6 +737,10 @@ public class JingleRtpConnection extends AbstractJingleConnection implements Web
|
||||||
}
|
}
|
||||||
|
|
||||||
public synchronized void endCall() {
|
public synchronized void endCall() {
|
||||||
|
if (TERMINATED.contains(this.state)) {
|
||||||
|
Log.w(Config.LOGTAG,id.account.getJid().asBareJid()+": received endCall() when session has already been terminated. nothing to do");
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (isInState(State.PROPOSED) && !isInitiator()) {
|
if (isInState(State.PROPOSED) && !isInitiator()) {
|
||||||
rejectCallFromProposed();
|
rejectCallFromProposed();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue