2020-04-07 13:15:24 +02:00
|
|
|
package eu.siacs.conversations.xmpp.jingle;
|
|
|
|
|
|
|
|
|
|
public enum RtpEndUserState {
|
|
|
|
|
INCOMING_CALL, //received a 'propose' message
|
|
|
|
|
CONNECTING, //session-initiate or session-accepted but no webrtc peer connection yet
|
|
|
|
|
CONNECTED, //session-accepted and webrtc peer connection is connected
|
|
|
|
|
FINDING_DEVICE, //'propose' has been sent out; no 184 ack yet
|
|
|
|
|
RINGING, //'propose' has been sent out and it has been 184 acked
|
|
|
|
|
ACCEPTING_CALL, //'proceed' message has been sent; but no session-initiate has been received
|
2020-04-07 14:22:12 +02:00
|
|
|
ENDING_CALL, //libwebrt says 'closed' but session-terminate hasnt gone through
|
2020-04-07 21:26:51 +02:00
|
|
|
ENDED, //close UI
|
|
|
|
|
DECLINED_OR_BUSY, //other party declined; no retry button
|
2020-04-09 15:22:03 +02:00
|
|
|
CONNECTIVITY_ERROR, //network error; retry button
|
2020-06-12 07:56:59 +02:00
|
|
|
CONNECTIVITY_LOST_ERROR, //network error but for call duration > 0
|
2020-04-21 22:46:46 +02:00
|
|
|
RETRACTED, //user pressed home or power button during 'ringing' - shows retry button
|
2021-05-04 10:10:30 +02:00
|
|
|
APPLICATION_ERROR, //something rather bad happened; libwebrtc failed or we got in IQ-error
|
|
|
|
|
SECURITY_ERROR //problem with DTLS (missing) or verification
|
2020-04-07 13:15:24 +02:00
|
|
|
}
|