-
Notifications
You must be signed in to change notification settings - Fork 24
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
feat: Add openrpc changes based on the requirements #254
Conversation
"AudioOutput": { | ||
"title": "AudioOutput", | ||
"type": "string", | ||
"enum": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do these values need to be capitalized as per requirements doc?
"MONO", | ||
"STEREO", | ||
"SURROUND", | ||
"SURROUND_7_1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is missing SURROUND_5_1
"MimeType": { | ||
"type": "string", | ||
"description": "Enumeration of possible Mimetypes.", | ||
"enum": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do methods returning MIME types need to respond with the internal name (AUDIO_AC3) or value (audio/ac3)? I assume the latter but just checking.
src/openrpc/device.json
Outdated
}, | ||
{ | ||
"name": "videoFormatPossible", | ||
"summary": "Get the possible video formats", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method is a check, it does not return any video formats
src/openrpc/device.json
Outdated
}, | ||
{ | ||
"name": "audioFormatPossible", | ||
"summary": "Check the possible video formats", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary is for video but this is an audio method
src/openrpc/display.json
Outdated
"params": [], | ||
"result": { | ||
"name": "height", | ||
"summary": "Height of the display device in centimeters", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The name and summary here are incorrect
src/openrpc/display.json
Outdated
"params": [], | ||
"result": { | ||
"name": "resolution", | ||
"summary": "Height of the display device in centimeters", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The summary is incorrect; this returns a resolution
src/openrpc/display.json
Outdated
}, | ||
{ | ||
"name": "hdr", | ||
"summary": "Returns an array of valid HDR profiles that the display supports", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this summary accurate? Its not just what the display supports, but what's supported given the supplied video resolution (if I'm understanding the requirements correctly).
10fbf15
to
9dd77d2
Compare
PR will be merged to the feature branch and work will progress in the main feature branch |
No description provided.