
A local camera preview can look sharp while the remote video freezes. Call setup, transport and video encoding introduce separate failure points. The browser interface at the center of this behavior is RTCPeerConnection.
Follow the value through the browser
It helps to run the same input twice when evaluating RTCPeerConnection. Use a first visit for the unfamiliar path, then repeat the action after the browser has already initialized the page. Keep the records separate. Mixing a cold run and a repeat can make an initialization issue look like a persistent limitation.
A small acceptance test for this feature
Run a consented two-device test, inspect getStats on both sides and compare local capture resolution with outbound and inbound frames. Record sampling times.
Capture one baseline run before changing the device configuration. For the second run, change just the condition under investigation and repeat the same action. This is especially helpful when a browser update, a peripheral change and an application release all arrive in the same week.
Check the individual members
The compatibility record for a whole interface can predate a particular capability. The implementation decision for RTCPeerConnection depends on which member the application actually uses. Read the three desktop entries in order: Chrome, Firefox, then Safari.
RTCPeerConnection— version 56, version 44, version 11.addIceCandidate— version 24, version 22, version 11.addStream— version 24, version 22, conditional or historical entry.
Which browsers record support for RTCPeerConnection?
All six browser families in the table have an unprefixed entry without a flag or a partial-implementation marker for this interface. The earliest recorded versions differ across families. A broad row of positive entries still leaves individual members, device access and platform limits to examine.
| Browser family | First recorded standard entry |
|---|---|
| Chrome desktop | Version 56 |
| Firefox desktop | Version 44 |
| Safari on macOS | Version 11 |
| Chrome on Android | Version 56 |
| Firefox on Android | Version 44 |
| Safari on iOS | Version 11 |
Source snapshot: MDN Browser Compatibility Data 8.1.10, 19 November 2026. “Version” is the first recorded entry in this comparison. Individual methods can have later introduction dates.
Plan for the unavailable case
Avoid treating one aggregate bitrate as a diagnosis. The sender, network and receiver observe different portions of the call.
typeof globalThis.RTCPeerConnection !== "undefined"This expression checks the interface or property in the current JavaScript environment. A positive answer does not run the device test above. Consult the member-level entries for RTCPeerConnection, addIceCandidate, addStream when any of them is a requirement.
Sources and further reading
- RTCPeerConnection reference and member details
- Interface specification
- MDN compatibility data, version 8.1.10
Cover photograph: For your safety by gorlapraveen. CC BY-SA 4.0. Cropped and typeset for this cover. The photograph illustrates the topic. This image adaptation uses the same share-alike license.
