- WebRTC is good for streaming and peer to peer web application.
- WebSocket is good for centralized real time application like broadcast event or chat.
- WebRTC is has higher performance, while WebSocket is more for bi - directional communication.
- So, for video chat application. The streaming should be done within WebRTC while the text chat should go with WebSocket.
- Links to StackOverflow discussion are these.
- Screenshot of both discussions.