RtpEndUserState.java

 1package eu.siacs.conversations.xmpp.jingle;
 2
 3public enum RtpEndUserState {
 4    INCOMING_CALL, //received a 'propose' message
 5    CONNECTING, //session-initiate or session-accepted but no webrtc peer connection yet
 6    CONNECTED, //session-accepted and webrtc peer connection is connected
 7    FINDING_DEVICE, //'propose' has been sent out; no 184 ack yet
 8    RINGING, //'propose' has been sent out and it has been 184 acked
 9    ACCEPTED_ON_OTHER_DEVICE, //received 'accept' from one of our own devices
10    ACCEPTING_CALL, //'proceed' message has been sent; but no session-initiate has been received
11    ENDING_CALL, //libwebrt says 'closed' but session-terminate hasnt gone through
12    ENDED, //close UI
13    DECLINED_OR_BUSY, //other party declined; no retry button
14    CONNECTIVITY_ERROR //network error; retry button
15}