官术网_书友最值得收藏!

Chapter 1. Developing a WebRTC Application

This chapter describes the basics of developing WebRTC media web applications. You will learn how to build a simple peer-to-peer video conference with a web chat that will work through NAT and firewalls (in most cases).

The video conference developed in this chapter consists of two applications: the client-side application and the server-side application.

The client code is written in JavaScript and will be executed in the customer's web browser. This application uses the WebRTC API, handles all the media features, and provides a web page.

The server code will be executed on a server (it can even be your work machine). We need the server application to make our conference work well with peers behind NAT (peers who use private IP addresses). The server code is written in Erlang, and you will also get a brief introduction to this language.

As a bonus, you will get basic knowledge of Session Traversal Utilities for NAT (STUN) and Traversal Using Relay NAT (TURN) servers. We will discuss them in a more detailed way in Chapter 4, Security and Authentication.

主站蜘蛛池模板: 阳曲县| 尼木县| 柳林县| 华容县| 托克逊县| 和龙市| 鹤山市| 合江县| 龙州县| 天柱县| 阳江市| 平舆县| 孟州市| 浙江省| 元江| 安平县| 远安县| 分宜县| 利辛县| 安福县| 崇仁县| 沙湾县| 揭西县| 吴江市| 崇左市| 灵丘县| 双鸭山市| 托里县| 固镇县| 乐亭县| 赣州市| 蓬莱市| 京山县| 德令哈市| 瑞金市| 鄢陵县| 黄山市| 安吉县| 桐乡市| 青田县| 许昌县|