Axis Communications P8221 Tablet Accessory User Manual


 
 TECHNICAL NOTE – Axis Communications Notification messages
2 Examples
2.1 Play an audio clip
This example describes how to set up AXIS P8221 to play an audio clip when triggered by a signal
from another Axis network video product, in this case AXIS Q7401 Video Encoder.
The idea is to use AXIS P8221 as an HTTP event server and to send an HTTP notification
from AXIS Q7401 to AXIS P8221. The HTTP notification is a VAPIX command instructing
AXIS P8221 to play the audio clip.
2.1.1 Preparations
Before following this example, you should:
Upload the audio clip to AXIS P8221
Refer to the online help or the AXIS P8221 User’s Manual.
2.1.2 Set up an event server in AXIS Q7401
1. Open the AXIS Q7401 Setup pages in a web browser.
2. Go to Setup > Events > Event Servers
3. Click Add HTTP
4. Enter a Name, for example AXIS P8221
5. In the URL field, enter
http://<IP>/axis-cgi/playclip.cgi
6. Enter the user name and password for AXIS P8221
7. Click OK
Figure 1. Setting up an event server in AXIS Q7401. Replace “IP” with the IP address of AXIS P8221.
2.1.3 Set up a triggered event in AXIS Q7401
1. Open the AXIS Q7401 Setup pages in a web browser
2. Go to Setup > Events > Event Types
3. Click Add triggered
4. Enter a Name, for example Play audio clip
5. Select a trigger from the Triggered by drop-down list. For testing purposes, use the
manual trigger.
6. Under When Triggered, select Send HTTP notification.
Rev: 1.1, Last updated: 19/08/2011 4