diff --git a/openvidu-browser/src/main/resources/.npmignore b/openvidu-browser/src/main/resources/.npmignore new file mode 100644 index 00000000..e69de29b diff --git a/openvidu-browser/src/main/resources/package.json b/openvidu-browser/src/main/resources/package.json index 24361bda..58c2eac3 100644 --- a/openvidu-browser/src/main/resources/package.json +++ b/openvidu-browser/src/main/resources/package.json @@ -1,6 +1,6 @@ { "name": "openvidu-browser", - "version": "0.1.0", + "version": "0.1.1", "description": "OpenVidu Browser", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/openvidu-browser/src/main/resources/ts/Stream.ts b/openvidu-browser/src/main/resources/ts/Stream.ts index 731cf210..b8ef7e5f 100644 --- a/openvidu-browser/src/main/resources/ts/Stream.ts +++ b/openvidu-browser/src/main/resources/ts/Stream.ts @@ -301,7 +301,7 @@ export class Stream { } }; - navigator.mediaDevices.getUserMedia(constraints2) + navigator.mediaDevices.getUserMedia(constraints) .then(userStream => { userStream.getAudioTracks()[0].enabled = this.sendAudio; userStream.getVideoTracks()[0].enabled = this.sendVideo; diff --git a/openvidu-ng-testapp/package.json b/openvidu-ng-testapp/package.json index 5b479311..1baa6f27 100644 --- a/openvidu-ng-testapp/package.json +++ b/openvidu-ng-testapp/package.json @@ -24,7 +24,7 @@ "rxjs": "^5.1.0", "ts-helpers": "^1.1.1", "zone.js": "^0.7.6", - "openvidu-browser": "0.1.0" + "openvidu-browser": "0.1.1" }, "devDependencies": { "@angular/cli": "1.0.0-rc.1",