-
Notifications
You must be signed in to change notification settings - Fork 4
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
Sender Capabilities #63
Comments
The spec changed crucially but the idea of Sender Capabilities is still actual and should be considered in future. Renaming the issue: Source Capabilities -> Sender Capabilities. |
Describing it seems more clear than before so we may want to consider adding Sender Capabilities in the closer prospective than versions after v1.0.
|
Whose responsibility should it be to make a subset. If the Node has to evaluate whether something is a subset, how much more work is it to try to produce an intersection when it isn't? E.g. when parameter constraint in Sender |
Sender capabilities are for the Controller, similar to Receiver capabilities ... Receiver capabilities today are more important than Sender capabilities because of the lack of Source/Flow on the receiver side. On the Sender side, IF there is a valid signal the actual Flows and Sources associated to the various Senders of a device provide some information about what the device is capable of ... But having Sender capabilities would help a Controller know without any active signals what a Sender is capable of and then know before getting a 422 status that a Sender is not capable of supporting some constraint value. I think we should see it as a way for a Controller to prevent getting a 422 status. I would not have normative language in IS-11 indicating that a Sender shall behave in any specific way regarding its declared capabilities and the active constraints ... relying only on returning a 422 status when it is not capable of supporting a given constraint value or combination of constraint values. |
Regarding my previous message, I would say the Node is responsible for validating Active Constraints against Sender Capabilities. The work for producing an intersection looks as complex as now: the Controller never knows when it'll get 422, but Sender Capabilities at least give some hints. Though, I don't insist on validating, it may be just declaration as Alain described. |
I agree that we should think about describing Sender capabilities more than |
The |
What would be the point of supporting constraints that weren't used to express the Sender's capabilities? |
For example a device X supports almost any resolution (w x h x rate) with some rare exceptions ... I think that describing ALL the possibilities in the Sender capabilities would not be a good idea and instead indicating generic minimum/maximum could cover most cases ... The Sender's could still in some rare cases return a 422 error. Maybe adding a debug string along with the 422 error to describe the reason of the error. |
OK, I see, you are saying it may make sense to not enumerate all possible width x height in separate constraint sets in IS-04 Sender |
I agree that there may be cases where you want to return |
In some cases it's possible to know some of Source capabilities (e.g. Gateway Sender has its own restrictions which are narrower than HDMI Sources' ones). Utilizing
caps
of Source should be considered for it as well as a new HTTP response code for PUT/media-profiles
operation.The text was updated successfully, but these errors were encountered: