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

EndAudioPassThru

Type
Function
Sender
SDL
Purpose
Stop audio capturing and sending PCM data to SDL

Request

Parameters

Name Type Mandatory Additional

Response

Parameters

This RPC has no additional parameter requirements

Sequence Diagrams

Example Request

{
  "id" : 79,
  "jsonrpc" : "2.0",
  "method" : "UI.EndAudioPassThru",
}

Example Response

{
  "id" : 79,
  "jsonrpc" : "2.0",
  "result" :
  {
    "code" : 0,
    "method" : "UI.EndAudioPassThru"
  }
}

Example Error

{
  "id" : 79,
  "jsonrpc" : "2.0",
  "error" :
  {
    "code" : 4,
    "message" : "Rejected: no PerformAudioPassThru is now active",
    "data" :
    {
      "method" : "UI.EndAudioPassThru"
    }
  }
}
View on GitHub.com
Previous Section Next Section