Skip to content
This repository was archived by the owner on Feb 10, 2022. It is now read-only.

Commit 87aba04

Browse files
authored
Merge pull request #26 from sendbird/feature/change_accept_param
change accept param
2 parents ae91c2f + f9f8204 commit 87aba04

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

lib/views/CallView.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ export default class CallView extends BaseElement {
188188
const callOption = getCallOption({
189189
localMediaView: this.localMediaView,
190190
remoteMediaView: this.remoteMediaView,
191-
audioEnabled: this.call.isLocalAudioEnabled,
192-
videoEnabled: this.call.isLocalVideoEnabled
191+
audioEnabled: true,
192+
videoEnabled: this.call.isVideoCall,
193193
});
194194

195195
this.call.accept({ callOption: callOption });

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"express": "^4.17.1",
3535
"jss": "^10.0.3",
3636
"jss-preset-default": "^10.0.3",
37-
"sendbird-calls": "^1.4.1",
37+
"sendbird-calls": "^1.5.3",
3838
"uuid": "^3.3.3"
3939
}
4040
}

0 commit comments

Comments
 (0)