podchat-browser 10.14.3 → 10.14.7

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.
@@ -54850,7 +54850,7 @@ WildEmitter.mixin(WildEmitter);
54850
54850
 
54851
54851
  if (!!Sentry) {
54852
54852
  Sentry.init({
54853
- dsn: 'http://784a14966f6a416b8b58a4b144aef0f5@talksentry.sakku-khatam.ir:9000/4',
54853
+ dsn: 'https://784a14966f6a416b8b58a4b144aef0f5@talk-sentry.sakku-khatam.ir/4',
54854
54854
  attachStacktrace: true
54855
54855
  });
54856
54856
  Sentry.setContext("Chat Params", params);
@@ -56744,34 +56744,14 @@ WildEmitter.mixin(WildEmitter);
56744
56744
  }
56745
56745
  });
56746
56746
 
56747
- // if (fullResponseObject) {
56748
- // getHistory({
56749
- // offset: 0,
56750
- // threadId: threadId,
56751
- // id: messageContent.messageId,
56752
- // cache: false
56753
- // }, function (result) {
56754
- // if (!result.hasError) {
56755
- // fireEvent('messageEvents', {
56756
- // type: 'MESSAGE_SEEN',
56757
- // result: {
56758
- // message: result.result.history[0],
56759
- // threadId: threadId,
56760
- // senderId: messageContent.participantId
56761
- // }
56762
- // });
56763
- // }
56764
- // });
56765
- // } else {
56766
- // fireEvent('messageEvents', {
56767
- // type: 'MESSAGE_SEEN',
56768
- // result: {
56769
- // message: messageContent.messageId,
56770
- // threadId: threadId,
56771
- // senderId: messageContent.participantId
56772
- // }
56773
- // });
56774
- // }
56747
+ fireEvent('messageEvents', {
56748
+ type: 'MESSAGE_SEEN',
56749
+ result: {
56750
+ message: messageContent.messageId,
56751
+ threadId: threadId,
56752
+ senderId: messageContent.participantId
56753
+ }
56754
+ });
56775
56755
 
56776
56756
  sendMessageCallbacksHandler(chatMessageVOTypes.SEEN, threadId, uniqueId);
56777
56757
  break;
@@ -65181,7 +65161,7 @@ WildEmitter.mixin(WildEmitter);
65181
65161
  var serversTemp = params.turnAddress.split(',');
65182
65162
 
65183
65163
  turnServers = [
65184
- {"urls": "stun:" + serversTemp[0]},
65164
+ //{"urls": "stun:" + serversTemp[0]},
65185
65165
  {
65186
65166
  "urls": "turn:" + serversTemp[1],
65187
65167
  "username": "mkhorrami",
@@ -65190,7 +65170,7 @@ WildEmitter.mixin(WildEmitter);
65190
65170
  ];
65191
65171
  } else {
65192
65172
  turnServers = [
65193
- {"urls": "stun:" + callTurnIp + ":3478"},
65173
+ //{"urls": "stun:" + callTurnIp + ":3478"},
65194
65174
  {
65195
65175
  "urls": "turn:" + callTurnIp + ":3478",
65196
65176
  "username": "mkhorrami",
@@ -65212,6 +65192,7 @@ WildEmitter.mixin(WildEmitter);
65212
65192
  framerate: 15
65213
65193
  }
65214
65194
  },
65195
+ iceTransportPolicy: 'relay',
65215
65196
  onicecandidate: (candidate) => {
65216
65197
  setTimeout(function () {
65217
65198
  sendCallMessage({
@@ -65229,6 +65210,7 @@ WildEmitter.mixin(WildEmitter);
65229
65210
  const receiveVideoOptions = {
65230
65211
  remoteVideo: uiRemoteMedias[callTopics['receiveVideoTopic']],
65231
65212
  mediaConstraints: {audio: false, video: true},
65213
+ iceTransportPolicy: 'relay',
65232
65214
  onicecandidate: (candidate) => {
65233
65215
  setTimeout(function () {
65234
65216
  sendCallMessage({
@@ -65299,6 +65281,7 @@ WildEmitter.mixin(WildEmitter);
65299
65281
  const sendAudioOptions = {
65300
65282
  localVideo: uiRemoteMedias[callTopics['sendAudioTopic']],
65301
65283
  mediaConstraints: {audio: true, video: false},
65284
+ iceTransportPolicy: 'relay',
65302
65285
  onicecandidate: (candidate) => {
65303
65286
  setTimeout(function () {
65304
65287
  sendCallMessage({
@@ -65316,6 +65299,7 @@ WildEmitter.mixin(WildEmitter);
65316
65299
  const receiveAudioOptions = {
65317
65300
  remoteVideo: uiRemoteMedias[callTopics['receiveAudioTopic']],
65318
65301
  mediaConstraints: {audio: true, video: false},
65302
+ iceTransportPolicy: 'relay',
65319
65303
  onicecandidate: (candidate) => {
65320
65304
  setTimeout(function () {
65321
65305
  sendCallMessage({