Docker image for the avs-device-sdk SampleApp runtime environment.
- Network enabled PulseAudio server.
- e.g.
/etc/pulse/default.pa
configuration file.... load-module module-native-protocol-tcp auth-ip-acl=172.17.0.0/24;127.0.0.1;192.168.0.0/16 ...
- e.g.
-
Create and start the docker container
docker run -it webispy/avs
-
set the PulseAudio server address.
export PULSE_SERVER=172.17.0.1
-
Change the clientId and productId in /opt/config.json to values corresponding to your AVS device registration.
{ "deviceInfo": { "clientId": "<your-client-id>", "productId": "<your-product-id>" } }
-
Generate AlexaClientSDKConfig.json using genConfig.sh tool
cd /opt/tools bash genConfig.sh /opt/config.json 12345 \ /opt/avs/Integration/database /opt/src \ /opt/avs/Integration/AlexaClientSDKConfig.json \ -DSDK_CONFIG_MANUFACTURER_NAME="my_project" \ -DSDK_CONFIG_DEVICE_DESCRIPTION="ubuntu"
-
Run the SampleApp
cd /opt/avs ./SampleApp ./Integration/AlexaClientSDKConfig.json DEBUG9 # or run without debug message ./SampleApp ./Integration/AlexaClientSDKConfig.json