Skip to content

src: stream: Make the old settings compatible.#95

Draft
joaoantoniocardoso wants to merge 1 commit intomavlink:masterfrom
joaoantoniocardoso:make-old-settings-compatible
Draft

src: stream: Make the old settings compatible.#95
joaoantoniocardoso wants to merge 1 commit intomavlink:masterfrom
joaoantoniocardoso:make-old-settings-compatible

Conversation

@joaoantoniocardoso
Copy link
Collaborator

Turns out that we can make the tag "type" as optional for VideoCaptureConfiguration ("type": "video"), but required for any other, like RedirectCaptureConfiguration ("type": "redirect").

Fixes #81.

Turns out that we can make the tag "type" as optional for
VideoCaptureConfiguration ("type": "video"), but required
for any other, like RedirectCaptureConfiguration ("type": "redirect").
@joaoantoniocardoso joaoantoniocardoso marked this pull request as draft July 19, 2022 23:05
@joaoantoniocardoso
Copy link
Collaborator Author

Draft: I'm still testing all cases.

@patrickelectric
Copy link
Member

That's a requirement to make it easy for the frontend to detect the object type inside the json. enums must be tagged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failing to load settings between versions

2 participants