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

Summary

In this chapter, we saw how to build a chatroulette using our own instance of PeerServer that is integrated with Express. The website we build had almost all the features that a chatroulette should have. You can now add features such as screen sharing, connecting users of particular a gender with each other, connecting users of a particular age, integrating captcha to prevent spam, and other features of your choice.

At the time of writing, the WebRTC team is working on an API that allows you to retrieve a stream from a screen for screen sharing. As this API is still under development, you can use browser plugins to retrieve a stream from a screen. You can find more about retrieving a stream from a screen using the plugins at https://www.webrtc-experiment.com/Pluginfree-Screen-Sharing/.

In the next chapter, we will discuss bidirectional communication between the client and the server in real time using WebSockets.

主站蜘蛛池模板: 南陵县| 奈曼旗| 梧州市| 宁晋县| 乌鲁木齐市| 深圳市| 岳阳县| 桦川县| 和龙市| 芜湖市| 宁陵县| 泌阳县| 定州市| 米泉市| 巩义市| 天台县| 策勒县| 汨罗市| 襄樊市| 灵寿县| 博白县| 侯马市| 仁寿县| 金山区| 涟源市| 绥德县| 清徐县| 台东县| 分宜县| 乐亭县| 桦甸市| 宜宾市| 留坝县| 浙江省| 晋宁县| 绥化市| 象山县| 石台县| 谷城县| 开远市| 中山市|