From c0036b4ca6bcfdef75e60f0f2e90f302207aac92 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Fri, 24 Apr 2020 09:16:59 +0200 Subject: [PATCH] increase busy timeout to 30s --- .../conversations/xmpp/jingle/JingleRtpConnection.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleRtpConnection.java b/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleRtpConnection.java index adc4c43e4..aaa77a937 100644 --- a/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleRtpConnection.java +++ b/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleRtpConnection.java @@ -48,7 +48,7 @@ import rocks.xmpp.addr.Jid; public class JingleRtpConnection extends AbstractJingleConnection implements WebRTCWrapper.EventCallback { - private static final long BUSY_TIME_OUT = 20; + private static final long BUSY_TIME_OUT = 30; public static final List STATES_SHOWING_ONGOING_CALL = Arrays.asList( State.PROCEED, @@ -954,7 +954,7 @@ public class JingleRtpConnection extends AbstractJingleConnection implements Web } } - public void transitionOrThrow(final State target) { + void transitionOrThrow(final State target) { if (!transition(target)) { throw new IllegalStateException(String.format("Unable to transition from %s to %s", this.state, target)); } @@ -1149,7 +1149,7 @@ public class JingleRtpConnection extends AbstractJingleConnection implements Web return webRTCWrapper.getEglBaseContext(); } - public void setProposedMedia(final Set media) { + void setProposedMedia(final Set media) { this.proposedMedia = media; }