twilio-video 2.28.0 → 2.29.0-preview.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 +19 -0
- package/COMMON_ISSUES.md +12 -0
- package/README.md +5 -1
- package/dist/twilio-video.js +315 -207
- package/dist/twilio-video.min.js +21 -21
- package/es5/media/track/capturevideoframes.js +71 -0
- package/es5/media/track/capturevideoframes.js.map +1 -0
- package/es5/media/track/localaudiotrack.js +24 -0
- package/es5/media/track/localaudiotrack.js.map +1 -1
- package/es5/media/track/videotrack.js +41 -31
- package/es5/media/track/videotrack.js.map +1 -1
- package/lib/media/track/capturevideoframes.js +68 -0
- package/lib/media/track/localaudiotrack.js +27 -1
- package/lib/media/track/videotrack.js +63 -35
- package/package.json +4 -2
- package/tsdef/VideoProcessor.d.ts +9 -1
- package/tsdef/types.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,12 +2,31 @@ 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.29.0-preview.1 (August 13, 2024)
|
|
6
|
+
==================================
|
|
7
|
+
|
|
8
|
+
Changes
|
|
9
|
+
-------
|
|
10
|
+
|
|
11
|
+
- `AddProcessorOptions.inputFrameBufferType` now has a new value `videoframe`. On browsers that support [`VideoFrame`](https://developer.mozilla.org/en-US/docs/Web/API/VideoFrame), the `inputFrameBuffer` argument of [`VideoProcessor.processFrame()`](https://twilio.github.io/twilio-video-processors.js/classes/VirtualBackgroundProcessor.html#processFrame) will be a `VideoFrame`. On other supported browsers, it will be an `HTMLVideoElement`.
|
|
12
|
+
- `AddProcessorOptions.outputFrameBufferContextType` now has a new value `bitmaprenderer`. Currently, this is only **supported for Chromium-based browsers**. On other supported browsers, it falls back to `2d`.
|
|
13
|
+
- Patched the build script to work around the issue: https://github.com/markdown-it/linkify-it/issues/111.
|
|
14
|
+
|
|
15
|
+
2.28.1 (October 3, 2023)
|
|
16
|
+
========================
|
|
17
|
+
|
|
18
|
+
Bug Fixes
|
|
19
|
+
---------
|
|
20
|
+
|
|
21
|
+
- Previously, a Chrome iOS 17 Participant's local audio (Krisp noise cancellation enabled) did not recover after foregrounding the browser following the playing of a YouTube video (or some other application which requires microphone permissions). We work around this by permanently disabling the Krisp noise cancellation upon foregrounding the browser. (VIDEO-13006)
|
|
22
|
+
|
|
5
23
|
2.28.0 (September 14, 2023)
|
|
6
24
|
===========================
|
|
7
25
|
|
|
8
26
|
Bug Fixes
|
|
9
27
|
---------
|
|
10
28
|
|
|
29
|
+
- Fixed a bug where a Chrome iOS 17 Participant's local and remote media (Krisp Noise Cancellation enabled) failed to recover after interacting with a PSTN call in full-screen mode. (VIDEO-13011)
|
|
11
30
|
- Fixed a bug where a Chrome iOS 17 Participant's audio with Krisp Noise Cancellation did not recover after interacting with a system popup. (VIDEO-13012)
|
|
12
31
|
- Fixed a bug where a Chrome iOS 17 Participant's audio with Krisp Noise Cancellation did not recover after invoking Siri. (VIDEO-13013)
|
|
13
32
|
|
package/COMMON_ISSUES.md
CHANGED
|
@@ -33,6 +33,12 @@ before opening a new issue. We recommend regularly upgrading to the latest versi
|
|
|
33
33
|
|
|
34
34
|
### Chrome mobile
|
|
35
35
|
<details>
|
|
36
|
+
<summary>iOS 17: Media issues</summary>
|
|
37
|
+
<p>
|
|
38
|
+
Please refer to this [GitHub Issue](https://github.com/twilio/twilio-video.js/issues/2023) for details.
|
|
39
|
+
</p>
|
|
40
|
+
</details>
|
|
41
|
+
<details>
|
|
36
42
|
<summary>Android 11: Participants are unable to connect to a room due to ICE gathering failures on certain devices</summary>
|
|
37
43
|
<p>
|
|
38
44
|
|
|
@@ -93,6 +99,12 @@ transform: scaleX(-1)
|
|
|
93
99
|
|
|
94
100
|
### Safari mobile
|
|
95
101
|
<details>
|
|
102
|
+
<summary>iOS 17: Media issues</summary>
|
|
103
|
+
<p>
|
|
104
|
+
Please refer to this [GitHub Issue](https://github.com/twilio/twilio-video.js/issues/2023) for details.
|
|
105
|
+
</p>
|
|
106
|
+
</details>
|
|
107
|
+
<details>
|
|
96
108
|
<summary>iOS 15: Echo issues on iOS 15 devices after attaching video tracks</summary>
|
|
97
109
|
<p>
|
|
98
110
|
|
package/README.md
CHANGED
|
@@ -3,6 +3,10 @@ twilio-video.js
|
|
|
3
3
|
|
|
4
4
|
[](https://www.npmjs.com/package/twilio-video) [](https://circleci.com/gh/twilio/twilio-video.js/tree/master)
|
|
5
5
|
|
|
6
|
+
> [!WARNING]
|
|
7
|
+
> We are no longer allowing new customers to onboard to Twilio Video. Effective **December 5th, 2026**, Twilio Video will End of Life (EOL) and will cease to function for all customers. Customers may transition to any video provider they choose, however, we are recommending customers migrate to the Zoom Video SDK and we have prepared a [Migration Guide](https://developers.zoom.us/docs/video-sdk/twilio/). Additional information on this EOL is available in our Help Center [here](https://help.twilio.com/articles/24158233644443-Programmable-Video-End-of-Life-Extension).
|
|
8
|
+
|
|
9
|
+
|
|
6
10
|
twilio-video.js allows you to add real-time voice and video to your web apps.
|
|
7
11
|
|
|
8
12
|
* [API Docs](//sdk.twilio.com/js/video/latest/docs)
|
|
@@ -74,7 +78,7 @@ Releases of twilio-video.js are hosted on a CDN, and you can include these
|
|
|
74
78
|
directly in your web app using a <script> tag.
|
|
75
79
|
|
|
76
80
|
```html
|
|
77
|
-
<script src="//sdk.twilio.com/js/video/releases/2.28.
|
|
81
|
+
<script src="//sdk.twilio.com/js/video/releases/2.28.1/twilio-video.min.js"></script>
|
|
78
82
|
```
|
|
79
83
|
|
|
80
84
|
Using this method, twilio-video.js will set a browser global:
|