openvidu-browser dependencies updated to 1.0.0. sample-app fix

pull/20/head
pabloFuente 2017-05-10 11:14:47 +02:00
parent af3be37d4c
commit 8537dde6ad
4 changed files with 4 additions and 8 deletions

View File

@ -1,6 +1,6 @@
{
"name": "openvidu-browser",
"version": "0.2.0",
"version": "1.0.0",
"description": "OpenVidu Browser",
"main": "lib/OpenVidu/index.js",
"types": "lib/OpenVidu/index.d.ts",

View File

@ -24,7 +24,7 @@
"rxjs": "^5.1.0",
"ts-helpers": "^1.1.1",
"zone.js": "^0.7.6",
"openvidu-browser": "0.2.0"
"openvidu-browser": "1.0.0"
},
"devDependencies": {
"@angular/cli": "1.0.0-rc.1",

View File

@ -26,7 +26,7 @@
"core-js": "^2.4.1",
"hammerjs": "^2.0.8",
"jquery": "^2.2.4",
"openvidu-browser": "0.1.1",
"openvidu-browser": "1.0.0",
"rxjs": "^5.1.0",
"zone.js": "^0.7.6"
},

View File

@ -62,11 +62,7 @@ export class VideoSessionComponent implements OnInit {
if (!error) {
// 4) Get your own camera stream with the desired resolution and publish it, only if the user is supposed to do so
this.publisher = this.OV.initPublisher('publisher', {
insertMode: 'append',
width: '100%',
height: '100%'
});
this.publisher = this.OV.initPublisher('publisher', this.cameraOptions);
// 5) Publish your stream
this.session.publish(this.publisher);