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