Skip to content
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

Query for all API versions #72

Open
pkeroulas opened this issue Oct 4, 2021 · 2 comments
Open

Query for all API versions #72

pkeroulas opened this issue Oct 4, 2021 · 2 comments

Comments

@pkeroulas
Copy link

Hello folks,
We're using this client in a docker image bundled by @rhastie. Our registered end devices supports different versions of NMOS APIs but they may not overlap. So we need to go back and forth in the setting page to modify the Query API version to see them appear in the Node list.
Would it make more sense to use all the Query API versions by default to see all these Nodes simultaneously?
Thanks
PK

@garethsb
Copy link
Contributor

garethsb commented Oct 4, 2021

Can you explain a bit more about your issue?

Example set up

  • Node A - v1.3 only
  • Node B - v1.2 only
  • Node C - v1.2, v1.3
  • Registry R - v1.2, v1.3

In this example there are several possible kinds of query a client could make on R...

  • Query on R v1.3 shows A and C, but not B
  • Query on R v1.2 shows A, B and C (you may find this surprising?) but strips out v1.3-specific properties of A and C
  • Query on R v1.3 with api.downgrade=v1.2 also shows A, B and C but doesn't strip the v1.3 properties, but is more challenging for a client to handle because it has no way to tell which version it is getting

The nmos-js does not support using api.downgrade right now.

@pkeroulas
Copy link
Author

I've just realized that I was confused by some disconnecting devices. Everything looks normal now, regarding what you describe.
Thanks for clarifying, @garethsb . You can close this.

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

No branches or pull requests

2 participants