twilio-video 2.18.0 → 2.18.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/COMMON_ISSUES.md +24 -0
  3. package/README.md +1 -1
  4. package/dist/twilio-video.js +243 -192
  5. package/dist/twilio-video.min.js +22 -21
  6. package/es5/connect.js +13 -2
  7. package/es5/connect.js.map +1 -1
  8. package/es5/preflight/getCombinedConnectionStats.js +0 -1
  9. package/es5/preflight/getCombinedConnectionStats.js.map +1 -1
  10. package/es5/preflight/getturncredentials.js +2 -16
  11. package/es5/preflight/getturncredentials.js.map +1 -1
  12. package/es5/preflight/makestat.js +1 -1
  13. package/es5/preflight/makestat.js.map +1 -1
  14. package/es5/preflight/preflighttest.js +83 -11
  15. package/es5/preflight/preflighttest.js.map +1 -1
  16. package/es5/signaling/v2/cancelableroomsignalingpromise.js +2 -9
  17. package/es5/signaling/v2/cancelableroomsignalingpromise.js.map +1 -1
  18. package/es5/signaling/v2/twilioconnectiontransport.js +3 -27
  19. package/es5/signaling/v2/twilioconnectiontransport.js.map +1 -1
  20. package/es5/util/constants.js +3 -0
  21. package/es5/util/constants.js.map +1 -1
  22. package/es5/util/eventobserver.js +9 -19
  23. package/es5/util/eventobserver.js.map +1 -1
  24. package/es5/util/index.js +2 -0
  25. package/es5/util/index.js.map +1 -1
  26. package/es5/util/sid.js +18 -0
  27. package/es5/util/sid.js.map +1 -0
  28. package/lib/connect.js +21 -2
  29. package/lib/preflight/getCombinedConnectionStats.ts +0 -1
  30. package/lib/preflight/getturncredentials.ts +2 -12
  31. package/lib/preflight/makestat.ts +2 -2
  32. package/lib/preflight/preflighttest.ts +107 -13
  33. package/lib/signaling/v2/cancelableroomsignalingpromise.js +1 -12
  34. package/lib/signaling/v2/twilioconnectiontransport.js +1 -31
  35. package/lib/util/constants.js +3 -0
  36. package/lib/util/eventobserver.js +10 -22
  37. package/lib/util/index.js +3 -0
  38. package/lib/util/sid.js +20 -0
  39. package/package.json +1 -1
  40. package/tsconfig.json +1 -1
  41. package/tsdef/PreflightTypes.d.ts +1 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@ 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.18.1 (October 29, 2021)
6
+ =========================
7
+
8
+ Changes
9
+ -------
10
+
11
+ - Added some metrics to track the usage of the **Preflight API Public Beta** (`runPreflight`). There are no changes to the public APIs in this release. (VIDEO-6891)
12
+
5
13
  2.18.0 (October 13, 2021)
6
14
  =========================
7
15
 
package/COMMON_ISSUES.md CHANGED
@@ -36,6 +36,13 @@ before opening a new issue. We recommend regularly upgrading to the latest versi
36
36
 
37
37
  ### Chrome mobile
38
38
  <details>
39
+ <summary>Chrome on iOS 15.1 crashes when publishing or muting a VideoTrack that is using an H264 codec</summary>
40
+ <p>
41
+
42
+ This issue happens due to a regression on iOS 15.1 where using an H264 codec causes the browser to crash when joining a room or when muting the VideoTrack. Please use VP8 as a workaround for now. See more details [here](https://github.com/twilio/twilio-video.js/issues/1611).
43
+ </p>
44
+ </details>
45
+ <details>
39
46
  <summary>Android Chrome on Pixel 3 receives corrupted video frames with codec VP8</summary>
40
47
  <p>
41
48
 
@@ -53,6 +60,14 @@ before opening a new issue. We recommend regularly upgrading to the latest versi
53
60
  </details>
54
61
 
55
62
  ### Safari desktop
63
+ <details>
64
+ <summary>Safari 15.1 crashes when muting a VideoTrack that is using an H264 codec</summary>
65
+ <p>
66
+
67
+ This issue happens due to a regression on Safari 15.1 where muting a VideoTrack that is using an H264 codec causes the browser to crash. Please use VP8 as a workaround for now. See more details [here](https://github.com/twilio/twilio-video.js/issues/1611).
68
+ </p>
69
+ </details>
70
+
56
71
  <details>
57
72
  <summary>Failures to publish tracks on Safari 15</summary>
58
73
  <p>
@@ -99,14 +114,23 @@ before opening a new issue. We recommend regularly upgrading to the latest versi
99
114
 
100
115
  ### Safari mobile
101
116
  <details>
117
+ <summary>iOS 15.1: Browser crashes when publishing or muting a VideoTrack that is using an H264 codec</summary>
118
+ <p>
119
+
120
+ This issue happens due to a regression on iOS 15.1 where using an H264 codec causes the browser to crash when joining a room or when muting the VideoTrack. Please use VP8 as a workaround for now. See more details [here](https://github.com/twilio/twilio-video.js/issues/1611).
121
+ </p>
122
+ </details>
123
+ <details>
102
124
  <summary>iOS 15: Low audio volume in Safari</summary>
103
125
  <p>
126
+
104
127
  Safari on iOS version 15, sometimes routes audio to the earpiece and not the speakers by default. Which customers some time perceive as low audio volume. Find more details [here](https://github.com/twilio/twilio-video.js/issues/1586) and in this [WebKit bug](https://bugs.webkit.org/show_bug.cgi?id=230902).
105
128
  </p>
106
129
  </details>
107
130
  <details>
108
131
  <summary>iOS 15: Audio is lost in a video call after an interruption with a phone call</summary>
109
132
  <p>
133
+
110
134
  Due to a regression on Safari on iOS 15, an incoming call causes local and sometimes remote media playback to stop. You can find more details in this [WebKit bug](https://bugs.webkit.org/show_bug.cgi?id=230537).
111
135
  </p>
112
136
  </details>
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.18.0/twilio-video.min.js"></script>
77
+ <script src="//sdk.twilio.com/js/video/releases/2.18.1/twilio-video.min.js"></script>
78
78
 
79
79
  ```
80
80