podchat-browser 11.3.1 → 11.3.2-snapshot.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/call.module.js +9 -3
package/package.json
CHANGED
package/src/call.module.js
CHANGED
|
@@ -739,12 +739,18 @@
|
|
|
739
739
|
if(i === 'screenShare')
|
|
740
740
|
continue;
|
|
741
741
|
|
|
742
|
-
if
|
|
742
|
+
if(callUsers[i].video) {
|
|
743
743
|
callController.startParticipantVideo(i);
|
|
744
744
|
}
|
|
745
|
-
if(
|
|
745
|
+
if(!callUsers[i].mute) {
|
|
746
746
|
callController.startParticipantAudio(i);
|
|
747
747
|
}
|
|
748
|
+
/*if (params.callVideo) {
|
|
749
|
+
callController.startParticipantVideo(i);
|
|
750
|
+
}*/
|
|
751
|
+
/*if(params.callAudio) {
|
|
752
|
+
callController.startParticipantAudio(i);
|
|
753
|
+
}*/
|
|
748
754
|
}
|
|
749
755
|
},
|
|
750
756
|
setupCallParticipant: function (participant) {
|
|
@@ -1246,7 +1252,7 @@
|
|
|
1246
1252
|
if(callUsers[i] && callUsers[i].peers[videoTopic] && callUsers[i].peers[videoTopic].peerConnection.connectionState === 'failed'){
|
|
1247
1253
|
this.shouldReconnectTopic(i, videoTopic, 'video', callUsers[i].direction)
|
|
1248
1254
|
}
|
|
1249
|
-
if(callUsers[i] && callUsers[i].peers[audioTopic] && callUsers[i].peers[
|
|
1255
|
+
if(callUsers[i] && callUsers[i].peers[audioTopic] && callUsers[i].peers[audioTopic].peerConnection.connectionState === 'failed'){
|
|
1250
1256
|
this.shouldReconnectTopic(i, audioTopic, 'audio', callUsers[i].direction)
|
|
1251
1257
|
}
|
|
1252
1258
|
}
|