2020-04-07 11:15:24 +00: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 12:22:12 +00:00
|
|
|
ENDING_CALL, //libwebrt says 'closed' but session-terminate hasnt gone through
|
2020-04-07 19:26:51 +00:00
|
|
|
ENDED, //close UI
|
|
|
|
DECLINED_OR_BUSY, //other party declined; no retry button
|
2020-04-09 13:22:03 +00:00
|
|
|
CONNECTIVITY_ERROR, //network error; retry button
|
2020-04-21 20:46:46 +00:00
|
|
|
RETRACTED, //user pressed home or power button during 'ringing' - shows retry button
|
2020-04-09 13:22:03 +00:00
|
|
|
APPLICATION_ERROR //something rather bad happened; libwebrtc failed or we got in IQ-error
|
2020-04-07 11:15:24 +00:00
|
|
|
}
|