twilio-video 2.31.0 → 2.32.1
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.md +37 -0
- package/README.md +1 -1
- package/dist/twilio-video.js +534 -166
- package/dist/twilio-video.min.js +22 -22
- package/es5/connect.js +3 -0
- package/es5/connect.js.map +1 -1
- package/es5/media/track/localvideotrack.js +127 -5
- package/es5/media/track/localvideotrack.js.map +1 -1
- package/es5/media/track/remotevideotrack.js +4 -2
- package/es5/media/track/remotevideotrack.js.map +1 -1
- package/es5/media/track/videotrack.js +104 -1
- package/es5/media/track/videotrack.js.map +1 -1
- package/es5/room.js +20 -0
- package/es5/room.js.map +1 -1
- package/es5/signaling/v2/cancelableroomsignalingpromise.js +2 -1
- package/es5/signaling/v2/cancelableroomsignalingpromise.js.map +1 -1
- package/es5/signaling/v2/room.js +13 -0
- package/es5/signaling/v2/room.js.map +1 -1
- package/es5/signaling/v2/transcriptionsignaling.js +47 -0
- package/es5/signaling/v2/transcriptionsignaling.js.map +1 -0
- package/es5/signaling/v2/twilioconnectiontransport.js +6 -3
- package/es5/signaling/v2/twilioconnectiontransport.js.map +1 -1
- package/es5/util/index.js +4 -1
- package/es5/util/index.js.map +1 -1
- package/es5/util/sdp/index.js +18 -3
- package/es5/util/sdp/index.js.map +1 -1
- package/es5/util/sdp/issue8329.js +37 -0
- package/es5/util/sdp/issue8329.js.map +1 -1
- package/lib/connect.js +3 -0
- package/lib/media/track/localvideotrack.js +143 -6
- package/lib/media/track/remotevideotrack.js +6 -2
- package/lib/media/track/videotrack.js +122 -1
- package/lib/room.js +22 -0
- package/lib/signaling/v2/cancelableroomsignalingpromise.js +2 -0
- package/lib/signaling/v2/room.js +13 -0
- package/lib/signaling/v2/transcriptionsignaling.js +33 -0
- package/lib/signaling/v2/twilioconnectiontransport.js +7 -4
- package/lib/util/index.js +5 -1
- package/lib/util/sdp/index.js +17 -3
- package/lib/util/sdp/issue8329.js +43 -0
- package/package.json +4 -6
- package/tsdef/Room.d.ts +2 -1
- package/tsdef/index.d.ts +1 -0
- package/tsdef/twilio-video-tests.ts +5 -0
- package/tsdef/types.d.ts +14 -1
- package/src/xmlhttprequest.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,43 @@ 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.32.1 (August 1, 2025)
|
|
6
|
+
====================
|
|
7
|
+
|
|
8
|
+
Bug Fixes
|
|
9
|
+
---------
|
|
10
|
+
- Fixed an issue where video tracks would freeze when the video element was offscreen in a document Picture-in-Picture window.
|
|
11
|
+
- Fixed an issue where `LocalVideoTrack.restart()` would fail on some devices when a video processor was active.
|
|
12
|
+
- Fixed an issue where SDP munging would generate duplicated payload types, causing SDP negotiation failures with Chrome 137+.
|
|
13
|
+
|
|
14
|
+
2.32.0 (July 23, 2025)
|
|
15
|
+
====================
|
|
16
|
+
|
|
17
|
+
New Features
|
|
18
|
+
------------
|
|
19
|
+
|
|
20
|
+
### Real-Time Transcriptions Support
|
|
21
|
+
|
|
22
|
+
Added real-time transcription capabilities for group rooms, allowing the capture and display of real-time captions during video calls.
|
|
23
|
+
|
|
24
|
+
#### Usage
|
|
25
|
+
To receive transcriptions, set the `receiveTranscriptions` option to `true` when connecting to a room. Then, subscribe to the `transcription` event to receive real-time transcription data:
|
|
26
|
+
|
|
27
|
+
```js
|
|
28
|
+
import { connect } from 'twilio-video';
|
|
29
|
+
|
|
30
|
+
const room = await connect(token, {
|
|
31
|
+
name: 'my-room',
|
|
32
|
+
receiveTranscriptions: true
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
room.on('transcription', (transcriptionEvent) => {
|
|
36
|
+
console.log(`${transcriptionEvent.participant}: ${transcriptionEvent.transcription}`);
|
|
37
|
+
});
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
See the [Transcription's](https://www.twilio.com/docs/video/api/transcriptions) documentation for more details.
|
|
41
|
+
|
|
5
42
|
2.31.0 (April 21, 2025)
|
|
6
43
|
=======================
|
|
7
44
|
|
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.
|
|
77
|
+
<script src="//sdk.twilio.com/js/video/releases/2.32.1/twilio-video.min.js"></script>
|
|
78
78
|
```
|
|
79
79
|
|
|
80
80
|
Using this method, twilio-video.js will set a browser global:
|