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

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.

主站蜘蛛池模板: 仪陇县| 望江县| 丹寨县| 桓台县| 钦州市| 会理县| 神木县| 库车县| 法库县| 南陵县| 迁西县| 雷山县| 庆元县| 讷河市| 余江县| 张家界市| 绥芬河市| 三河市| 江达县| 大埔县| 通河县| 富顺县| 济源市| 无锡市| 潍坊市| 江都市| 江北区| 阿勒泰市| 丰城市| 清新县| 九江县| 鄂温| 海城市| 周至县| 平遥县| 青阳县| 天台县| 准格尔旗| 英山县| 聂拉木县| 微博|