twilio-video 2.24.1 → 2.24.3
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 +27 -0
- package/COMMON_ISSUES.md +4 -48
- package/README.md +9 -1
- package/dist/twilio-video.js +100 -129
- package/dist/twilio-video.min.js +21 -21
- package/es5/media/track/audiotrack.js +0 -11
- package/es5/media/track/audiotrack.js.map +1 -1
- package/es5/media/track/remoteaudiotrack.js +12 -0
- package/es5/media/track/remoteaudiotrack.js.map +1 -1
- 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/es5/webrtc/rtcpeerconnection/firefox.js +0 -14
- package/es5/webrtc/rtcpeerconnection/firefox.js.map +1 -1
- package/lib/media/track/audiotrack.js +0 -12
- package/lib/media/track/remoteaudiotrack.js +13 -0
- package/lib/noisecancellationadapter.ts +4 -3
- package/lib/signaling/v2/peerconnection.js +8 -3
- package/lib/util/dynamicimport.js +22 -0
- package/lib/webrtc/rtcpeerconnection/firefox.js +0 -16
- 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,29 @@ 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.3 (October 10, 2022)
|
|
6
|
+
=========================
|
|
7
|
+
|
|
8
|
+
Bug Fixes
|
|
9
|
+
---------
|
|
10
|
+
|
|
11
|
+
- Fixed a bug where iOS Safari Participant could not hear or see others after switching back from YouTube picture-in-picture mode. (VIDEO-11352)
|
|
12
|
+
- Fixed a bug where iOS Safari Participant could not hear others after switching from recording an audio message in a messenger app. (VIDEO-11354)
|
|
13
|
+
- Fixed a bug where iOS Safari Participant could not hear or see others after watching a video in another browser tab. (VIDEO-11356)
|
|
14
|
+
- Fixed a bug where iOS Safari Participant sometimes could not hear or see others after finishing an incoming call in full screen mode. (VIDEO-11359)
|
|
15
|
+
|
|
16
|
+
2.24.2 (September 29, 2022)
|
|
17
|
+
===========================
|
|
18
|
+
|
|
19
|
+
Bug Fixes
|
|
20
|
+
---------
|
|
21
|
+
|
|
22
|
+
- Fixed a bug where sometimes, a `MediaClientRemoteDescFailedError` was raised when a Chrome Participant who had enabled
|
|
23
|
+
Adaptive Simulcast (`ConnectOptions.preferredVideoCodecs = 'auto'`) tried to publish a camera Track after publishing a
|
|
24
|
+
`<canvas>` Track. (VIDEO-11516)
|
|
25
|
+
- Fixed an issue where the Krisp Noise Cancellation fails to load in an application where the content security policy
|
|
26
|
+
directives `default-src self unsafe-eval` are used. (VIDEO-11537)
|
|
27
|
+
|
|
5
28
|
2.24.1 (September 6, 2022)
|
|
6
29
|
==========================
|
|
7
30
|
|
|
@@ -73,6 +96,10 @@ function updateNoiseCancellation(enable: boolean) {
|
|
|
73
96
|
}
|
|
74
97
|
|
|
75
98
|
```
|
|
99
|
+
|
|
100
|
+
**NOTE:** If your application is using the `default-src self` content security policy directive, then you should add
|
|
101
|
+
another directive `unsafe-eval`, which is required for the Krisp Audio Plugin to load successfully.
|
|
102
|
+
|
|
76
103
|
2.22.2 (July 25, 2022)
|
|
77
104
|
======================
|
|
78
105
|
|
package/COMMON_ISSUES.md
CHANGED
|
@@ -4,7 +4,6 @@ Common Issues
|
|
|
4
4
|
Are you experiencing an issue with twilio-video.js? Please review this list of known issues and workarounds
|
|
5
5
|
before opening a new issue. We recommend regularly upgrading to the latest version of the SDK, which includes new features, bug fixes and improvements (see [CHANGELOG.md](CHANGELOG.md)).
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
### Chrome desktop
|
|
9
8
|
<details>
|
|
10
9
|
<summary>Chrome memory leak might cause degraded experience in group rooms</summary>
|
|
@@ -32,8 +31,6 @@ before opening a new issue. We recommend regularly upgrading to the latest versi
|
|
|
32
31
|
</p>
|
|
33
32
|
</details>
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
|
|
37
34
|
### Chrome mobile
|
|
38
35
|
<details>
|
|
39
36
|
<summary>Android 11: Participants are unable to connect to a room due to ICE gathering failures on certain devices</summary>
|
|
@@ -42,29 +39,6 @@ before opening a new issue. We recommend regularly upgrading to the latest versi
|
|
|
42
39
|
Participants are unable to connect to a room on certain Android 11 devices due to a [Chromium bug](https://bugs.chromium.org/p/chromium/issues/detail?id=1240237) where the browser is unable to gather ice candidates. Please see this [github issue](https://github.com/twilio/twilio-video.js/issues/1701#issuecomment-1067533348) for more details and a potential solution to mitigate the issue.
|
|
43
40
|
</p>
|
|
44
41
|
</details>
|
|
45
|
-
<details>
|
|
46
|
-
<summary>Android 12: Video distortion on Chrome when hardware acceleration is enabled</summary>
|
|
47
|
-
<p>
|
|
48
|
-
|
|
49
|
-
This is a VP8 encoder issue on Android 12. Please see this [github ticket](https://github.com/twilio/twilio-video.js/issues/1627) and this [Chrome bug](https://bugs.chromium.org/p/chromium/issues/detail?id=1237677) for more details.
|
|
50
|
-
</p>
|
|
51
|
-
</details>
|
|
52
|
-
<details>
|
|
53
|
-
<summary>Android Chrome on Pixel 3 receives corrupted video frames with codec VP8</summary>
|
|
54
|
-
<p>
|
|
55
|
-
|
|
56
|
-
This is an issue in the hardware VP8 encoder on the Pixel 3 devices. See [WebRTC ticket](https://bugs.chromium.org/p/webrtc/issues/detail?id=11337). To work around this issue, please set H264 as the preferred video codec on Pixel 3. ([Example](https://github.com/twilio/video-quickstart-android/issues/470#issuecomment-623042880)).
|
|
57
|
-
</p>
|
|
58
|
-
</details>
|
|
59
|
-
<details>
|
|
60
|
-
<summary>Android Chrome 81+ Participants fail to subscribe to H264 VideoTracks in Group Rooms</summary>
|
|
61
|
-
<p>
|
|
62
|
-
|
|
63
|
-
This happens primarily due to this [Chromium Bug](https://bugs.chromium.org/p/chromium/issues/detail?id=1074421).
|
|
64
|
-
We have added a workaround to the SDK in version 2.4.0. For earlier versions of the SDK,
|
|
65
|
-
please apply the workaround discussed in this [GitHub Issue](https://github.com/twilio/twilio-video.js/issues/966#issuecomment-619212184).
|
|
66
|
-
</p>
|
|
67
|
-
</details>
|
|
68
42
|
|
|
69
43
|
### Safari desktop
|
|
70
44
|
<details>
|
|
@@ -83,15 +57,6 @@ before opening a new issue. We recommend regularly upgrading to the latest versi
|
|
|
83
57
|
To fix this issue, please update your adapter.js version to the newer one (^7.7.1) with the [fix](https://github.com/webrtcHacks/adapter/commit/de0348c756b7bda11a700bf7ea9e9393cab16421)
|
|
84
58
|
</p>
|
|
85
59
|
</details>
|
|
86
|
-
|
|
87
|
-
<details>
|
|
88
|
-
<summary>Echo issues in Safari when using external microphone</summary>
|
|
89
|
-
<p>
|
|
90
|
-
|
|
91
|
-
This is an echo cancellation bug in Safari's implementation of WebRTC. For more details, go [here](https://bugs.webkit.org/show_bug.cgi?id=213723).
|
|
92
|
-
and [here](https://github.com/twilio/twilio-video.js/issues/1433)
|
|
93
|
-
</p>
|
|
94
|
-
</details>
|
|
95
60
|
<details>
|
|
96
61
|
<summary>Angular applications missing audio and/or video tracks</summary>
|
|
97
62
|
<p>
|
|
@@ -110,14 +75,6 @@ before opening a new issue. We recommend regularly upgrading to the latest versi
|
|
|
110
75
|
</p>
|
|
111
76
|
</details>
|
|
112
77
|
<details>
|
|
113
|
-
<summary>After unpublishing a Track, Safari 12.1 Participants cannot publish Track(s) of the same kind</summary>
|
|
114
|
-
<p>
|
|
115
|
-
|
|
116
|
-
Because of this Safari 12.1 [bug](https://bugs.webkit.org/show_bug.cgi?id=195489),
|
|
117
|
-
once a Participant unpublishes a MediaTrack of any kind (audio or video), it will not be able to publish another MediaTrack of the same kind. DataTracks are not affected. We have escalated this bug to the Safari Team and are keeping track of related developments.
|
|
118
|
-
</p>
|
|
119
|
-
</details>
|
|
120
|
-
<details>
|
|
121
78
|
<summary>Video elements may not be visible when applying a 3d transform</summary>
|
|
122
79
|
<p>
|
|
123
80
|
|
|
@@ -263,16 +220,15 @@ transform: scaleX(-1)
|
|
|
263
220
|
This issue happened due to regression in Safari's WebKit in iOS version 14.2, the fix got rolled out in iOS 14.3 beta3. Find more details [here](https://github.com/twilio/twilio-video.js/issues/1296) and in this [WebKit bug](https://bugs.webkit.org/show_bug.cgi?id=218762).
|
|
264
221
|
</p>
|
|
265
222
|
</details>
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
### Firefox desktop
|
|
269
223
|
<details>
|
|
270
|
-
<summary>
|
|
224
|
+
<summary>Participant is disconnected from the Room after being backgrounded for 30 seconds due to another audio/video app or incoming phone call</summary>
|
|
271
225
|
<p>
|
|
272
226
|
|
|
273
|
-
|
|
227
|
+
This is due to iOS suspending browser sessions that are not capturing audio after 30 seconds, as mentioned in this [Webkit bug comment](https://bugs.webkit.org/show_bug.cgi?id=204681#c5). You can work around this by rejoining the Room once the browser is foregrounded.
|
|
274
228
|
</p>
|
|
275
229
|
</details>
|
|
230
|
+
|
|
231
|
+
### Firefox desktop
|
|
276
232
|
<details>
|
|
277
233
|
<summary>Firefox Participants cannot constrain their audio bandwidth</summary>
|
|
278
234
|
<p>
|
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.3/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
|
|