Skip to content

whilenot-dev/cool-bugs-vs-shitty-bugs-part-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Streaming video via Motion JPEG and counting established TCP sockets

This is the playground for a blog post. It consists of a simple MJPEG stream video server and an SPA.

The main branch has the fix already applied. To recreate the mentioned bug just comment out img.removeAttribute("src") in main.js.

Have fun!

Usage

To launch the MJPEG server:

$ ./src/mjpeg-server/serve.sh

To launch the SPA:

$ ./src/spa-server/serve.sh

Dependencies

The following packages are needed to launch the MJPEG server successfully (assuming Fedora):