-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Derived net cams for simultaneous net cams #25
base: master
Are you sure you want to change the base?
Conversation
Meson builds as many net cameras as there are shared libs in uca install folder. Networking functions remain in uca net, remote properties are handled in derived classes.
Forgot to add in previous commit
Good idea, but unfortunately we do not have the plugins installed on the server running the net-instance. |
Ok, so indeed having a default or minimum number of derived classes as a build parameter would be necessary. Like this you'll get derived net cams even if you don't have any shared lib camera plugins installed. I'm not sure I follow why you'd like to build the subclasses in runtime ? Currently, the code for the derived classes is built at build time, and the remote camera properties are instantiated at runtime, just like before, but in seperate derived classes. (I just hated the idea of having |
Only meson supports this for now
The plugins are usually not installed on the "client" side, so reading libuca*.so does not make sense. |
I'm not 100% I didn't beak something here. Some unit tests would be pretty nice in this case.
Derived cameras take the names of shared lib cams you have installed in uca. e.g. mock -> netmock.
Maybe should we add some sort of minimum amount of derived net cams in the build settings ?