feat(protocol): negotiate display and native input
This commit is contained in:
@@ -178,6 +178,16 @@
|
||||
"refresh_expires_at": {"type": "string", "format": "date-time", "maxLength": 64}
|
||||
}
|
||||
},
|
||||
"DisplayMode": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["resolution_width", "resolution_height", "fps"],
|
||||
"properties": {
|
||||
"resolution_width": {"type": "integer", "minimum": 320, "maximum": 16384},
|
||||
"resolution_height": {"type": "integer", "minimum": 200, "maximum": 8640},
|
||||
"fps": {"type": "integer", "minimum": 1, "maximum": 240}
|
||||
}
|
||||
},
|
||||
"SessionRequest": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -187,7 +197,8 @@
|
||||
"device_key_id": {"type": "string", "minLength": 1, "maxLength": 128},
|
||||
"pool_id": {"type": "string", "minLength": 1, "maxLength": 128},
|
||||
"idempotency_key": {"type": "string", "minLength": 1, "maxLength": 256},
|
||||
"policy_snapshot": {"$ref": "#/$defs/AllocationPolicy"}
|
||||
"policy_snapshot": {"$ref": "#/$defs/AllocationPolicy"},
|
||||
"requested_display_mode": {"$ref": "#/$defs/DisplayMode"}
|
||||
}
|
||||
},
|
||||
"ReconnectRequest": {
|
||||
@@ -219,7 +230,9 @@
|
||||
"correlation_id": {"type": "string", "minLength": 1, "maxLength": 128},
|
||||
"requested_at": {"type": "string", "format": "date-time", "maxLength": 64},
|
||||
"ended_at": {"type": "string", "format": "date-time", "maxLength": 64},
|
||||
"version": {"type": "integer", "minimum": 1}
|
||||
"version": {"type": "integer", "minimum": 1},
|
||||
"requested_display_mode": {"$ref": "#/$defs/DisplayMode"},
|
||||
"effective_display_mode": {"$ref": "#/$defs/DisplayMode"}
|
||||
}
|
||||
},
|
||||
"AllocationPolicy": {
|
||||
@@ -279,7 +292,8 @@
|
||||
"required": ["id", "bounds"],
|
||||
"properties": {
|
||||
"id": {"type": "string", "minLength": 1, "maxLength": 128},
|
||||
"bounds": {"$ref": "#/$defs/ManifestBounds"}
|
||||
"bounds": {"$ref": "#/$defs/ManifestBounds"},
|
||||
"display_mode": {"$ref": "#/$defs/DisplayMode"}
|
||||
}
|
||||
},
|
||||
"ManifestBounds": {
|
||||
|
||||
Reference in New Issue
Block a user