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

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,8 @@
1
1
  Change Log
2
2
 
3
+ ## v3.0.9 27 March, 2026
4
+ -[VST-1577] Removed the same-device-ID guard from replaceSenderTrack.
5
+
3
6
  ## v3.0.6 19 December, 2025
4
7
  -[VST-1269] fixing noise suppression bug and added wss transport in contact params
5
8
 
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.9
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];