reolinkapigo icon indicating copy to clipboard operation
reolinkapigo copied to clipboard

ImageSettings (image_mixin) enums do not contain all setting options

Open Benehiko opened this issue 5 years ago • 0 comments

The ImageSettings have quite a range of options that could be set, however I could not create all the enums for each setting due to not having the range values.

For example:

ok, err := camera.API.SetAdvanceImageSettings(
	api.ImageAdvancedOptionDayNight(enum.DAY_NIGHT_AUTO),
	api.ImageAdvancedOptionBacklight(enum.DYNAMIC_RANGE_CONTROL),
	api.ImageAdvancedOptionBlc(1),
	)(camera.RestHandler)

The enum.DAY_NIGHT_AUTO is the only option I can set currently on DayNight switching due to not knowing the full range.

There are a couple of other enums that have the same problem. will create separate issues for them as well.

Benehiko avatar Dec 15 '20 09:12 Benehiko