In this folder you will find the demostrations of discovery.
The aim of this web page is to show the way to consume the Discovery API developed in Mediascape project. You will you find in this example:
- The way to consume the calls to the agents.
- One example of each call implemented. Some of the examples are ad-hoc to the devices, services and actions we have in vicomtech.
This is the code that can be found in the webpage: http://184.108.40.206:7443/WP3Demo
A prior condition is the deployment of a HTTP server (Apache).
You will find a deployment file for each of the demos to could install in a linux platform. It is very easy to install both demos. You just have to download the deployment files and execute like:
For discovery-self deployment:
The deployment will be done into the /var/www/html/ or /var/www/ folder.
After been deployed the users can access to the content in the URLs:
For discovery-self run:
You will find the Discovery API code in:
For a better use of this example, it is very important to open the web page in a device. This device must have installed Discovery Agent RESTFUL service and a namedwebsockets that you will find in: