Fix a bug - saving camera settings was triggering networksConfigUpdated event
Hookup camera update
TODO:
- simplify APi utilities - consider replacing inheritance with composition
- Add brightness control setting to API
- Clean up main
- Change handling of APIServer start & StreamServer start
to the WiFiHandler
- Call the setupWifi in the WiFiHandler begin method
- Remove WiFiHandler from APIServer and pass in ProjectConfig directly
- Finally fix preferences lib
- Setup API to use the preferences lib
- Setup the WiFiHandler to use the preferences lib
- Remove the triggerWifiConfigWrite
in favour of handling that in the setWiFi method itself
- Optimize the dependency injection model for the API classes
- Removed the constructor params from the base-classes of APIServer
- Allocate data to the base-class members in the Constructor of APIServer