Skip to content
Snippets Groups Projects
Commit 05653aaa authored by lazorfuzz's avatar lazorfuzz
Browse files

Fix readiness bug

parent 4347a496
No related branches found
No related tags found
No related merge requests found
......@@ -387,7 +387,7 @@ class LioWebRTC extends WildEmitter {
testReadiness() {
const self = this;
if (this.sessionReady) {
if (!this.config.media.video && !this.config.media.audio) {
if (this.config.dataOnly || (!this.config.media.video && !this.config.media.audio)) {
self.emit('readyToCall', self.connection.getSessionid());
} else if (this.webrtc.localStreams.length > 0) {
self.emit('readyToCall', self.connection.getSessionid());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment