Streaming live camera captures to rtmp server


#1

I’ve been trying to figure how to stream camera captures of rscam frames to an RTMP server, but to no avail. Any guidance would be helpful.

Each capture fram implements the Deref<Target = [u8]> trait.

Instead of the rscam approach, are there better alternatives?


#2

rscam simply returns raw frames, depending on camera and your settings format can vary from raw Bayer frames, RGB/YUYV frames to JPEG compressed frames. So you will need an RTMP (btw it’s a proprietary protocol) implementation which will be able to consume raw frames. There is a GPL licensed javelin crate, but I am not sure about it’s quality and if it supports necessary functionality.