Skip to content

Commit

Permalink
fix: Fix resolution descriptions/examples
Browse files Browse the repository at this point in the history
  • Loading branch information
alkalinecoffee committed Aug 12, 2024
1 parent bfcdc87 commit 3132236
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/openrpc/device.json
Original file line number Diff line number Diff line change
Expand Up @@ -570,14 +570,13 @@
},
{
"name": "deprecated",
"x-since": "1.2.0",
"x-alternative": "Video.resolution()"
"x-since": "1.2.0"
}
],
"params": [],
"result": {
"name": "screenResolution",
"summary": "The resolution",
"summary": "The application's grpahical/virtual resolution",
"schema": {
"$ref": "#/components/schemas/Resolution"
}
Expand Down Expand Up @@ -612,13 +611,13 @@
{
"name": "deprecated",
"x-since": "1.2.0",
"x-alternative": "Video.resolution()"
"x-alternative": "MediaCapabilities.videoModes()"
}
],
"params": [],
"result": {
"name": "videoResolution",
"summary": "The video output resolution",
"summary": "The maximum supported video resolution",
"schema": {
"$ref": "#/components/schemas/Resolution"
}
Expand All @@ -630,8 +629,8 @@
"result": {
"name": "Default Result",
"value": [
1920,
1080
3840,
2160
]
}
}
Expand Down

0 comments on commit 3132236

Please sign in to comment.