openvidu-browser dependency updated

pull/3/head
pabloFuente 2017-03-15 16:46:19 +01:00
parent 34c9040e1b
commit f60fae576a
4 changed files with 26 additions and 36 deletions

View File

@ -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)

View File

@ -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",

View File

@ -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;

View File

@ -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",