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

Using WebRTC in your browser

Now that you know which browser to use, we will jump right in and try out WebRTC right now! Navigate your browser to the demo application available at https://apprtc.appspot.com/. If you use Chrome, Firefox, or Opera, you should see a drop-down notification that looks similar to this:

Click on Allow to start streaming your audio and video input to the web page. You might have to configure your microphone or web camera settings to get them to work. Once you allow browser access to your camera and microphone, you should see a video feed of yourself from your camera.

The page should generate a custom ID for your current session. You should see this reflected in the URL of the page, such as https://apprtc.appspot.com/r/359323927. Simply copy and paste this URL into another browser window, either on your own computer or another one, and load the web page. Now, if everything works correctly, you should see two video feeds—one from your first client and another from the second. It should start to make sense why WebRTC is a powerful solution. This is how easy WebRTC makes real-time communication in the browser.

主站蜘蛛池模板: 崇仁县| 吉林省| 青田县| 哈尔滨市| 东阿县| 平塘县| 西盟| 小金县| 南岸区| 永修县| 西安市| 拉孜县| 阿拉善左旗| 富宁县| 蓝田县| 临澧县| 宁都县| 正阳县| 曲靖市| 周至县| 磐安县| 台北县| 桐梓县| 灯塔市| 清新县| 龙胜| 奉节县| 临沧市| 徐水县| 鞍山市| 石泉县| 富锦市| 进贤县| 双辽市| 延寿县| 涿鹿县| 桦南县| 武川县| 凤山县| 应城市| 额尔古纳市|