Can WebRTCs Replace WebSockets?
A Websocket establishes a connection between two browsers (clients) via a web server.
When these browsers interact, WebRTCs help sends and receive messages between these browsers without involving the web server that’s mentioned above.