WebRTC gives a browser ways to send real-time audio, video and other data. A chat website still needs to decide who can meet, request access to devices, exchange setup information and show controls. Knowing which part has failed can spare you from repeatedly turning your camera on and off when the issue is elsewhere.
The browser asks for the camera or microphone
If you choose video, the site requests a media stream from the browser. The browser applies its site and device rules. A working stream can be shown in a local preview before it is shared in a call. Choose the intended input, check what is in frame and verify that the page stops using the device when you leave.
A useful first check is the local webcam preview. If that works, the browser and camera can at least produce a picture for that page. If the chat app still shows a black box, check that site’s own permission and stage of the call. A remote blank tile can also mean no media has arrived from the other participant.
The service helps the browsers agree on a call
A service needs some way to tell each side about the call. That exchange is called signalling. It can carry descriptions of the streams and information about possible network paths. WebRTC gives the browser interfaces for the peer connection. The service chooses how to deliver the setup messages, which may use a WebSocket but could use another transport. WebRTC’s peer connection guide
Imagine that both people can see their own previews yet neither sees the other. The page may not have found or completed a match. The browsers could also have exchanged enough to start but failed to find a usable path. If text arrives through a separate service, that tells you only that the text path is working. The video connection can still be waiting.
A site can show different parts of this process in its status messages. A good diagnosis keeps track of the last state you saw, such as waiting for a partner, connecting, or call started without remote video. Ask the other person what their screen shows when you are both testing a planned call.
The browsers look for a usable network path
Many devices are behind routers or networks that affect inbound connectivity. WebRTC uses a method known as ICE to gather and check possible paths. A STUN service can tell a browser what network address an outside server sees. A TURN service can relay traffic when a direct path is impractical or when the call is configured to use a relay. Some group services handle media with additional servers. WebRTC’s explanation of TURN
This helps explain why a browser call can work at home and fail at work, or work on one mobile network and fail on another. A router or network policy can affect the available paths. Ask the network owner for legitimate access if it is required. Avoid changing shared network settings merely to see whether another route exists.
Test the part you can test locally
Our WebRTC tester sends a short message between two peer connections in the same browser. That exercises the browser’s real WebRTC data-channel interface. It checks neither the chat operator’s signalling nor the connection between two people on different networks. If the tester passes and an internet call fails, check the service and network conditions next.
For audio or image trouble, check media permissions separately. Listen for a test tone at a low volume, confirm which mic the browser selected and stop the checks before joining any other room. See the camera and microphone troubleshooting guide for a longer walkthrough.
WebRTC’s transport protection is only part of privacy. The people in the call can still see and hear what you send, and service architecture affects the other data that may be seen or stored. Check the privacy and reporting documentation for the actual service before using a format that reveals information you want to keep private. WebRTC’s introduction to browser calling
Frequently asked questions
Does a working camera preview prove that WebRTC works?
A preview shows that the page can capture video. Connecting to another browser also needs call setup and a usable network path.
Does every browser chat make a direct connection?
No. Some configurations use relays or media servers, depending on the service and available network paths.
Can WebRTC carry text?
Its data channels can carry messages, but a site can also use a separate system for text and room controls.
