Calling
Calling authentication happens on the Omikron and the actual traffic goes trough a self hosted instance of LiveKit. The self hosted LiveKit instance also acts as the signaling server for the calls. The Omikron only authenticates users to join calls.
Getting a Call-Token
Section titled “Getting a Call-Token”To get a Call-Token provide a Call-ID, when the Call-ID provided is currently in use and the user is not invited an error will be returned.
Else:
{ "type": "call_token", "data": { "call_id": "<uuid>" }}{ "type": "call_token", "data": { "call_token": "<token>" }}Inviting someone
Section titled “Inviting someone”Inviting someone to a call that does not exist or you’re not invited to will result in an error.
{ "type": "call_invite", "data": { "call_id": "<uuid>", "receiver_id": "<uuid>" }}{ "type": "success"}FORWARD:
Section titled “FORWARD:”{ "type": "call_invite", "data": { "call_id": "<uuid>", "sender_id": "<uuid>" }}