Hi, @guysoft , @foosel .
I have a working prototype of HLS streaming from RaspberryPi, through not embedded it to OctoPrint UI yet.
However, it's working on a separate web page in all browsers, and provides side MJPG frames for timelapses.
It have couple disadvantages:
- By design, HLS have lag. I was able to bring it down to 3 - 5 sec.
- I was not able to make it work with MJPG-streamer at the same time due to V4L2 limitations - one consumer per device.
But it have advantages:
- H264, which is a effective video codec.
- No more MJPG-streamer bugs.
- Uses Raspberry Pi hardware H264 encoder.
- Uses standard HTML5 video tag and HLS.js lib, which is well supported.
- Able to add audio.
- Able to carry multiple resolutions and bitrates.
- Future-proof. We will be able to switch to HEVC or AV1 when they become supported.
I just wanted your opinion on if the 3-5 sec lag will be acceptable.
Hi, @guysoft , @foosel .
I have a working prototype of HLS streaming from RaspberryPi, through not embedded it to OctoPrint UI yet.
However, it's working on a separate web page in all browsers, and provides side MJPG frames for timelapses.
It have couple disadvantages:
But it have advantages:
I just wanted your opinion on if the 3-5 sec lag will be acceptable.