Page 1 of 1

Error in current implementation of REST API /lens/focus

PostPosted: Thu Jan 25, 2024 1:46 pm
by Viktor Laga
There is an error in GET /lens/focus.
Documentation outlines that the parameter is named focus, but currently it's normalised.
Code: Select all
{
    "normalised": 0.7
}


For the PUT command two options are usable:
Code: Select all
 { "normalised" : value }
and
Code: Select all
 { "focus" : value }


value is in the range of 0 to 1.

Re: Error in current implementation of REST API /lens/focus

PostPosted: Fri Mar 22, 2024 11:02 am
by stereo3d
I came accords the same issue with the blackmagic micro studio 4k.
Although the post is old thank you.