- Learning WebRTC
- Dan Ristic
- 197字
- 2021-07-16 13:53:42
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.
- JavaScript修煉之道
- 程序設(shè)計(jì)與實(shí)踐(VB.NET)
- Python網(wǎng)絡(luò)爬蟲(chóng)從入門(mén)到實(shí)踐(第2版)
- TestNG Beginner's Guide
- 營(yíng)銷(xiāo)數(shù)據(jù)科學(xué):用R和Python進(jìn)行預(yù)測(cè)分析的建模技術(shù)
- Scratch 3.0少兒編程與邏輯思維訓(xùn)練
- C/C++常用算法手冊(cè)(第3版)
- 深度學(xué)習(xí):算法入門(mén)與Keras編程實(shí)踐
- Visual C++數(shù)字圖像處理技術(shù)詳解
- bbPress Complete
- Geospatial Development By Example with Python
- Java Hibernate Cookbook
- TypeScript圖形渲染實(shí)戰(zhàn):2D架構(gòu)設(shè)計(jì)與實(shí)現(xiàn)
- 分布式數(shù)據(jù)庫(kù)HBase案例教程
- Vue.js 3.x高效前端開(kāi)發(fā)(視頻教學(xué)版)