SDL sends OnAppCapabilityUpdated notification to HMI to provide VSC supported by application
HMI may switch video streaming resolution according to values provided by application in OnAppCapabilityUpdated notification. (see also OnSystemCapabilityUpdated)
If HMI doesn't receive OnAppCapabilityUpdated notification or receives OnAppCapabilityUpdated without additionalVideoStreamingCapabilities
, HMI should not send OnSystemCapabilityUpdated notification and the user should not be able to change the resolution.
In case older application does not support sending OnAppCapabilityUpdated
notification, HMI must treat this application as one that does not support dynamic resolution switching and allow only default screen mode for it.
Name | Type | Mandatory | Additional |
---|---|---|---|
appCapability | Common.AppCapability | true | |
appID | Integer | true |
{ "jsonrpc":"2.0", "method":"BasicCommunication.OnAppCapabilityUpdated", "params":{ "appID":65544, "appCapability":{ "appCapabilityType":"VIDEO_STREAMING", "videoStreamingCapability":{ "hapticSpatialDataSupported":false, "scale":2.5, "additionalVideoStreamingCapabilities":[ { "scale":1, "hapticSpatialDataSupported":true, "preferredFPS": 15, "preferredResolution":{ "resolutionWidth":800, "resolutionHeight":350 } }, { "hapticSpatialDataSupported":false, "preferredFPS": 30, "preferredResolution":{ "resolutionWidth":320, "resolutionHeight":240 } }, { "hapticSpatialDataSupported":true, "preferredFPS": 24, "preferredResolution":{ "resolutionWidth":400, "resolutionHeight":480 } }, { "hapticSpatialDataSupported":true, "preferredFPS": 20, "preferredResolution":{ "resolutionWidth":640, "resolutionHeight":480 } }, { "hapticSpatialDataSupported":true, "preferredFPS": 20, "preferredResolution":{ "resolutionWidth":800, "resolutionHeight":240 } }, { "scale":2.5, "hapticSpatialDataSupported":false }, { "scale":5, "hapticSpatialDataSupported":true } ], "preferredFPS": 15, "preferredResolution":{ "resolutionWidth":800, "resolutionHeight":350 }, "diagonalScreenSize":10, "maxBitrate":10000, "pixelPerInch":150, "supportedFormats":[ { "protocol":"RAW", "codec":"H264" } ] } } } }