twilio-video 2.33.0 → 2.34.0

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/LICENSE.md +1 -1
  3. package/README.md +1 -1
  4. package/dist/twilio-video.js +698 -410
  5. package/dist/twilio-video.min.js +24 -24
  6. package/es5/connect.js +3 -4
  7. package/es5/connect.js.map +1 -1
  8. package/es5/insights/events/peerconnection.js +164 -0
  9. package/es5/insights/events/peerconnection.js.map +1 -0
  10. package/es5/insights/events/room.js +56 -0
  11. package/es5/insights/events/room.js.map +1 -0
  12. package/es5/insights/telemetry.js +32 -28
  13. package/es5/insights/telemetry.js.map +1 -1
  14. package/es5/room.js +4 -0
  15. package/es5/room.js.map +1 -1
  16. package/es5/signaling/v2/peerconnection.js +151 -21
  17. package/es5/signaling/v2/peerconnection.js.map +1 -1
  18. package/es5/util/sdp/index.js +73 -163
  19. package/es5/util/sdp/index.js.map +1 -1
  20. package/es5/webrtc/rtcpeerconnection/chrome.js +16 -1
  21. package/es5/webrtc/rtcpeerconnection/chrome.js.map +1 -1
  22. package/es5/webrtc/rtcpeerconnection/firefox.js +3 -0
  23. package/es5/webrtc/rtcpeerconnection/firefox.js.map +1 -1
  24. package/es5/webrtc/rtcpeerconnection/safari.js +7 -6
  25. package/es5/webrtc/rtcpeerconnection/safari.js.map +1 -1
  26. package/lib/connect.js +3 -4
  27. package/lib/insights/events/peerconnection.js +166 -0
  28. package/lib/insights/events/room.js +61 -0
  29. package/lib/insights/telemetry.js +32 -26
  30. package/lib/room.js +4 -0
  31. package/lib/signaling/v2/peerconnection.js +168 -25
  32. package/lib/util/sdp/index.js +77 -172
  33. package/lib/webrtc/rtcpeerconnection/chrome.js +16 -1
  34. package/lib/webrtc/rtcpeerconnection/firefox.js +3 -0
  35. package/lib/webrtc/rtcpeerconnection/safari.js +6 -5
  36. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,24 @@ The Twilio Programmable Video SDKs use [Semantic Versioning](http://www.semver.o
2
2
 
3
3
  **Version 1.x reached End of Life on September 8th, 2021.** See the changelog entry [here](https://www.twilio.com/changelog/end-of-life-complete-for-unsupported-versions-of-the-programmable-video-sdk). Support for the 1.x version ended on December 4th, 2020.
4
4
 
5
+ 2.34.0 (January 8, 2026)
6
+ ====================
7
+
8
+ New Features
9
+ ------------
10
+ ### Enhanced Telemetry
11
+ - Added new telemetry events to enhance monitoring and diagnostics for the following media-related states:
12
+ - [RTCPeerConnectionState](https://w3c.github.io/webrtc-pc/#rtcpeerconnectionstate-enum)
13
+ - [RTCSignalingState](https://w3c.github.io/webrtc-pc/#rtcsignalingstate-enum)
14
+ - [RTCIceGatheringState](https://w3c.github.io/webrtc-pc/#rtcicegatheringstate-enum)
15
+ - [RTCIceConnectionState](https://w3c.github.io/webrtc-pc/#rtciceconnectionstate-enum)
16
+
17
+ - Added room lifecycle telemetry events: reconnecting, reconnected, and disconnected.
18
+
19
+ Changes
20
+ -------
21
+ - Replaced SDP munging for codec preferences with native `RTCRtpTransceiver.setCodecPreferences()` API.
22
+
5
23
  2.33.0 (November 6, 2025)
6
24
  ====================
7
25
 
package/LICENSE.md CHANGED
@@ -1,7 +1,7 @@
1
1
  The following license applies to all parts of this software except as
2
2
  documented below.
3
3
 
4
- Copyright (C) 2019-2025 Twilio, inc.
4
+ Copyright (C) 2019-2026 Twilio, inc.
5
5
  All rights reserved.
6
6
 
7
7
  Redistribution and use in source and binary forms, with or without
package/README.md CHANGED
@@ -74,7 +74,7 @@ Releases of twilio-video.js are hosted on a CDN, and you can include these
74
74
  directly in your web app using a <script> tag.
75
75
 
76
76
  ```html
77
- <script src="//sdk.twilio.com/js/video/releases/2.33.0/twilio-video.min.js"></script>
77
+ <script src="//sdk.twilio.com/js/video/releases/2.34.0/twilio-video.min.js"></script>
78
78
  ```
79
79
 
80
80
  Using this method, twilio-video.js will set a browser global: