I am utilizing Chromium/WebRTC to setup a P2P name between two Raspberry Pi 4s with USB webcams. The latency and CPU overhead are dreadful. The video is usually 5-15s delayed. I've tried this with Raspberry Pi OS and Ubuntu desktop model. Provided that I am not operating anything I might figured I might get away with the overhead. Identical js code between two mac/PC works completely.

Is it even doable to have such a setup with first rate efficiency? Any suggestions & tips I ought to pay attention to that you simply may need encountered.


  • Community is kind of good (80mb/s wired) {Hardware} acceleration in Chrome enabled.
  • Tried a number of resolutions (1024/720 as lowest)
  • put in the most recent libgles2-mesa
  • verifed the hw/rasterization acceleration is enabled in chrome://gpu