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

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.

主站蜘蛛池模板: 格尔木市| 鲁山县| 阆中市| 黎平县| 西城区| 扎赉特旗| 沧源| 岱山县| 五寨县| 广水市| 泰来县| 子洲县| 余江县| 报价| 凤庆县| 徐闻县| 安丘市| 敦煌市| 汝南县| 安西县| 广宗县| 西峡县| 赣榆县| 钟祥市| 弥勒县| 沁水县| 应城市| 龙里县| 喀什市| 陵川县| 如东县| 霍林郭勒市| 赣州市| 安吉县| 龙海市| 闵行区| 天等县| 无棣县| 新津县| 五家渠市| 安国市|