-
Notifications
You must be signed in to change notification settings - Fork 163
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
Updating Hero12 resolution settings over USB yields HTTP 403. #584
Comments
Hello. My guess is that you are not in a mode that uses the Video Resolution. Can you ensure to enter Video mode by either swiping on the UI or loading the video preset group. Using the Python SDK, I just tested every resolution listed in the spec and see expected behavior. Here are some snippets reproduced with First a valid resolution option...
Now an invalid resolution option...
|
I can confirm that the camera is indeed in video mode, and I am loading the video preset group prior to attempting to alter video resolution and frame rate. I do have an older SD card inserted, which causes the camera to display a warning about not supporting higher resolutions / frame rates. Could this be an issue? The camera boots into the 'standard' 4k quality setting, and I am attempting to lower it to 1080p. |
I've installed an appropriate A2 SD card, and added the additional call to ensure that the video preset group is loaded, and still encounter the same issue: user@device ~ % curl -v -XGET --url 'http://172.25.110.51:8080/gopro/camera/control/wired_usb?p=1'
< HTTP/1.1 200 OK
< HTTP/1.1 200 OK
< HTTP/1.1 403 Forbidden
I have a second Hero 12 here that I will rerun the same test sequence with and report back. |
I can confirm that the second camera exhibits the exact same behaviour: user@device ~ % curl -v -XGET --url 'http://172.29.146.51:8080/gopro/camera/control/wired_usb?p=1'
< HTTP/1.1 200 OK
< HTTP/1.1 200 OK
< HTTP/1.1 403 Forbidden
|
Getting the same 403 Forbidden results here with Hero 12 black when trying to set either FPS or Resolution options. @mmarich did you identify a solution? |
Update. I was able to solve this issue by changing controls from "Easy" to "Pro". |
I can confirm that setting the controls to pro using the HTTP interface does allow the resolution and frame rate settings to be updated. @tcamise-gpsw I would ask that the firmware is updated to indicate this as part of the HTTP 403 response. Does this seem like a reasonable request? I also did encounter an HTTP 500 error when attempting to set the frame rate on a Hero12 to 60fps after setting the resolution to 1080p. Instead, setting the frame rate to 30fps seems to succeed. I'll investigate this further and possibly create a new ticket if necessary. For now my only request is to provide a meaningful error message. |
Component
HTTP API (USB)
Describe the bug
Attempting to set the video resolution (the same issue occurs when attempting to set the video frame rate) results in a HTTP 403 error. The same error occurs with or without the command to enable wired control.
To Reproduce
Connect to camera via USB, and execute the following CURL commands as per the OpenGoPro documentation:
Expected behavior
The video resolution is updated. In this case, the requested resolution is for 1080p, although other resolutions supported by the Hero12 also fail.
Hardware
The text was updated successfully, but these errors were encountered: