Real-Time Communication with WebRTC by Salvatore Loreto and Simon Pietro Romano

Real-Time Communication with WebRTC by Salvatore Loreto and Simon Pietro Romano

Author:Salvatore Loreto and Simon Pietro Romano
Language: eng
Format: mobi, epub
ISBN: 9781449371876
Publisher: O’Reilly Media, Inc.
Published: 2014-04-06T04:00:00+00:00


The code performs the following actions:

Allows the client to connect to the server (through the socket.io library)

Prompts the user for the name of the channel she wants to join

Sends a create or join request to the server

Starts to asynchronously handle server-sent events.

In the remainder of this chapter, we will follow a complete call flow in a step-by-step fashion. Before doing this, though, we will take a look at the server-side behavior. The server has been written by leveraging the Node.js JavaScript library.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.