##<vidyo-io>
npm install -g bower
- Create a directory where you want to install vidyo-io and make this directory current
- Using bower install the vidyo-io
bower install --save oi-oy-div/vidyo-io
The repository contains a demo showing the usage of the components. To run the demo one would need to get Vidyo IO account and copy Application ID and Developer Key from the Dashboard
NOTE: Knowledge of these values allows access to your vidyo io minutes, so keep them private.
- In the directory where the vidyo-io are installed create directory config and in it create file named default.json containing
{
"key":"[[Developer Key]]",
"appID":"[[Application ID]]"
}
where [[Developer Key]] and [[Application ID]] need to be replaced with the values from the Dashboard
- Install node components needed to run the demo
npm install jssha
npm install btoa
npm install express
npm install config
- Run the demo server
node bower_components/vidyo-io/demo/index.js
- Access the demo
- Allow the app to use the camera and microphone when asked
- Repeat this process on another computer
- Press the green handset on both computers to establish a connection
controllerHeight | String | Default: "6%" |
The height of the controller as percent of the elelment height. | ||
fillViewport | Boolean | Default: false |
If true then the element should take the entire viewport. | ||
tokenServer | String | Default: "" |
The URL to which the GET request for a token will be sent. The expected response is a JSON document with a single field named "token" and containing the token value. | ||
host | String | Default: "prod.vidyo.io" |
The Vidyo.io host. | ||
displayName | String | Default: "" |
The display name of the participant in the conference. | ||
resourceId | String | Default: "" |
The "resource ID" or room name. All the callers with the same resource name will be put in a single room. | ||
participants | Number | Default: 16 |
The maximum number of participants in a single room. | ||
vidyoIoVersion | String | Default: "latest" |
The version of the Vidyo.io software to use. |
<vidyo-io
token-server="http://localhost:6789/getToken"
display-name="Best User"
controller-height="10%"
resource-id="VidyoIODemoRoom">
</vidyo-io>