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

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.

主站蜘蛛池模板: 长岭县| 抚州市| 得荣县| 井冈山市| 纳雍县| 乐业县| 丁青县| 定日县| 元谋县| 布拖县| 万源市| 马关县| 泸州市| 临沂市| 分宜县| 汤原县| 青龙| 榆中县| 湘潭市| 巴林右旗| 新巴尔虎左旗| 兴安盟| 康乐县| 孟州市| 体育| 临夏市| 灌南县| 维西| 南充市| 阿拉善盟| 富顺县| 舟曲县| 叶城县| 青浦区| 宜城市| 德钦县| 神池县| 桐梓县| 宣城市| 盈江县| 合水县|