This tool helps you to debug WebRTC connections.
- Able to display any info about the PC track
- Able to display PC statuses (
signalingState
,iceGatheringState
,connectionState
,iceGatheringState
) - Able to display any info from PC.getStats
- Support for multiple RTCPeerConnection instances
- The debuggers position could be changed by the user. (left, right)
- Reactive component
- Able to display
offer
andanswer
- Able to display the generated ICE Candidates
- User is able to customize what he/she wants to see
import { Analyzer } from "webrtc-analyzer";
<Analyzer peerConnections={[pc1, pc2]} isVisible={true} position="right" />
import { renderWebRTCAnalyzer } from "webrtc-analyzer";
renderWebRTCAnalyzer({
peerConnections: [pc1, pc2], //Array - containing RTCPeerConnection instances
isVisible: true, //Boolean - true by default
position: 'right' //String - right by default (left | right)
}, '#wa-app') //Select where the component gets rendered to
CTRL
+ H
to toggle
CTRL
+ W
to toggle
Download and install dependencies, build.
yarn install
yarn run build
3.0.0