@exotel-npm-dev/webrtc-client-sdk 3.0.8 → 3.0.10

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/Changelog CHANGED
@@ -1,5 +1,11 @@
1
1
  Change Log
2
2
 
3
+ ## v3.0.10 01 April, 2026
4
+ -[VST-1584]Updated webrtc-core-sdk to v3.0.10 with stack trace logging in error method
5
+
6
+ ## v3.0.9 27 March, 2026
7
+ -[VST-1577] Removed the same-device-ID guard from replaceSenderTrack.
8
+
3
9
  ## v3.0.6 19 December, 2025
4
10
  -[VST-1269] fixing noise suppression bug and added wss transport in contact params
5
11
 
package/Makefile CHANGED
@@ -1,3 +1,5 @@
1
+ VERSION := $(shell npm pkg get version | tr -d '"')
2
+
1
3
  build:dep
2
4
  npm run build
3
5
  cp -r ../webrtc-core-sdk/src/static/* dist/
@@ -16,3 +18,7 @@ dep:
16
18
 
17
19
  publish: build
18
20
  npm publish
21
+
22
+
23
+ tar: build
24
+ tar -czvf exotelsdk-$(VERSION).tar.gz dist/
package/dist/exotelsdk.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * WebRTC CLient SIP version 3.0.8
3
+ * WebRTC CLient SIP version 3.0.10
4
4
  *
5
5
  */
6
6
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -21438,7 +21438,7 @@ class SIPJSPhone {
21438
21438
 
21439
21439
  // Extract and modify the audio m-line
21440
21440
  let audioMLine = sdpLines[audioMLineIndex];
21441
- audioMLine = audioMLine.replace("RTP/SAVP", "RTP/SAVP");
21441
+ audioMLine = audioMLine.replace("RTP/SAVP", "RTP/AVP");
21442
21442
 
21443
21443
  const codecs = audioMLine.split(" ");
21444
21444
  const mLineStart = codecs.slice(0, 3); // "m=audio <port> <protocol>"
@@ -21462,7 +21462,7 @@ class SIPJSPhone {
21462
21462
 
21463
21463
  // Extract and modify the audio m-line
21464
21464
  let audioMLine = sdpLines[audioMLineIndex];
21465
- audioMLine = audioMLine.replace("RTP/SAVP", "RTP/SAVP");
21465
+ audioMLine = audioMLine.replace("RTP/SAVP", "RTP/AVP");
21466
21466
 
21467
21467
  const codecs = audioMLine.split(" ");
21468
21468
  const mLineStart = codecs.slice(0, 3); // "m=audio <port> <protocol>"
@@ -22416,11 +22416,6 @@ destroySocketConnection() {
22416
22416
  }
22417
22417
  replaceSenderTrack(stream, deviceId) {
22418
22418
  try {
22419
-
22420
- if (_audioDeviceManager_js__WEBPACK_IMPORTED_MODULE_0__.audioDeviceManager.currentAudioInputDeviceId == deviceId) {
22421
- this.stopStreamTracks(stream);
22422
- return false;
22423
- }
22424
22419
  if (this.ctxSip.callActiveID) {
22425
22420
  this.ctxSip.Stream = stream;
22426
22421
  const s = this.ctxSip.Sessions[this.ctxSip.callActiveID];
@@ -23531,6 +23526,7 @@ function Call(webrtcSIPPhone) {
23531
23526
  * When call is terminated
23532
23527
  */
23533
23528
  logger.log('call ended');
23529
+ console.trace();
23534
23530
  webrtcSIPPhone.rejectCall();
23535
23531
  };
23536
23532
  this.MuteToggle = function () {