anotherim/src/main/java/eu/siacs/conversations/xmpp/jingle/RtpEndUserState.java

13 lines
673 B
Java
Raw Normal View History

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
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
}