- Apache Maven 3.3.9 or greater
- Google Cloud SDK
gcloud components install app-engine-java
gcloud components update
- Vidyo IO account to get Application ID and Developer Key
- An appengine project
- Clone or download and unzip the project files into a local directory
- In src/main/webapp/WEB-INF/web.xml replace
YOUR VIDYO IO appID
with Vidyo Application ID andYOUR VIDYO IO KEY
with you Vidyo Developer Key - run
gcloud init
to connect with your appengine project
$ mvn jetty:run-exploded
The server can be accessed using:
http://localhost:8080/getToken?user_id=[some_user_id]
$ mvn appengine:deploy
The server can be accessed using:
https://[YOUR_PROJECT_ID].appspot.com/getToken?user_id=[some_user_id]
{token : [generated token]}
The token returned by this server provides access to Vidyo videoconferencing services.
This sample only shows the token generation process it does not attempt to prevent anothorized generation of tokens.