mpromonet / v4l2rtspserver

RTSP Server for V4L2 device capture supporting HEVC/H264/JPEG/VP8/VP9
The Unlicense
1.86k stars 428 forks source link

feature request: create a rtspserver class to use it in other customized projects #234

Closed jgomezlopez closed 3 years ago

jgomezlopez commented 3 years ago

It is handy to have a general class to use in other projects use rtsp server functionality

mpromonet commented 3 years ago

Dear @jgomezlopez

This is the aim of V4l2RTSPServer, one example that use it is https://github.com/mpromonet/v4l2onvif/blob/master/src/onvif-server.cpp

Best Regards, Michel.

jgomezlopez commented 3 years ago

I was thinking in converting the main functionality of the main file in a class.

mpromonet commented 3 years ago

Hi @jgomezlopez

This is what does the class V4l2RTSPServer, and the library libv4l2rtspserver, that I am using in others projects like https://github.com/mpromonet/v4l2onvif and https://github.com/mpromonet/v4l2web. Feel free to submit a Pull Request to precise what you have in mind.

Best Regards, Michel.