Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Data Flow

  • At startup, app calls org.rdk.dataCapture_1.enableAudioCapture api to create pre-capture audio buffer and starts buffering primary audio stream.
  • App makes request for audio clip capture by passing following parameters:
  • Destination URL and application parameters for Music ID service
  • Length of clip capture
  • Primary or secondary audio. (Note: Only primary audio is continuously captured)
  • Send pre-captured data, or post-capture (capture starts after app makes request). Majority of requests will be for pre-captured data, where entire clip is already captured by the time call is made.
  • App calls Service Manager API org.rdk.dataCapture_1.getAudioClip and passes the request
Code Block
{
"stream" : “primary”
"url" : "http://<musicid_server/analyze?trx=83cf6049-b722-4c44-b92e-79a504ae8f85:1458580048400&codec=PCM_16_16K&deviceId=5082732351093257712",
"duration" : 6
"captureMode" : “preCapture”
}

...