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
 8                  // disconnected or failed
 9    INCOMING_CONTENT_ADD, // session-accepted with a pending, incoming content-add
10    FINDING_DEVICE, // 'propose' has been sent out; no 184 ack yet
11    RINGING, // 'propose' has been sent out and it has been 184 acked
12    ACCEPTING_CALL, // 'proceed' message has been sent; but no session-initiate has been received
13    ENDING_CALL, // libwebrt says 'closed' but session-terminate has not gone through
14    ENDED, // close UI
15    DECLINED_OR_BUSY, // other party declined; no retry button
16    CONTACT_OFFLINE, // when `JINGLE_MESSAGE_INIT_STRICT_OFFLINE_CHECK` is true this shows up when
17                     // the contact is offline, generally similar to BUSY
18    CONNECTIVITY_ERROR, // network error; retry button
19    CONNECTIVITY_LOST_ERROR, // network error but for call duration > 0
20    RETRACTED, // user pressed home or power button during 'ringing' - shows retry button
21    APPLICATION_ERROR, // something rather bad happened; libwebrtc failed or we got in IQ-error
22    SECURITY_ERROR // problem with DTLS (missing) or verification
23}