====== stat ====== call.stat is the enum used by [[ixnx:wrtc:js:api:call:state|call.state]] It is a numerical value allowing advanced users to write code like "if (call.state > call.stat.idle)" this.stat = { // List of states the object can be in: disabled : 0, // not ready for use (usually due to websocket down or not logged in) idle : 1, // ready to send/receive calls waiting : 2, // waiting for local media offer_rcvd : 10, // incoming call, offer received preanswer : 11, // incoming call, preliminary answer requested preanswer_snt:12, // incoming call. preliminary answer sent accepted : 13, // incoming call accepted by user answer_snt : 14, // incoming call, answer sent calling : 20, // user initiated outgoing call offer_snt : 21, // outgoing call, offer sent ring_rcvd : 22, // outgoing call, ringing received early_rcvd : 23, // outgoing call, early media received answer_rcvd : 24, // outgoing call, answer received esc_snt : 30, // esc sent, we are hanging up call esc_rcvd : 40, // esc received, they hung us up talking : 50, // call in progress new_snt : 60, // newsdp sent new_rcvd : 70, // newsdp received }; ====== See Also ====== [[ixnx:wrtc:js:api:call:getcallstate|call.getCallState()]] [[ixnx:wrtc:js:api:call:state|call.state]]