anotherim/src/main/java/eu/siacs/conversations/xmpp/jingle
Daniel Gultsch f22e33e3ea fixed race condition of WebRTCWrapper being closed before transitioning into terminal state
JingleRTPConnection shuts down the WebRTCWrapper before transitioning into a terminal state.
(This allows us to make sure it is actually closed when reaching that state);
However that means that, when we get a UI redrawn inbetween closing and transitioning we might
still be in SESSION_ACCEPTED but with no PeerConnection. This traditionally has triggered
an IllegalStateException on getting the EndUserState.
This commit catches the ISE and returns 'ENDING' instead.
Chances are that this is only visibiliy for a very brief time in the UI before the transition
triggers the UI to redraw with the proper state.

fixes #3848
2020-08-01 08:20:10 +02:00
..
stanzas ensure server triggered jingle iq-errors get routed properly 2020-07-18 16:14:39 +02:00
AbstractJingleConnection.java remove check that would ensure you use jingle only with full jids 2020-06-14 09:01:47 +02:00
DirectConnectionUtils.java switch xmpp-addr to jxmpp-jid 2020-05-15 17:06:16 +02:00
JingleCandidate.java fix Jingle FT candidate selection for equal priority. fixes #3771 2020-06-07 12:47:03 +02:00
JingleConnectionManager.java remember terminal RTP session state 2020-06-11 21:17:15 +02:00
JingleFileTransferConnection.java error response to sending the jingle ft hash should not file the transfer 2020-06-15 21:33:32 +02:00
JingleInBandTransport.java switch xmpp-addr to jxmpp-jid 2020-05-15 17:06:16 +02:00
JingleRtpConnection.java fixed race condition of WebRTCWrapper being closed before transitioning into terminal state 2020-08-01 08:20:10 +02:00
JingleSocks5Transport.java fixed destination calculation for direct socks candidates. fixes #3715 2020-05-11 11:08:45 +02:00
JingleTransport.java remove unused imports. 2015-08-25 12:40:22 +02:00
Media.java parse media from session proposal 2020-04-20 15:57:30 +02:00
MediaBuilder.java payload-type and rtp-hdrext sdp parsing 2020-04-20 15:57:30 +02:00
OnFileTransmissionStatusChanged.java code clean up 2015-10-12 12:36:54 +02:00
OngoingRtpSession.java switch xmpp-addr to jxmpp-jid 2020-05-15 17:06:16 +02:00
OnJinglePacketReceived.java code clean up 2015-10-12 12:36:54 +02:00
OnPrimaryCandidateFound.java code clean up 2015-10-12 12:36:54 +02:00
OnTransportConnected.java Make conversations the root project 2014-10-22 15:47:11 -04:00
RtpCapability.java ask for resource and use jingle direct init when JMI is not available. fixes #3751 2020-05-30 14:56:12 +02:00
RtpContentMap.java store entire transport info for after session was accepted. fixes #3790 2020-06-22 18:07:27 +02:00
RtpEndUserState.java create rtp end user state for connection lost. fixes #3769 2020-06-12 07:57:11 +02:00
SessionDescription.java be more liberal in 0167 payload-type parameter parsing 2020-06-17 21:15:12 +02:00
SessionDescriptionBuilder.java payload-type and rtp-hdrext sdp parsing 2020-04-20 15:57:30 +02:00
ToneManager.java reset tone manager after reaching NULL status 2020-05-22 16:25:29 +02:00
WebRTCWrapper.java catch NPE when detecting camera facing. fixes #3820 2020-07-09 20:11:09 +02:00