Book Image

WebRTC Cookbook

By : Andrii Sergiienko
Book Image

WebRTC Cookbook

By: Andrii Sergiienko

Overview of this book

Table of Contents (15 chapters)
WebRTC Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring a WebSockets proxy on the web server


WebSockets is a new protocol that enables active messaging from server to client. It is supported by all modern web browsers. This protocol is implemented on top of HTTP and can be easily served by most popular web servers. It can also be served over secured channels, such as HTTPS. Because of WebSockets' advantages, people often choose this protocol for their client-server projects. In WebRTC-based applications, WebSockets usually serves as a transport protocol for signaling server implementation.

Configuring a WebSockets proxy on a web server can be very useful if you have used WebSockets as a transport layer for communicating with the signaling server. For some cases, it might even be mandatory.

Getting ready

Configuring this feature requires making changes in the configuration files of the web server. We will not cover the entire web server's installation and configuration process, so you need to have the web server up and running.

How to...