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.
|
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,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "openvidu-browser",
|
"name": "openvidu-browser",
|
||||||
"version": "0.0.2",
|
"version": "0.1.0",
|
||||||
"description": "OpenVidu Browser",
|
"description": "OpenVidu Browser",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
|
|
@ -268,17 +268,7 @@ export class Stream {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
navigator.mediaDevices.getUserMedia({
|
navigator.mediaDevices.getUserMedia(constraints)
|
||||||
audio: true,
|
|
||||||
video: {
|
|
||||||
width: {
|
|
||||||
ideal: 1280
|
|
||||||
},
|
|
||||||
frameRate: {
|
|
||||||
ideal: 15
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.then(userStream => {
|
.then(userStream => {
|
||||||
userStream.getAudioTracks()[0].enabled = this.sendAudio;
|
userStream.getAudioTracks()[0].enabled = this.sendAudio;
|
||||||
userStream.getVideoTracks()[0].enabled = this.sendVideo;
|
userStream.getVideoTracks()[0].enabled = this.sendVideo;
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"rxjs": "^5.1.0",
|
"rxjs": "^5.1.0",
|
||||||
"ts-helpers": "^1.1.1",
|
"ts-helpers": "^1.1.1",
|
||||||
"zone.js": "^0.7.6",
|
"zone.js": "^0.7.6",
|
||||||
"openvidu-browser": "0.0.2"
|
"openvidu-browser": "0.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular/cli": "1.0.0-rc.1",
|
"@angular/cli": "1.0.0-rc.1",
|
||||||
|
|
Loading…
Reference in New Issue