enable video
This commit is contained in:
parent
5408a2dba8
commit
822825731d
5 changed files with 7 additions and 7 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -36,7 +36,7 @@ export default {
|
||||||
this.callManager = new CallManager(ws, callId);
|
this.callManager = new CallManager(ws, callId);
|
||||||
this.callManager.on(ECallEvents.CLOSE, this.callEnded);
|
this.callManager.on(ECallEvents.CLOSE, this.callEnded);
|
||||||
const success = await this.callManager.connectToCall({
|
const success = await this.callManager.connectToCall({
|
||||||
video: false,
|
video: true,
|
||||||
audio: true
|
audio: true
|
||||||
});
|
});
|
||||||
if (!success) {
|
if (!success) {
|
||||||
|
@ -45,7 +45,7 @@ export default {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this.localStream = this.callManager.getUserMedia({
|
this.localStream = this.callManager.getUserMedia({
|
||||||
video: false,
|
video: true,
|
||||||
audio: true
|
audio: true
|
||||||
});
|
});
|
||||||
this.remoteStream = this.callManager.getRemoteStream();
|
this.remoteStream = this.callManager.getRemoteStream();
|
||||||
|
|
Reference in a new issue