ngraziano / SharpRTSP

A RTSP handling library
Other
552 stars 182 forks source link

RTSP server streaming pictures #59

Closed aalmik closed 4 years ago

aalmik commented 4 years ago

I have camera taking pictures to directory that I would like to stream. How do I stream jpg files using your RTSP server implementation?

I like very much of your RTSP client and server library. Camera sample works nicely with VLC player.

RogerHardiman commented 4 years ago

Unfortunately there is nothing in the code to read a folder of JPEGs and stream them. You could try and adapt the Camera Example. You'll need to read the JPEGs, decompress them, convert the image into YUV format and then feed the simple H264 encoder but the bandwidth will be very high.