twilio-video 2.24.0 → 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 CHANGED
@@ -2,6 +2,30 @@ 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
+
17
+ 2.24.1 (September 6, 2022)
18
+ ==========================
19
+
20
+ Bug Fixes
21
+ ---------
22
+
23
+ - Fixed a bug where sometimes a runtime error was raised on iOS devices as shown below. (VIDEO-11263)
24
+ ```
25
+ Unhandled Runtime Error: TypeError: null is not an object (evaluating 'el.paused')
26
+ ```
27
+ - The LocalTrackOptions type definition now contains `logLevel` as an optional property. (VIDEO-10659)
28
+ - Fixed an issue where the `import` keyword was causing problems in webpack and typescript projects. (VIDEO-11220)
5
29
 
6
30
  2.24.0 (August 22, 2022)
7
31
  ========================
@@ -61,6 +85,10 @@ function updateNoiseCancellation(enable: boolean) {
61
85
  }
62
86
 
63
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
+
64
92
  2.22.2 (July 25, 2022)
65
93
  ======================
66
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 &lt;script&gt; tag.
75
75
 
76
76
  ```html
77
- <script src="//sdk.twilio.com/js/video/releases/2.24.0/twilio-video.min.js"></script>
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