A simple Raspberry Pi streaming service.
This is important step. You can follow turtorial here.
There are two way to import code. Clone all repository or copy content of pi.py.
Simple, type in terminal: python3 pi.py
Now you can visit streaming in browser or tools like VLC. Note: Please make sure you have true IP address and port of device.
URL to visit maybe like: http://192.168.1.xyz:8000/stream.mjpg
If you want this script auto run when startup, you can use cron.