|
|
@ -60,14 +60,14 @@ As calls are "placed" to rooms rather than users, the glare resolution algorithm
|
|
|
|
outlined below is only considered for calls which are to the same room. The
|
|
|
|
outlined below is only considered for calls which are to the same room. The
|
|
|
|
algorithm is as follows:
|
|
|
|
algorithm is as follows:
|
|
|
|
|
|
|
|
|
|
|
|
- If an invite to a room is received whilst the client is **preparing to send**
|
|
|
|
- If an ``m.call.invite`` to a room is received whilst the client is
|
|
|
|
an invite to the same room:
|
|
|
|
**preparing to send** an ``m.call.invite`` to the same room:
|
|
|
|
|
|
|
|
|
|
|
|
* the client should cancel its outgoing call and instead
|
|
|
|
* the client should cancel its outgoing call and instead
|
|
|
|
automatically accept the incoming call on behalf of the user.
|
|
|
|
automatically accept the incoming call on behalf of the user.
|
|
|
|
|
|
|
|
|
|
|
|
- If an invite to a room is received **after the client has sent** an invite to
|
|
|
|
- If an ``m.call.invite`` to a room is received **after the client has sent**
|
|
|
|
the same room and is waiting for a response:
|
|
|
|
an ``m.call.invite`` to the same room and is waiting for a response:
|
|
|
|
|
|
|
|
|
|
|
|
* the client should perform a lexicographical comparison of the call IDs of
|
|
|
|
* the client should perform a lexicographical comparison of the call IDs of
|
|
|
|
the two calls and use the *lesser* of the two calls, aborting the
|
|
|
|
the two calls and use the *lesser* of the two calls, aborting the
|
|
|
@ -83,9 +83,9 @@ replaces it.
|
|
|
|
Server behaviour
|
|
|
|
Server behaviour
|
|
|
|
----------------
|
|
|
|
----------------
|
|
|
|
|
|
|
|
|
|
|
|
The server MAY provide a TURN server which clients can use to contact the
|
|
|
|
The homeserver MAY provide a TURN server which clients can use to contact the
|
|
|
|
remote party. This server should be accessible via the HTTP endpoint listed
|
|
|
|
remote party. The following HTTP API endpoints will be used by clients in order
|
|
|
|
below.
|
|
|
|
to get information about the TURN server.
|
|
|
|
|
|
|
|
|
|
|
|
{{voip_http_api}}
|
|
|
|
{{voip_http_api}}
|
|
|
|
|
|
|
|
|
|
|
|