Skip to content

Releases: twilio/twilio-voice.js

2.15.0

14 Jul 19:00
Compare
Choose a tag to compare

2.15.0 (July 14, 2025)

Changes

  • Replaced SDP munging with the setCodecPreferences API for setting preferred codecs in the SDK.

2.14.0

25 Jun 18:14
Compare
Choose a tag to compare

2.14.0 (June 25, 2025)

Changes

  • Upgraded Typescript dependency to 5.x
  • Replaced Karma test runner with Cypress
  • Added @types/events as a dependency. This resolves issues regarding missing Intellisense hinting for SDK objects that extend EventEmitters.

Bug Fixes

  • Fixed md5 and rtcpeerconnection-shim build warnings (as reported in this Github Issue) when using the Twilio Voice JS SDK in an Angular webapp. See our Common Issues document for more information.

2.13.0

06 May 17:47
Compare
Choose a tag to compare

2.13.0 (May 6, 2025)

New Features

In version 2.5.0, the SDK introduced a mechanism to override WebRTC APIs, enabling support for redirection technologies like Citrix HDX. In this release, the SDK extends this capability by allowing the override of the native MediaStream API, making it possible to create custom media streams tailored for such environments. Please check this page for an example.

2.12.4

12 Mar 21:04
Compare
Choose a tag to compare

2.12.4 (March 12, 2025)

Bug Fixes

  • Fixed an issue where device.destroy() does not work for Chrome Extension V3.
  • Addressed an issue where the publisher would be null upon destruction of an AudioProcessorObserver.

Changes

  • Added an API for testing PreflightTest in realms other than prod. Users can now pass chunderw and eventgw values within the options object when constructing a PreflightTest. Note that these new options are meant for internal testing by Twilio employees only, and should not be used otherwise.

2.12.3

03 Dec 20:53
Compare
Choose a tag to compare

2.12.3 (December 3, 2024)

Bug Fixes

  • Fixed an issue where the originalError property is not populated when a general ConnectionError (31005) happens.

2.12.2

12 Nov 22:56
Compare
Choose a tag to compare

2.12.2 (November 12, 2024)

Bug Fixes

  • Fixed an issue where the chunderw parameter is not being used during signaling reconnection. Note that this parameter is intended solely for testing purposes.

2.12.1

30 Aug 19:12
Compare
Choose a tag to compare

2.12.1 (August 30, 2024)

Bug Fixes

  • Fixed an issue where calling device.connect() without waiting for the promise to get resolved, then calling device.audio.setInputDevice() right away results in an AcquisitionFailedError.

2.12.0

26 Aug 18:33
Compare
Choose a tag to compare

2.12.0 (August 26, 2024)

New Features

Call Message Events

The Call Message Events, originally released in 2.2.0, has been promoted to GA. This release includes the following breaking changes.

2.11.3

21 Aug 18:03
Compare
Choose a tag to compare

2.11.3 (August 21, 2024)

Bug Fixes

  • Fixed an issue where PreflightTest throws an error when RTCIceCandidateStatsReport is not available. Thanks @phi-line for your contribution.

Improvements

  • The SDK now updates its internal device list when the microphone permission changes.

2.11.2

26 Jun 16:23
Compare
Choose a tag to compare

2.11.2 (June 26, 2024)

  • Fixed an issue where an AcquisitionFailedError is raised when making a call while a setInputDevice invocation is still in progress. The following snippet will reproduce the issue.
    // Call setInputDevice without waiting for it to resolve e.g. using 'await'
    device.audio.setInputDevice(id);
    
    // Calling device.connect immediately raises an AcquisitionFailedError error
    device.connect(...);