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    RECONNECTING, //session-accepted and webrtc peer connection was connected once but is currently disconnected or failed
 8    FINDING_DEVICE, //'propose' has been sent out; no 184 ack yet
 9    RINGING, //'propose' has been sent out and it has been 184 acked
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    CONNECTIVITY_LOST_ERROR, //network error but for call duration > 0
16    RETRACTED, //user pressed home or power button during 'ringing' - shows retry button
17    APPLICATION_ERROR, //something rather bad happened; libwebrtc failed or we got in IQ-error
18    SECURITY_ERROR //problem with DTLS (missing) or verification
19}