CloudServices/Loop: Difference between revisions

Jump to navigation Jump to search
Line 43: Line 43:
The workflow is as follows:
The workflow is as follows:


   1. Bob registers with SimplePush, he gets a simple push url back and listens to the WebSocket connection;
   1. Bob's client registers with SimplePush, he gets a simple push url back and listens to the WebSocket connection;
   2. Bob asks the server to generate a call url for him;
   2. Bob's client registers with the loop server
   3. Bob gives this URL to Alice;
  3. Bob asks the server to generate a call url for him;
   4. Alice clicks on the link, server validates the URL and displays a WebApp with a message "do you want to call Bob"?
   4. Bob gives this URL to Alice;
   5. Alice decides to call Bob, server validates the URL
   5. Alice clicks on the link, server validates the URL and displays a WebApp with a message "do you want to call Bob"?
   6. Server gets provider tokens;
   6. Alice decides to call Bob, server validates the URL
  7. Server stores the callee token and session id in database;
   7. Server gets provider tokens; Server stores the callee token and session id in database;
   8. Server pings the Simple Push Server to wake up Bob's client;
   8. Server pings the Simple Push Server to wake up Bob's client;
   9. Server returns caller token, session id and API Key to Alice's client
   9. Server returns caller token, session id and API Key to Alice's client
Confirmed users
120

edits

Navigation menu