Use my detailed method to get the stream up online, there are two methods provided in it, first is via python script and second is through MediaMTX which is highly optimized for streaming and makes a peer to peer connection giving extremely low latency and cpu usage. find more info here: https://github.com/LovejeetM/vslam_raspberry-pi/tree/main/stream_setup