mirror of https://github.com/OpenVidu/openvidu.git
openvidu-browser dependencies updated to 1.0.0. sample-app fix
parent
af3be37d4c
commit
8537dde6ad
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "openvidu-browser",
|
"name": "openvidu-browser",
|
||||||
"version": "0.2.0",
|
"version": "1.0.0",
|
||||||
"description": "OpenVidu Browser",
|
"description": "OpenVidu Browser",
|
||||||
"main": "lib/OpenVidu/index.js",
|
"main": "lib/OpenVidu/index.js",
|
||||||
"types": "lib/OpenVidu/index.d.ts",
|
"types": "lib/OpenVidu/index.d.ts",
|
||||||
|
|
|
@ -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.2.0"
|
"openvidu-browser": "1.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular/cli": "1.0.0-rc.1",
|
"@angular/cli": "1.0.0-rc.1",
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
"core-js": "^2.4.1",
|
"core-js": "^2.4.1",
|
||||||
"hammerjs": "^2.0.8",
|
"hammerjs": "^2.0.8",
|
||||||
"jquery": "^2.2.4",
|
"jquery": "^2.2.4",
|
||||||
"openvidu-browser": "0.1.1",
|
"openvidu-browser": "1.0.0",
|
||||||
"rxjs": "^5.1.0",
|
"rxjs": "^5.1.0",
|
||||||
"zone.js": "^0.7.6"
|
"zone.js": "^0.7.6"
|
||||||
},
|
},
|
||||||
|
|
|
@ -62,11 +62,7 @@ export class VideoSessionComponent implements OnInit {
|
||||||
if (!error) {
|
if (!error) {
|
||||||
|
|
||||||
// 4) Get your own camera stream with the desired resolution and publish it, only if the user is supposed to do so
|
// 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', {
|
this.publisher = this.OV.initPublisher('publisher', this.cameraOptions);
|
||||||
insertMode: 'append',
|
|
||||||
width: '100%',
|
|
||||||
height: '100%'
|
|
||||||
});
|
|
||||||
|
|
||||||
// 5) Publish your stream
|
// 5) Publish your stream
|
||||||
this.session.publish(this.publisher);
|
this.session.publish(this.publisher);
|
||||||
|
|
Loading…
Reference in New Issue