Releases: twilio/twilio-voice.js
Releases · twilio/twilio-voice.js
2.15.0
2.14.0
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
andrtcpeerconnection-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
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
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 benull
upon destruction of anAudioProcessorObserver
.
Changes
- Added an API for testing
PreflightTest
in realms other than prod. Users can now passchunderw
andeventgw
values within the options object when constructing aPreflightTest
. Note that these new options are meant for internal testing by Twilio employees only, and should not be used otherwise.
2.12.3
2.12.3 (December 3, 2024)
Bug Fixes
- Fixed an issue where the
originalError
property is not populated when a generalConnectionError (31005)
happens.
2.12.2
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
2.12.0
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.
- Call.Message.messageType has been converted from
Call.MessageType
enum tostring
. - Call Message related errors are now emitted via call.on('error', handler(twilioError)) instead of device.on('error', handler(twilioError)).
- A new error, 31210, has been added to the SDK. This new error is emitted via call.on('error', handler(twilioError)) after calling the sendMessage API with an invalid Call.Message.messageType.
- Fixed an issue where the wrong error code
31209
is raised if the payload size of a Call Message Event exceeds the authorized limit. With this release,31212
is raised instead.
2.11.3
2.11.3 (August 21, 2024)
Bug Fixes
- Fixed an issue where
PreflightTest
throws an error whenRTCIceCandidateStatsReport
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
2.11.2 (June 26, 2024)
- Fixed an issue where an
AcquisitionFailedError
is raised when making a call while asetInputDevice
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(...);