Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
Documentation
StartStream

StartStream

Type
Function
Sender
SDL
Purpose
Initiate a video streaming service between SDL and the HMI to stream video data.

Request

Parameters

Name Type Mandatory Additional
url String true minlength: 21
maxlength: 500
appID Integer true

Response

Parameters

This RPC has no additional parameter requirements

Sequence Diagrams

JSON Message Examples

Example Request

{
  "id" : 176,
  "jsonrpc" : "2.0",
  "method" : "Navigation.StartStream",
  "params" :  
  {
    "url" : "SDL/application_directory/video/123.mp4",
    "appID" : 65674
  }
}

Example Response

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

Example Error

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