Skip to main content

Internet speed requirements for webcam streaming

In order to get a buttery-smooth webcam stream, you need to make sure the Internet connection speed is fast enough. Otherwise, the webcam stream may become choppy, or even get completely stuck.

The minimum Internet speed required for a solid Premium Stream depends on 3 factors:

info

There are actually 2 kinds of connection speed:

  • The Internet download speed on your phone or your computer, whichever you are using The Spaghetti Detective app on.
  • The Internet upload speed on your Raspberry Pi. This is often overlooked. And trickier to find out too.

If the streaming mode is "premium (advanced)",​

For every 100k pixels webcam resolution, you need 2Mbps Internet speed to have a solid Premium Stream.

For instance,

Resolution# of Pixelsframe ratespeed requirement
320x240 (low)~77k25 FPS1.6Mbps
640x480 (medium)~300k25 FPS6Mbps
1296x972 (high)~1,260k25 FPS26Mbps
1640x1232 (ultra high)~2,000k25 FPS40Mbps
info

The Premium Streaming is in advanced mode. In this mode, the frame rate is always 25 fps (frames-per-seconds).

If the streaming is in "Premium (compatibility)":​

For every 100k pixels webcam resolution and 10 fps, you need 0.75Mbps Internet speed.

For instance,

Resolution# of Pixelsframe ratespeed requirement
320x240 (low)~77k10fps0.6Mbps
320x240 (low)~77k20fps1.2Mbps
640x480 (medium)~300k10fps2.3Mbps
640x480 (medium)~300k20fps4.6Mbps
1296x972 (high)~1,260k10fps9.5Mbps
1296x972 (high)~1,260k20fps19Mbps
1640x1232 (ultra high)~2,000k10fps15Mbps
1640x1232 (ultra high)~2,000k20fps30Mbps
info

When the webcam streaming is in "Premium (compatibility)" mode, The Spaghetti Detective plugin doesn't control the webcam's resolution or frame rate. Instead, they are set by the OctoPrint's original streaming process.

If the streaming is in "Basic":​

Basic Streaming doesn't have any requirement on the Internet connection speed. Almost anywhere you have an Internet connection, the Basic Streaming will work.