twilio-video 2.24.1 → 2.24.2
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 +16 -0
- package/README.md +9 -1
- package/dist/twilio-video.js +88 -104
- package/dist/twilio-video.min.js +19 -19
- package/es5/noisecancellationadapter.js +1 -2
- package/es5/noisecancellationadapter.js.map +1 -1
- package/es5/signaling/v2/peerconnection.js +8 -1
- package/es5/signaling/v2/peerconnection.js.map +1 -1
- package/es5/util/dynamicimport.js +22 -0
- package/es5/util/dynamicimport.js.map +1 -0
- package/lib/noisecancellationadapter.ts +4 -3
- package/lib/signaling/v2/peerconnection.js +8 -3
- package/lib/util/dynamicimport.js +22 -0
- package/package.json +1 -1
- package/es5/vendor/dynamicimport.js +0 -44
- package/es5/vendor/dynamicimport.js.map +0 -1
- package/lib/vendor/dynamicimport.js +0 -44
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@ 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.24.2 (September 29, 2022)
|
|
6
|
+
===========================
|
|
7
|
+
|
|
8
|
+
Bug Fixes
|
|
9
|
+
---------
|
|
10
|
+
|
|
11
|
+
- Fixed a bug where sometimes, a `MediaClientRemoteDescFailedError` was raised when a Chrome Participant who had enabled
|
|
12
|
+
Adaptive Simulcast (`ConnectOptions.preferredVideoCodecs = 'auto'`) tried to publish a camera Track after publishing a
|
|
13
|
+
`<canvas>` Track. (VIDEO-11516)
|
|
14
|
+
- Fixed an issue where the Krisp Noise Cancellation fails to load in an application where the content security policy
|
|
15
|
+
directives `default-src self unsafe-eval` are used. (VIDEO-11537)
|
|
16
|
+
|
|
5
17
|
2.24.1 (September 6, 2022)
|
|
6
18
|
==========================
|
|
7
19
|
|
|
@@ -73,6 +85,10 @@ function updateNoiseCancellation(enable: boolean) {
|
|
|
73
85
|
}
|
|
74
86
|
|
|
75
87
|
```
|
|
88
|
+
|
|
89
|
+
**NOTE:** If your application is using the `default-src self` content security policy directive, then you should add
|
|
90
|
+
another directive `unsafe-eval`, which is required for the Krisp Audio Plugin to load successfully.
|
|
91
|
+
|
|
76
92
|
2.22.2 (July 25, 2022)
|
|
77
93
|
======================
|
|
78
94
|
|
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.24.
|
|
77
|
+
<script src="//sdk.twilio.com/js/video/releases/2.24.2/twilio-video.min.js"></script>
|
|
78
78
|
|
|
79
79
|
```
|
|
80
80
|
|
|
@@ -154,6 +154,14 @@ you should also include the following `script-src` directive:
|
|
|
154
154
|
script-src https://sdk.twilio.com
|
|
155
155
|
```
|
|
156
156
|
|
|
157
|
+
If you are enabling [Krisp Noise Cancellation](https://www.twilio.com/docs/video/noise-cancellation) for
|
|
158
|
+
your local audio, and you are using the following `default-src self` directive, you should also add the
|
|
159
|
+
`unsafe-eval` directive:
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
default-src self unsafe-eval
|
|
163
|
+
```
|
|
164
|
+
|
|
157
165
|
Keep in mind, you may need to merge these policy directives with your own if
|
|
158
166
|
you're using other services.
|
|
159
167
|
|