This repository contains an example websocket service that implements the interactions described in DCSS Remote AI Service Integration . This demonstration also illustrates the use of the X-DCSS-MEDIA-REQUEST-TOKEN
header to request media the DCSS server.
The core socket service. This coordinates request, analysis and response. This service will request media from the DCSS server by using the auth.token
it receives upon client connection to authenticate itself.
This is a placeholder program that consumes the token
and url
, and saves the file locally.
ALL FILES SAVED ARE LOST ON EVERY DEPLOYMENT
Use 8070cb2467d22a15dabafd5f5128cacc04af86f1
for development. This token will not work on production.
- Navigate to Admin/Agents (assuming your user has sufficient privileges to access this section of the site.).
- Click Create a new agent
- Enter a name for your new agent
- Enter a brief description
- Enter the endpoint:
ws://dcss-caa-production.herokuapp.com
- Select one or more Interactions that you want to send to the agent
- Click "Save"