We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7df87c4 + 462d15b commit 1d200faCopy full SHA for 1d200fa
simplewebrtc.js
@@ -434,8 +434,12 @@ SimpleWebRTC.prototype.stopScreenShare = function () {
434
435
SimpleWebRTC.prototype.testReadiness = function () {
436
var self = this;
437
- if (this.webrtc.localStreams.length > 0 && this.sessionReady) {
438
- self.emit('readyToCall', self.connection.getSessionid());
+ if (this.sessionReady) {
+ if (!this.config.media.video && !this.config.media.audio) {
439
+ self.emit('readyToCall', self.connection.getSessionid());
440
+ } else if (this.webrtc.localStreams.length > 0) {
441
442
+ }
443
}
444
};
445
0 commit comments