13 lines
673 B
Java
13 lines
673 B
Java
|
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
|
||
|
ACCEPTED_ON_OTHER_DEVICE, //received 'accept' from one of our own devices
|
||
|
ACCEPTING_CALL, //'proceed' message has been sent; but no session-initiate has been received
|
||
|
FAILED //something went wrong. TODO needs more concrete error states
|
||
|
}
|