the WebRTC : web Real-Time Communication, web instant messaging, is a supported web browser for real-time voice conversations or video conversation (Simply put , that is, the introduction of real-time communications web browser inside, including audio and video calls, etc.) of API ( Native C ++ API, web API). Google open source, is a W3C Recommendation. Cross-platform support ( Windows, Linux, mac, Android).
1. webrtc interface testing tool
1.1 Description
In the Chrome address bar enter the chrome: // webrtc-internals of this order, by tracking RTCPeerConnections , it will demonstrate there webrtc pages related functions are enabled, and statistical data generated during a call.
1.2 Use
- Download chrome browser
- With chrome open your web browser: chrome: // the WebRTC-Internals / . At this point there is no data
-
Open a follow webrtc page protocol ( https://webdemo.agora.io/agora_webrtc_troubleshooting/ )
-
Click webrtc agreement page of START, to start the test.
As follows:'re trying to get microphone, corresponding webrtc protocol data test page as follows, GetUserMedia Request
Compatible tools page detects screen resolution and other information, the WebRTC protocol data test page will display the corresponding resolution and other data
RTCPeerConnection audio and video data communication: Compatible Tools page file will send audio and video data, parameters corresponding webrtc protocol test data will be displayed
Analytical Results: Description divided into the following three parts:
Top-down observed this figure, this figure will be divided into three parts will be described:
- The first part, which is above the green line (top figure) has two blocks, the first box is displayed information PeerConnection, if there are multiple PeerConnection, then there will be a number of similar tabs
- The second part, indicated in FIG. Time and Event area (FIG partial upper left), this section describes the process PeerConnection established order and associated method invocation call time
- The third part, indicated in the figure Stats Tables section (on the right side and the lower half of figure), this part of the main show is PeerConnection relevant statistical data, and statistical information we want to explain is that the audio and video streams , as shown below, data transmission and reception case frame, the transmission of the number of other byte
2. Verify webrtc compatibility gadgets
2.1 Description
Running on the PC browser and a mobile terminal browser can automatically detect whether the device browser to run correctly WebRTC application. Detectable items include: browser compatibility; microphone recording is normal; if the speaker play normally; the current device resolution which can support; network connections and audio and video bit-rate at the current network, packet loss rate; the camera (user selectable )Wait
2.2 Use
Use PC side browser (or mobile terminal browser) to open the following link and follow the guidelines to operate. https://webdemo.agora.io/agora_webrtc_troubleshooting/