Navigation.SetVideoConfig represents a request from the app to determine whether a given video streaming configuration is supported by the HMI.
The HMI must return a SUCCESS result code if it is able to handle a stream with the provided parameters.
The HMI must return a REJECTED result code if it is not able to handle a stream with the provided parameters, with any such parameters being included in rejectedParams.
| Name | Type | Mandatory | Additional |
|---|---|---|---|
| config | Common.VideoConfig | true | |
| appID | Integer | true |
| Name | Type | Mandatory | Additional |
|---|---|---|---|
| rejectedParams | String | false | array: true minsize: 1 maxsize: 1000 |
{ "id" : 70, "jsonrpc" : "2.0", "method" : "Navigation.SetVideoConfig", "params" : { "config" : { "codec": "H264", "protocol": "RTP", "width": 800, "height": 600 }, "appID" : 65464 } }
{ "id" : 70, "jsonrpc" : "2.0", "result" : { "code" : 0, "method" : "Navigation.SetVideoConfig" } }
{ "id" : 70, "jsonrpc" : "2.0", "error" : { "code" : 4, "message" : "Invalid config params", "data" : { "rejectedParams": ["codec", "width"], "method" : "Navigation.SetVideoConfig" } } }