mirror of https://github.com/OpenVidu/openvidu.git
openvidu-browser dependency updated
parent
34c9040e1b
commit
f60fae576a
|
@ -163,6 +163,6 @@ http-server -S
|
|||
```
|
||||
These commands build the Angular project, generate a self-signed certificate (which unfortunately is a mandatory requirement for http-server SSL) and serves the content in http-server.
|
||||
|
||||
Finally, to launch the app connect to https://127.0.0.1:8080 in the machine running the http-server and to https://[HOST]:8080 in other devices of the same network ([HOST] the IP of the machine running the http-server).
|
||||
Finally, to launch the app connect to *https://127.0.0.1:8080* in the machine running the http-server and to *https://[HOST]:8080* in other devices of the same network ([HOST] the IP of the machine running the http-server).
|
||||
|
||||
Don't forget to accept the certificate! (accepting https://[HOST]:8443/room may also be necessary)
|
||||
Don't forget to accept the certificate! (accepting *https://[HOST]:8443/room* may also be necessary)
|
|
@ -1,24 +1,24 @@
|
|||
{
|
||||
"name": "openvidu-browser",
|
||||
"version": "0.0.2",
|
||||
"description": "OpenVidu Browser",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"scripts": {
|
||||
"browserify": "cd ts && watchify Main.ts -p [ tsify ] --exclude kurento-browser-extensions --debug -o ../static/js/OpenVidu.js -v",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"prepublish": "cd ts && tsc",
|
||||
"developing": "cd ts && tsc -w"
|
||||
},
|
||||
"author": "",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"kurento-jsonrpc": "5.1.3",
|
||||
"wolfy87-eventemitter": "4.2.9",
|
||||
"@types/wolfy87-eventemitter": "4.2.31",
|
||||
"webrtc-adapter":"3.2.0",
|
||||
"kurento-utils":"6.6.0",
|
||||
"uuid": "~2.0.1",
|
||||
"sdp-translator": "^0.1.15"
|
||||
}
|
||||
"name": "openvidu-browser",
|
||||
"version": "0.1.0",
|
||||
"description": "OpenVidu Browser",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"scripts": {
|
||||
"browserify": "cd ts && watchify Main.ts -p [ tsify ] --exclude kurento-browser-extensions --debug -o ../static/js/OpenVidu.js -v",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"prepublish": "cd ts && tsc",
|
||||
"developing": "cd ts && tsc -w"
|
||||
},
|
||||
"author": "",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"kurento-jsonrpc": "5.1.3",
|
||||
"wolfy87-eventemitter": "4.2.9",
|
||||
"@types/wolfy87-eventemitter": "4.2.31",
|
||||
"webrtc-adapter": "3.2.0",
|
||||
"kurento-utils": "6.6.0",
|
||||
"uuid": "~2.0.1",
|
||||
"sdp-translator": "^0.1.15"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -268,17 +268,7 @@ export class Stream {
|
|||
}
|
||||
};
|
||||
|
||||
navigator.mediaDevices.getUserMedia({
|
||||
audio: true,
|
||||
video: {
|
||||
width: {
|
||||
ideal: 1280
|
||||
},
|
||||
frameRate: {
|
||||
ideal: 15
|
||||
}
|
||||
}
|
||||
})
|
||||
navigator.mediaDevices.getUserMedia(constraints)
|
||||
.then(userStream => {
|
||||
userStream.getAudioTracks()[0].enabled = this.sendAudio;
|
||||
userStream.getVideoTracks()[0].enabled = this.sendVideo;
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
"rxjs": "^5.1.0",
|
||||
"ts-helpers": "^1.1.1",
|
||||
"zone.js": "^0.7.6",
|
||||
"openvidu-browser": "0.0.2"
|
||||
"openvidu-browser": "0.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular/cli": "1.0.0-rc.1",
|
||||
|
|
Loading…
Reference in New Issue