Skip to content

Allow choiceHint #1194

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

Closed
azaroth42 opened this issue Jul 11, 2017 · 6 comments
Closed

Allow choiceHint #1194

azaroth42 opened this issue Jul 11, 2017 · 6 comments

Comments

@azaroth42
Copy link
Member

From the AV work, we know that we need to hint to the client whether it (the software) should make the choice or whether the user should make the choice. Something like the description below.

The question is whether the list of values is closed or whether there can be any URI as per viewingHint? My preference would be to allow additional hints via full URIs to enable experimentation without getting in the way of validation.


A hint associated with a Choice resource that a client can use to determine the publisher's intent as to which agent SHOULD make the choice between the different options. In the absence of any choiceHint value, the rendering application can use any algorithm or process to make the determination.

  • A Choice MAY have exactly one choiceHint, and the value MUST be one of the options described below.
Value Description
client The client software is expected to select an appropriate option without user interaction.
user The client software is expected to present an interface to allow the user to explicitly select an option.
{"choiceHint": "client"}
@zimeon
Copy link
Member

zimeon commented Jul 12, 2017

I like the general pattern of allowing URIs for extension (per #1075 (comment)), but to have extension with fallback for interoperability one would want to be able to specify a defined value and a custom URI. But then if multiple values were allowed we'd need extra rules saying how to resolve/decide which to follow. Without multiple values you are stuck with the default behavior if an extension URI is used but the client doesn't understand it. Not sure what best trade-off is here.

@azaroth42
Copy link
Member Author

Discussion on 8/2/17 call: Different bitrate of videos (or different sizes, qualities for the same image at different endpoints) -- user might choose to degrade their quality. Concerns as to whether this is broadly applicable to other formats/media.

Discuss in Toronto in AV session?

@azaroth42
Copy link
Member Author

Getty discussion: choiceHint defines a feature of an oa:Choice ... which isn't defined or even mentioned in the specification, as it's part of the Web Annotation that is now in a pattern document (previously section 6).

Question as to whether there is ever sufficient information for a client to make an informed choice on behalf of the user -- can make a choice of format. No consensus as to whether it's needed or not.

@zimeon zimeon added this to the Presentation 3.0 milestone Sep 27, 2017
@azaroth42
Copy link
Member Author

Propose to remove it from the spec. We can re-add it later if there's consensus that it's needed.

@zimeon
Copy link
Member

zimeon commented Nov 6, 2017

Agree remove for now and close out this issue. We've aired this a few times and no compelling cases where the client can make a good choice have come up.

@azaroth42
Copy link
Member Author

Closed by #1298.

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

No branches or pull requests

2 participants