DEV Community

Discussion on: Video Chatting and Screen Sharing with React, Node, WebRTC(peerjs)

Collapse
 
tomeraitz profile image
Tomer Raitz

Excellent article, thank you for this.

I have a question if you know (or anybody else), why we need WebSocket? I understand that webRtc doesn't use SIP (signaling protocol), and we need the WebSocket for the connection. But I saw this RTCPeerConnection() in the webRtc API, and I don't fully understand what it means? Can't we accomplice connection with RTCPeerConnection()?