Remix.run Logo
▲ sufianrhazi 2 hours ago

Also, WebRTC is really hard to inspect even with devtools. Chrome DevTools just doesn't surface WebRTC connections or data transfer at all. There's just chrome://webrtc-internals/ and chrome://webrtc-logs/ which are very hard to use.

▲pimterry an hour ago | parent | next [-]

HTTP Toolkit can do it! https://httptoolkit.com/

Some background and screenshots here: https://httptoolkit.com/blog/decentralized-web-webrtc-debugg.... I'm the author.

When you launch an intercepted Chromium there, it injects a browser extension which hooks webrtc and redirects all connections through a MITM for debugging & rewriting. Only works with bare chromium not chrome nowadays, as Chrome looks down extension setup far more tightly unfortunately (for quite good reasons, but mildly inconvenient for dev).

All open source, backend is also usable standalone: https://github.com/httptoolkit/mockrtc

▲ an hour ago | parent | prev [-]
[deleted]