Great, now you're able to make calls from one browser to another. Your application is starting to look pretty sweet. There's only one thing still missing though. How will you figure out who is available to receive an incoming call? Furthermore, how will you keep this list updated as clients connect and disconnect?
We can show a list of people who are available to be called in a few easy steps as follows:
presenceevent is received, add or remove that client from a list in the UI.
The complete code for this recipe can be found in the