Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

StopStream

Type
Notification
Sender
SDL
Purpose
Close the video streaming service between SDL and the HMI and stop streaming video data.

The app must stop video streaming after receiving onHMIStatus with videoStreamingState=NOT_STREAMBLE.
If the app does not stop streaming after certain amount of time, SDL sends a StopService Control Frame to the app in protocol layer.

Parameters

Name Type Mandatory Additional
appID Integer true

Response

Parameters

This RPC has no additional parameter requirements

Sequence Diagrams

Example Request

{
  "jsonrpc" : "2.0",
  "method" : "Navigation.StopStream",
  "params" :  
  {
    "appID" : 65674
  }
}

Example Response

{
  "id" : 176,
  "jsonrpc" : "2.0",
  "result" :
  {
    "code" : 0,
    "method" : "Navigation.StopStream"
  }
}

Example Error

{
  "id" : 176,
  "jsonrpc" : "2.0",
  "error" :
  {
    "code" : 22,
    "message" : "Stop stream failed or some other error occurred",
    "data" :
    {
      "method" : "Navigation.StopStream"
    }
  }
}
View on GitHub.com
Previous Section Next Section