@stream-io/video-client 0.0.1-alpha.19 → 0.0.1-alpha.190

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 (287) hide show
  1. package/CHANGELOG.md +419 -0
  2. package/README.md +16 -4
  3. package/dist/index.browser.es.js +7318 -3928
  4. package/dist/index.browser.es.js.map +1 -1
  5. package/dist/index.cjs.js +7361 -3932
  6. package/dist/index.cjs.js.map +1 -1
  7. package/dist/index.d.ts +6 -6
  8. package/dist/index.es.js +7317 -3927
  9. package/dist/index.es.js.map +1 -1
  10. package/dist/src/Call.d.ts +411 -0
  11. package/dist/src/CallType.d.ts +72 -0
  12. package/dist/src/StreamSfuClient.d.ts +43 -13
  13. package/dist/src/StreamVideoClient.d.ts +66 -85
  14. package/dist/src/coordinator/connection/client.d.ts +17 -21
  15. package/dist/src/coordinator/connection/connection.d.ts +9 -8
  16. package/dist/src/coordinator/connection/connection_fallback.d.ts +3 -2
  17. package/dist/src/coordinator/connection/insights.d.ts +0 -1
  18. package/dist/src/coordinator/connection/token_manager.d.ts +6 -5
  19. package/dist/src/coordinator/connection/types.d.ts +30 -24
  20. package/dist/src/coordinator/connection/utils.d.ts +5 -1
  21. package/dist/src/{devices.d.ts → devices/devices.d.ts} +33 -9
  22. package/dist/src/devices/index.d.ts +1 -0
  23. package/dist/src/events/__tests__/backstage.test.d.ts +1 -0
  24. package/dist/src/events/__tests__/call-permissions.test.d.ts +1 -0
  25. package/dist/src/events/__tests__/call.test.d.ts +1 -0
  26. package/dist/src/events/__tests__/members.test.d.ts +1 -0
  27. package/dist/src/events/__tests__/participant.test.d.ts +1 -0
  28. package/dist/src/events/__tests__/recording.test.d.ts +1 -0
  29. package/dist/src/events/__tests__/sessions.test.d.ts +1 -0
  30. package/dist/src/events/backstage.d.ts +6 -0
  31. package/dist/src/events/call-permissions.d.ts +18 -0
  32. package/dist/src/events/call.d.ts +14 -18
  33. package/dist/src/events/callEventHandlers.d.ts +5 -0
  34. package/dist/src/events/index.d.ts +11 -0
  35. package/dist/src/events/internal.d.ts +9 -4
  36. package/dist/src/events/members.d.ts +18 -0
  37. package/dist/src/events/moderation.d.ts +14 -0
  38. package/dist/src/events/participant.d.ts +6 -7
  39. package/dist/src/events/reactions.d.ts +8 -0
  40. package/dist/src/events/recording.d.ts +15 -0
  41. package/dist/src/events/sessions.d.ts +26 -0
  42. package/dist/src/events/speaker.d.ts +4 -4
  43. package/dist/src/gen/coordinator/index.d.ts +3247 -697
  44. package/dist/src/gen/video/sfu/event/events.d.ts +97 -30
  45. package/dist/src/gen/video/sfu/models/models.d.ts +336 -8
  46. package/dist/src/helpers/ViewportTracker.d.ts +36 -0
  47. package/dist/src/helpers/__tests__/sdp-munging.test.d.ts +1 -0
  48. package/dist/src/helpers/browsers.d.ts +4 -0
  49. package/dist/src/helpers/platforms.d.ts +4 -0
  50. package/dist/src/helpers/sdp-munging.d.ts +25 -0
  51. package/dist/src/helpers/sound-detector.d.ts +1 -1
  52. package/dist/src/permissions/PermissionsContext.d.ts +38 -0
  53. package/dist/src/permissions/index.d.ts +1 -0
  54. package/dist/src/rpc/createClient.d.ts +1 -1
  55. package/dist/src/rpc/index.d.ts +0 -1
  56. package/dist/src/rtc/Dispatcher.d.ts +6 -3
  57. package/dist/src/rtc/__tests__/mocks/webrtc.mocks.d.ts +1 -0
  58. package/dist/src/rtc/__tests__/publisher.test.d.ts +1 -0
  59. package/dist/src/rtc/__tests__/videoLayers.test.d.ts +1 -0
  60. package/dist/src/rtc/codecs.d.ts +2 -2
  61. package/dist/src/rtc/flows/join.d.ts +18 -0
  62. package/dist/src/rtc/helpers/tracks.d.ts +4 -2
  63. package/dist/src/rtc/index.d.ts +7 -0
  64. package/dist/src/rtc/publisher.d.ts +24 -9
  65. package/dist/src/rtc/signal.d.ts +1 -1
  66. package/dist/src/rtc/subscriber.d.ts +4 -2
  67. package/dist/src/rtc/videoLayers.d.ts +21 -12
  68. package/dist/src/sdk-info.d.ts +3 -0
  69. package/dist/src/sorting/__tests__/participant-data.d.ts +2 -0
  70. package/dist/src/sorting/__tests__/sorting.test.d.ts +1 -0
  71. package/dist/src/sorting/comparator.d.ts +37 -0
  72. package/dist/src/sorting/index.d.ts +3 -0
  73. package/dist/src/sorting/participants.d.ts +65 -0
  74. package/dist/src/sorting/presets.d.ts +13 -0
  75. package/dist/src/stats/state-store-stats-reporter.d.ts +4 -4
  76. package/dist/src/stats/types.d.ts +1 -0
  77. package/dist/src/store/CallState.d.ts +403 -0
  78. package/dist/src/store/__tests__/CallState.test.d.ts +1 -0
  79. package/dist/src/store/index.d.ts +1 -0
  80. package/dist/src/store/rxUtils.d.ts +12 -1
  81. package/dist/src/store/stateStore.d.ts +68 -115
  82. package/dist/src/types.d.ts +166 -0
  83. package/index.ts +6 -7
  84. package/package.json +30 -20
  85. package/src/Call.ts +1487 -0
  86. package/src/CallType.ts +123 -0
  87. package/src/StreamSfuClient.ts +188 -82
  88. package/src/StreamVideoClient.ts +218 -391
  89. package/src/__tests__/StreamVideoClient.test.ts +4 -78
  90. package/src/coordinator/connection/client.ts +76 -83
  91. package/src/coordinator/connection/connection.ts +50 -25
  92. package/src/coordinator/connection/connection_fallback.ts +6 -3
  93. package/src/coordinator/connection/errors.ts +10 -0
  94. package/src/coordinator/connection/token_manager.ts +18 -10
  95. package/src/coordinator/connection/types.ts +38 -27
  96. package/src/coordinator/connection/utils.ts +8 -4
  97. package/src/{devices.ts → devices/devices.ts} +122 -50
  98. package/src/devices/index.ts +1 -0
  99. package/src/events/__tests__/backstage.test.ts +15 -0
  100. package/src/events/__tests__/call-permissions.test.ts +109 -0
  101. package/src/events/__tests__/call.test.ts +205 -0
  102. package/src/events/__tests__/members.test.ts +135 -0
  103. package/src/events/__tests__/participant.test.ts +262 -0
  104. package/src/events/__tests__/recording.test.ts +54 -0
  105. package/src/events/__tests__/sessions.test.ts +130 -0
  106. package/src/events/backstage.ts +15 -0
  107. package/src/events/call-permissions.ts +69 -0
  108. package/src/events/call.ts +44 -141
  109. package/src/events/callEventHandlers.ts +136 -0
  110. package/src/events/index.ts +11 -0
  111. package/src/events/internal.ts +24 -6
  112. package/src/events/members.ts +62 -0
  113. package/src/events/moderation.ts +35 -0
  114. package/src/events/participant.ts +35 -38
  115. package/src/events/reactions.ts +30 -0
  116. package/src/events/recording.ts +52 -0
  117. package/src/events/sessions.ts +112 -0
  118. package/src/events/speaker.ts +9 -9
  119. package/src/gen/coordinator/index.ts +3169 -641
  120. package/src/gen/video/sfu/event/events.ts +2978 -1570
  121. package/src/gen/video/sfu/models/models.ts +2382 -897
  122. package/src/helpers/ViewportTracker.ts +112 -0
  123. package/src/helpers/__tests__/sdp-munging.test.ts +278 -0
  124. package/src/helpers/browsers.ts +12 -2
  125. package/src/helpers/platforms.ts +7 -0
  126. package/src/helpers/sdp-munging.ts +233 -0
  127. package/src/helpers/sound-detector.ts +17 -2
  128. package/src/permissions/PermissionsContext.ts +63 -0
  129. package/src/permissions/index.ts +1 -0
  130. package/src/rpc/createClient.ts +2 -1
  131. package/src/rpc/index.ts +0 -1
  132. package/src/rtc/Dispatcher.ts +30 -3
  133. package/src/rtc/__tests__/mocks/webrtc.mocks.ts +42 -0
  134. package/src/rtc/__tests__/publisher.test.ts +144 -0
  135. package/src/rtc/__tests__/videoLayers.test.ts +138 -0
  136. package/src/rtc/codecs.ts +51 -18
  137. package/src/rtc/flows/join.ts +107 -0
  138. package/src/rtc/helpers/tracks.ts +35 -3
  139. package/src/rtc/index.ts +7 -0
  140. package/src/rtc/publisher.ts +209 -53
  141. package/src/rtc/signal.ts +27 -18
  142. package/src/rtc/subscriber.ts +43 -27
  143. package/src/rtc/videoLayers.ts +72 -42
  144. package/src/sdk-info.ts +11 -0
  145. package/src/sorting/__tests__/participant-data.ts +99 -0
  146. package/src/sorting/__tests__/sorting.test.ts +46 -0
  147. package/src/sorting/comparator.ts +62 -0
  148. package/src/sorting/index.ts +3 -0
  149. package/src/sorting/participants.ts +135 -0
  150. package/src/sorting/presets.ts +62 -0
  151. package/src/stats/state-store-stats-reporter.ts +8 -11
  152. package/src/stats/types.ts +2 -0
  153. package/src/store/CallState.ts +662 -0
  154. package/src/store/__tests__/CallState.test.ts +105 -0
  155. package/src/store/index.ts +1 -0
  156. package/src/store/rxUtils.ts +24 -7
  157. package/src/store/stateStore.ts +137 -246
  158. package/src/types.ts +216 -0
  159. package/coverage/lcov-report/base.css +0 -224
  160. package/coverage/lcov-report/block-navigation.js +0 -87
  161. package/coverage/lcov-report/favicon.png +0 -0
  162. package/coverage/lcov-report/index.html +0 -296
  163. package/coverage/lcov-report/prettify.css +0 -1
  164. package/coverage/lcov-report/prettify.js +0 -2
  165. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  166. package/coverage/lcov-report/sorter.js +0 -196
  167. package/coverage/lcov-report/src/Batcher.ts.html +0 -214
  168. package/coverage/lcov-report/src/CallDropScheduler.ts.html +0 -661
  169. package/coverage/lcov-report/src/StreamSfuClient.ts.html +0 -640
  170. package/coverage/lcov-report/src/StreamVideoClient.ts.html +0 -1618
  171. package/coverage/lcov-report/src/config/defaultConfigs.ts.html +0 -130
  172. package/coverage/lcov-report/src/config/index.html +0 -116
  173. package/coverage/lcov-report/src/coordinator/StreamCoordinatorClient.ts.html +0 -421
  174. package/coverage/lcov-report/src/coordinator/connection/base64.ts.html +0 -325
  175. package/coverage/lcov-report/src/coordinator/connection/client.ts.html +0 -2527
  176. package/coverage/lcov-report/src/coordinator/connection/connection.ts.html +0 -2338
  177. package/coverage/lcov-report/src/coordinator/connection/connection_fallback.ts.html +0 -802
  178. package/coverage/lcov-report/src/coordinator/connection/errors.ts.html +0 -295
  179. package/coverage/lcov-report/src/coordinator/connection/index.html +0 -251
  180. package/coverage/lcov-report/src/coordinator/connection/insights.ts.html +0 -349
  181. package/coverage/lcov-report/src/coordinator/connection/signing.ts.html +0 -397
  182. package/coverage/lcov-report/src/coordinator/connection/token_manager.ts.html +0 -565
  183. package/coverage/lcov-report/src/coordinator/connection/types.ts.html +0 -418
  184. package/coverage/lcov-report/src/coordinator/connection/utils.ts.html +0 -529
  185. package/coverage/lcov-report/src/coordinator/index.html +0 -116
  186. package/coverage/lcov-report/src/events/call.ts.html +0 -583
  187. package/coverage/lcov-report/src/events/index.html +0 -161
  188. package/coverage/lcov-report/src/events/internal.ts.html +0 -226
  189. package/coverage/lcov-report/src/events/participant.ts.html +0 -376
  190. package/coverage/lcov-report/src/events/speaker.ts.html +0 -271
  191. package/coverage/lcov-report/src/gen/google/protobuf/index.html +0 -131
  192. package/coverage/lcov-report/src/gen/google/protobuf/struct.ts.html +0 -1528
  193. package/coverage/lcov-report/src/gen/google/protobuf/timestamp.ts.html +0 -958
  194. package/coverage/lcov-report/src/gen/video/sfu/event/events.ts.html +0 -5971
  195. package/coverage/lcov-report/src/gen/video/sfu/event/index.html +0 -116
  196. package/coverage/lcov-report/src/gen/video/sfu/models/index.html +0 -116
  197. package/coverage/lcov-report/src/gen/video/sfu/models/models.ts.html +0 -3271
  198. package/coverage/lcov-report/src/index.html +0 -161
  199. package/coverage/lcov-report/src/rpc/index.html +0 -131
  200. package/coverage/lcov-report/src/rpc/index.ts.html +0 -91
  201. package/coverage/lcov-report/src/rpc/latency.ts.html +0 -214
  202. package/coverage/lcov-report/src/rtc/Call.ts.html +0 -1840
  203. package/coverage/lcov-report/src/rtc/CallMetadata.ts.html +0 -157
  204. package/coverage/lcov-report/src/rtc/Dispatcher.ts.html +0 -223
  205. package/coverage/lcov-report/src/rtc/IceTrickleBuffer.ts.html +0 -148
  206. package/coverage/lcov-report/src/rtc/callEventHandlers.ts.html +0 -196
  207. package/coverage/lcov-report/src/rtc/codecs.ts.html +0 -268
  208. package/coverage/lcov-report/src/rtc/helpers/iceCandidate.ts.html +0 -133
  209. package/coverage/lcov-report/src/rtc/helpers/index.html +0 -131
  210. package/coverage/lcov-report/src/rtc/helpers/tracks.ts.html +0 -139
  211. package/coverage/lcov-report/src/rtc/index.html +0 -251
  212. package/coverage/lcov-report/src/rtc/publisher.ts.html +0 -1000
  213. package/coverage/lcov-report/src/rtc/signal.ts.html +0 -187
  214. package/coverage/lcov-report/src/rtc/subscriber.ts.html +0 -340
  215. package/coverage/lcov-report/src/rtc/videoLayers.ts.html +0 -394
  216. package/coverage/lcov-report/src/stats/index.html +0 -116
  217. package/coverage/lcov-report/src/stats/state-store-stats-reporter.ts.html +0 -1177
  218. package/coverage/lcov-report/src/store/index.html +0 -146
  219. package/coverage/lcov-report/src/store/index.ts.html +0 -91
  220. package/coverage/lcov-report/src/store/rxUtils.ts.html +0 -211
  221. package/coverage/lcov-report/src/store/stateStore.ts.html +0 -1108
  222. package/coverage/lcov.info +0 -11469
  223. package/coverage/tmp/coverage-2231-1676377793098-2.json +0 -1
  224. package/dist/src/Batcher.d.ts +0 -12
  225. package/dist/src/CallDropScheduler.d.ts +0 -44
  226. package/dist/src/config/defaultConfigs.d.ts +0 -2
  227. package/dist/src/config/types.d.ts +0 -29
  228. package/dist/src/coordinator/StreamCoordinatorClient.d.ts +0 -19
  229. package/dist/src/coordinator/connection/events.d.ts +0 -10
  230. package/dist/src/gen/google/protobuf/descriptor.d.ts +0 -1650
  231. package/dist/src/gen/google/protobuf/duration.d.ts +0 -113
  232. package/dist/src/gen/video/coordinator/broadcast_v1/broadcast.d.ts +0 -66
  233. package/dist/src/gen/video/coordinator/call_v1/call.d.ts +0 -254
  234. package/dist/src/gen/video/coordinator/client_v1_rpc/client_rpc.client.d.ts +0 -351
  235. package/dist/src/gen/video/coordinator/client_v1_rpc/client_rpc.d.ts +0 -1488
  236. package/dist/src/gen/video/coordinator/client_v1_rpc/envelopes.d.ts +0 -143
  237. package/dist/src/gen/video/coordinator/client_v1_rpc/websocket.d.ts +0 -292
  238. package/dist/src/gen/video/coordinator/edge_v1/edge.d.ts +0 -183
  239. package/dist/src/gen/video/coordinator/event_v1/event.d.ts +0 -411
  240. package/dist/src/gen/video/coordinator/geofence_v1/geofence.d.ts +0 -63
  241. package/dist/src/gen/video/coordinator/member_v1/member.d.ts +0 -59
  242. package/dist/src/gen/video/coordinator/participant_v1/participant.d.ts +0 -103
  243. package/dist/src/gen/video/coordinator/push_v1/push.d.ts +0 -240
  244. package/dist/src/gen/video/coordinator/stat_v1/stat.d.ts +0 -308
  245. package/dist/src/gen/video/coordinator/user_v1/user.d.ts +0 -112
  246. package/dist/src/gen/video/coordinator/utils_v1/utils.d.ts +0 -47
  247. package/dist/src/rpc/latency.d.ts +0 -9
  248. package/dist/src/rtc/Call.d.ts +0 -180
  249. package/dist/src/rtc/CallMetadata.d.ts +0 -9
  250. package/dist/src/rtc/callEventHandlers.d.ts +0 -5
  251. package/dist/src/rtc/types.d.ts +0 -84
  252. package/dist/src/stats/coordinator-stats-reporter.d.ts +0 -10
  253. package/generate-openapi.sh +0 -32
  254. package/openapitools.json +0 -7
  255. package/rollup.config.mjs +0 -71
  256. package/src/Batcher.ts +0 -43
  257. package/src/CallDropScheduler.ts +0 -192
  258. package/src/config/defaultConfigs.ts +0 -15
  259. package/src/config/types.ts +0 -30
  260. package/src/coordinator/StreamCoordinatorClient.ts +0 -112
  261. package/src/coordinator/connection/events.ts +0 -13
  262. package/src/gen/google/protobuf/descriptor.ts +0 -3466
  263. package/src/gen/google/protobuf/duration.ts +0 -232
  264. package/src/gen/video/coordinator/broadcast_v1/broadcast.ts +0 -154
  265. package/src/gen/video/coordinator/call_v1/call.ts +0 -651
  266. package/src/gen/video/coordinator/client_v1_rpc/client_rpc.client.ts +0 -463
  267. package/src/gen/video/coordinator/client_v1_rpc/client_rpc.ts +0 -3819
  268. package/src/gen/video/coordinator/client_v1_rpc/envelopes.ts +0 -424
  269. package/src/gen/video/coordinator/client_v1_rpc/websocket.ts +0 -719
  270. package/src/gen/video/coordinator/edge_v1/edge.ts +0 -532
  271. package/src/gen/video/coordinator/event_v1/event.ts +0 -1171
  272. package/src/gen/video/coordinator/geofence_v1/geofence.ts +0 -128
  273. package/src/gen/video/coordinator/member_v1/member.ts +0 -138
  274. package/src/gen/video/coordinator/participant_v1/participant.ts +0 -261
  275. package/src/gen/video/coordinator/push_v1/push.ts +0 -651
  276. package/src/gen/video/coordinator/stat_v1/stat.ts +0 -656
  277. package/src/gen/video/coordinator/user_v1/user.ts +0 -277
  278. package/src/gen/video/coordinator/utils_v1/utils.ts +0 -98
  279. package/src/rpc/latency.ts +0 -43
  280. package/src/rtc/Call.ts +0 -585
  281. package/src/rtc/CallMetadata.ts +0 -24
  282. package/src/rtc/callEventHandlers.ts +0 -37
  283. package/src/rtc/types.ts +0 -105
  284. package/src/stats/coordinator-stats-reporter.ts +0 -167
  285. package/tsconfig.json +0 -25
  286. package/typedoc.json +0 -11
  287. package/vite.config.ts +0 -11
package/CHANGELOG.md ADDED
@@ -0,0 +1,419 @@
1
+ # Changelog
2
+
3
+ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
+
5
+ ## [0.0.1-alpha.190](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.189...client0.0.1-alpha.190) (2023-05-25)
6
+
7
+
8
+
9
+ ## [0.0.1-alpha.189](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.188...client0.0.1-alpha.189) (2023-05-25)
10
+
11
+
12
+
13
+ ## [0.0.1-alpha.188](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.187...client0.0.1-alpha.188) (2023-05-25)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * preserve own capabilities when call session starts ([#554](https://github.com/GetStream/stream-video-js/issues/554)) ([5784fed](https://github.com/GetStream/stream-video-js/commit/5784fed515d6d543a4a60770a5389935deeac65d)), closes [#551](https://github.com/GetStream/stream-video-js/issues/551)
19
+
20
+
21
+ ### Features
22
+
23
+ * show simulcast track stats in debug view ([#553](https://github.com/GetStream/stream-video-js/issues/553)) ([2c993f5](https://github.com/GetStream/stream-video-js/commit/2c993f53cfe7e76b789bc57d6034b01ff57de8d4))
24
+
25
+
26
+
27
+ ## [0.0.1-alpha.187](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.186...client0.0.1-alpha.187) (2023-05-25)
28
+
29
+
30
+
31
+ ## [0.0.1-alpha.186](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.185...client0.0.1-alpha.186) (2023-05-25)
32
+
33
+
34
+
35
+ ## [0.0.1-alpha.185](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.184...client0.0.1-alpha.185) (2023-05-25)
36
+
37
+
38
+
39
+ ## [0.0.1-alpha.184](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.183...client0.0.1-alpha.184) (2023-05-25)
40
+
41
+
42
+ ### Features
43
+
44
+ * call.session events ([#551](https://github.com/GetStream/stream-video-js/issues/551)) ([326498a](https://github.com/GetStream/stream-video-js/commit/326498afb6e35b534332175a3b5b80b8ded4694f))
45
+
46
+
47
+
48
+ ## [0.0.1-alpha.183](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.182...client0.0.1-alpha.183) (2023-05-25)
49
+
50
+
51
+
52
+ ## [0.0.1-alpha.182](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.181...client0.0.1-alpha.182) (2023-05-25)
53
+
54
+
55
+
56
+ ## [0.0.1-alpha.181](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.180...client0.0.1-alpha.181) (2023-05-24)
57
+
58
+
59
+
60
+ ## [0.0.1-alpha.180](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.179...client0.0.1-alpha.180) (2023-05-24)
61
+
62
+
63
+
64
+ ## [0.0.1-alpha.179](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.178...client0.0.1-alpha.179) (2023-05-24)
65
+
66
+
67
+
68
+ ## [0.0.1-alpha.178](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.177...client0.0.1-alpha.178) (2023-05-23)
69
+
70
+
71
+
72
+ ## [0.0.1-alpha.177](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.176...client0.0.1-alpha.177) (2023-05-23)
73
+
74
+
75
+
76
+ ## [0.0.1-alpha.176](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.175...client0.0.1-alpha.176) (2023-05-23)
77
+
78
+
79
+ ### Features
80
+
81
+ * Participant information from track events ([#536](https://github.com/GetStream/stream-video-js/issues/536)) ([e8c8d7b](https://github.com/GetStream/stream-video-js/commit/e8c8d7bdf6d21321908ce1cb3a113b445b41d5c8))
82
+
83
+
84
+
85
+ ## [0.0.1-alpha.175](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.174...client0.0.1-alpha.175) (2023-05-23)
86
+
87
+
88
+
89
+ ## [0.0.1-alpha.174](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.173...client0.0.1-alpha.174) (2023-05-23)
90
+
91
+
92
+ ### Features
93
+
94
+ * conditional target video bitrate downscaling ([#537](https://github.com/GetStream/stream-video-js/issues/537)) ([134341b](https://github.com/GetStream/stream-video-js/commit/134341b213d690e78de87f30cf0751e24ae64ca4)), closes [#516](https://github.com/GetStream/stream-video-js/issues/516)
95
+
96
+
97
+
98
+ ## [0.0.1-alpha.174](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.173...client0.0.1-alpha.174) (2023-05-23)
99
+
100
+
101
+ ### Features
102
+
103
+ * conditional target video bitrate downscaling ([#537](https://github.com/GetStream/stream-video-js/issues/537)) ([134341b](https://github.com/GetStream/stream-video-js/commit/134341b213d690e78de87f30cf0751e24ae64ca4)), closes [#516](https://github.com/GetStream/stream-video-js/issues/516)
104
+
105
+
106
+
107
+ ## [0.0.1-alpha.174](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.173...client0.0.1-alpha.174) (2023-05-23)
108
+
109
+
110
+
111
+ ## [0.0.1-alpha.173](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.172...client0.0.1-alpha.173) (2023-05-23)
112
+
113
+
114
+
115
+ ## [0.0.1-alpha.172](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.171...client0.0.1-alpha.172) (2023-05-22)
116
+
117
+
118
+
119
+ ## [0.0.1-alpha.171](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.170...client0.0.1-alpha.171) (2023-05-22)
120
+
121
+
122
+
123
+ ## [0.0.1-alpha.170](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.169...client0.0.1-alpha.170) (2023-05-22)
124
+
125
+
126
+ ### Features
127
+
128
+ * missing WS events and endpoints ([#527](https://github.com/GetStream/stream-video-js/issues/527)) ([1bb49f4](https://github.com/GetStream/stream-video-js/commit/1bb49f479485007dcc505066694d2e463ab00777))
129
+
130
+
131
+
132
+ ## [0.0.1-alpha.169](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.168...client0.0.1-alpha.169) (2023-05-22)
133
+
134
+
135
+ ### Bug Fixes
136
+
137
+ * Revert "feat: Participant information from track events" ([#532](https://github.com/GetStream/stream-video-js/issues/532)) ([4a00166](https://github.com/GetStream/stream-video-js/commit/4a00166986b176aedac2a92eed1c03686cdf23d9)), closes [GetStream/stream-video-js#526](https://github.com/GetStream/stream-video-js/issues/526)
138
+
139
+
140
+
141
+ ## [0.0.1-alpha.168](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.167...client0.0.1-alpha.168) (2023-05-22)
142
+
143
+
144
+ ### Features
145
+
146
+ * Participant information from track events ([#526](https://github.com/GetStream/stream-video-js/issues/526)) ([fbefffe](https://github.com/GetStream/stream-video-js/commit/fbefffedaf6965491c2c7574fea383fcdfa7a9f6))
147
+
148
+
149
+
150
+ ## [0.0.1-alpha.167](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.166...client0.0.1-alpha.167) (2023-05-22)
151
+
152
+
153
+ ### Features
154
+
155
+ * **react-native:** add permissions support ([#445](https://github.com/GetStream/stream-video-js/issues/445)) ([e077aeb](https://github.com/GetStream/stream-video-js/commit/e077aeba95e42abaf0e5e3c1d58b344507ec52e2))
156
+
157
+
158
+
159
+ ## [0.0.1-alpha.166](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.165...client0.0.1-alpha.166) (2023-05-19)
160
+
161
+
162
+
163
+ ## [0.0.1-alpha.165](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.164...client0.0.1-alpha.165) (2023-05-19)
164
+
165
+
166
+
167
+ ## [0.0.1-alpha.164](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.163...client0.0.1-alpha.164) (2023-05-19)
168
+
169
+
170
+
171
+ ## [0.0.1-alpha.163](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.162...client0.0.1-alpha.163) (2023-05-19)
172
+
173
+
174
+
175
+ ## [0.0.1-alpha.162](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.161...client0.0.1-alpha.162) (2023-05-19)
176
+
177
+
178
+
179
+ ## [0.0.1-alpha.161](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.160...client0.0.1-alpha.161) (2023-05-19)
180
+
181
+
182
+
183
+ ## [0.0.1-alpha.160](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.159...client0.0.1-alpha.160) (2023-05-18)
184
+
185
+
186
+
187
+ ## [0.0.1-alpha.159](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.158...client0.0.1-alpha.159) (2023-05-18)
188
+
189
+
190
+
191
+ ## [0.0.1-alpha.158](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.157...client0.0.1-alpha.158) (2023-05-18)
192
+
193
+
194
+
195
+ ## [0.0.1-alpha.157](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.156...client0.0.1-alpha.157) (2023-05-17)
196
+
197
+
198
+
199
+ ## [0.0.1-alpha.156](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.155...client0.0.1-alpha.156) (2023-05-17)
200
+
201
+
202
+ ### Features
203
+
204
+ * Support for server-side driven stream resolution ([#516](https://github.com/GetStream/stream-video-js/issues/516)) ([cae1169](https://github.com/GetStream/stream-video-js/commit/cae11695fe4aa11bd5e168b00ffd6ea35e2524a2))
205
+
206
+
207
+
208
+ ## [0.0.1-alpha.155](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.154...client0.0.1-alpha.155) (2023-05-17)
209
+
210
+
211
+
212
+ ## [0.0.1-alpha.154](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.153...client0.0.1-alpha.154) (2023-05-17)
213
+
214
+
215
+
216
+ ## [0.0.1-alpha.153](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.152...client0.0.1-alpha.153) (2023-05-17)
217
+
218
+
219
+
220
+ ## [0.0.1-alpha.152](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.151...client0.0.1-alpha.152) (2023-05-17)
221
+
222
+
223
+
224
+ ## [0.0.1-alpha.151](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.150...client0.0.1-alpha.151) (2023-05-16)
225
+
226
+
227
+
228
+ ## [0.0.1-alpha.150](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.149...client0.0.1-alpha.150) (2023-05-16)
229
+
230
+
231
+
232
+ ## [0.0.1-alpha.149](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.148...client0.0.1-alpha.149) (2023-05-16)
233
+
234
+
235
+
236
+ ## [0.0.1-alpha.148](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.147...client0.0.1-alpha.148) (2023-05-16)
237
+
238
+
239
+
240
+ ## [0.0.1-alpha.147](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.146...client0.0.1-alpha.147) (2023-05-16)
241
+
242
+
243
+
244
+ ## [0.0.1-alpha.146](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.145...client0.0.1-alpha.146) (2023-05-16)
245
+
246
+
247
+ ### Bug Fixes
248
+
249
+ * correct audio_room call type name ([#502](https://github.com/GetStream/stream-video-js/issues/502)) ([c15d129](https://github.com/GetStream/stream-video-js/commit/c15d129df1dd0d587ef4b2796a989fd0b161237a))
250
+
251
+
252
+
253
+ ## [0.0.1-alpha.145](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.144...client0.0.1-alpha.145) (2023-05-16)
254
+
255
+
256
+ ### Features
257
+
258
+ * Participant Count and Call StartedAt ([#504](https://github.com/GetStream/stream-video-js/issues/504)) ([c071139](https://github.com/GetStream/stream-video-js/commit/c071139c0c1fc2401941fc38bed077be0875b470))
259
+
260
+
261
+
262
+ ## [0.0.1-alpha.144](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.143...client0.0.1-alpha.144) (2023-05-16)
263
+
264
+
265
+
266
+ ## [0.0.1-alpha.143](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.142...client0.0.1-alpha.143) (2023-05-16)
267
+
268
+
269
+
270
+ ## [0.0.1-alpha.142](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.141...client0.0.1-alpha.142) (2023-05-15)
271
+
272
+
273
+
274
+ ## [0.0.1-alpha.141](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.140...client0.0.1-alpha.141) (2023-05-15)
275
+
276
+
277
+
278
+ ## [0.0.1-alpha.140](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.139...client0.0.1-alpha.140) (2023-05-15)
279
+
280
+
281
+ ### Bug Fixes
282
+
283
+ * restore previous call state if `join` fails ([#500](https://github.com/GetStream/stream-video-js/issues/500)) ([0fc8927](https://github.com/GetStream/stream-video-js/commit/0fc892765cbd72a740134ddb06b2d851ac54f299)), closes [#499](https://github.com/GetStream/stream-video-js/issues/499)
284
+
285
+
286
+
287
+ ## [0.0.1-alpha.139](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.138...client0.0.1-alpha.139) (2023-05-15)
288
+
289
+
290
+ ### Features
291
+
292
+ * faster join flow ([#499](https://github.com/GetStream/stream-video-js/issues/499)) ([898341b](https://github.com/GetStream/stream-video-js/commit/898341b26495412acea7d9e08c0c8f9b0b54e3b3))
293
+
294
+
295
+
296
+ ## [0.0.1-alpha.138](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.137...client0.0.1-alpha.138) (2023-05-15)
297
+
298
+
299
+
300
+ ## [0.0.1-alpha.137](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.136...client0.0.1-alpha.137) (2023-05-12)
301
+
302
+
303
+
304
+ ## [0.0.1-alpha.136](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.135...client0.0.1-alpha.136) (2023-05-12)
305
+
306
+
307
+ ### Features
308
+
309
+ * Livestream sample app ([#489](https://github.com/GetStream/stream-video-js/issues/489)) ([bf6e6e5](https://github.com/GetStream/stream-video-js/commit/bf6e6e54dab884828ca08208f25b1285cf3f1944))
310
+
311
+
312
+
313
+ ## [0.0.1-alpha.135](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.134...client0.0.1-alpha.135) (2023-05-12)
314
+
315
+
316
+ ### Bug Fixes
317
+
318
+ * disable sdp munging ([#491](https://github.com/GetStream/stream-video-js/issues/491)) ([5bca195](https://github.com/GetStream/stream-video-js/commit/5bca195dbb99efb77c5d7106a251e88d9a045498)), closes [#395](https://github.com/GetStream/stream-video-js/issues/395)
319
+
320
+
321
+ ### Features
322
+
323
+ * enable codec preferring through sdp munging ([#395](https://github.com/GetStream/stream-video-js/issues/395)) ([a5db5a8](https://github.com/GetStream/stream-video-js/commit/a5db5a831ccfc833ecfc29e22540be0f0121287d))
324
+
325
+
326
+
327
+ ## [0.0.1-alpha.134](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.133...client0.0.1-alpha.134) (2023-05-11)
328
+
329
+
330
+ ### Features
331
+
332
+ * server-side participant counting ([#481](https://github.com/GetStream/stream-video-js/issues/481)) ([3410c25](https://github.com/GetStream/stream-video-js/commit/3410c25ec1449f4d39b44080ad64238b38446612))
333
+
334
+
335
+
336
+ ## [0.0.1-alpha.133](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.132...client0.0.1-alpha.133) (2023-05-11)
337
+
338
+
339
+
340
+ ## [0.0.1-alpha.132](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.131...client0.0.1-alpha.132) (2023-05-11)
341
+
342
+
343
+
344
+ ## [0.0.1-alpha.131](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.130...client0.0.1-alpha.131) (2023-05-10)
345
+
346
+
347
+ ### Features
348
+
349
+ * call broadcasting events and apis ([#478](https://github.com/GetStream/stream-video-js/issues/478)) ([8aa4fcb](https://github.com/GetStream/stream-video-js/commit/8aa4fcbbe00b43d4d9f977daa2fd297436e83b51))
350
+
351
+
352
+
353
+ ## [0.0.1-alpha.130](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.129...client0.0.1-alpha.130) (2023-05-10)
354
+
355
+
356
+
357
+ ## [0.0.1-alpha.129](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.128...client0.0.1-alpha.129) (2023-05-09)
358
+
359
+
360
+ ### Bug Fixes
361
+
362
+ * bugfixes in event handling and blocking users ([#476](https://github.com/GetStream/stream-video-js/issues/476)) ([5e9a4fb](https://github.com/GetStream/stream-video-js/commit/5e9a4fb2819cc087f3e095b93488fa9c4df018a4))
363
+
364
+
365
+
366
+ ## [0.0.1-alpha.128](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.127...client0.0.1-alpha.128) (2023-05-09)
367
+
368
+
369
+ ### Reverts
370
+
371
+ * Revert "chore: Avoid non-atomic pushes resulting in invalid version tags" ([24be283](https://github.com/GetStream/stream-video-js/commit/24be28300a5f5d452338457d60b1e34682027be6))
372
+
373
+
374
+
375
+ ## [0.0.1-alpha.127](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.126...client0.0.1-alpha.127) (2023-05-09)
376
+
377
+
378
+ ### Bug Fixes
379
+
380
+ * **permissions:** add shortcut APIs ([#475](https://github.com/GetStream/stream-video-js/issues/475)) ([466614c](https://github.com/GetStream/stream-video-js/commit/466614ccf7f15cb16fffc97d5aa05318d2adf7e7))
381
+ * preserve last used deviceId when muting ([#470](https://github.com/GetStream/stream-video-js/issues/470)) ([b4ed2d0](https://github.com/GetStream/stream-video-js/commit/b4ed2d0cce1456a748f070bc01a68df574683862))
382
+
383
+
384
+
385
+ ## [0.0.1-alpha.126](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.125...client0.0.1-alpha.126) (2023-05-08)
386
+
387
+
388
+ ### Features
389
+
390
+ * **latency:** breadth-first time-boxed latency measurement ([#467](https://github.com/GetStream/stream-video-js/issues/467)) ([6d66003](https://github.com/GetStream/stream-video-js/commit/6d660032064667586902a9b410ee6dabfcc6b7ba))
391
+
392
+
393
+
394
+ ## [0.0.1-alpha.125](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.124...client0.0.1-alpha.125) (2023-05-08)
395
+
396
+
397
+
398
+ ## [0.0.1-alpha.124](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.123...client0.0.1-alpha.124) (2023-05-05)
399
+
400
+
401
+
402
+ ## [0.0.1-alpha.123](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.122...client0.0.1-alpha.123) (2023-05-05)
403
+
404
+
405
+ ### Features
406
+
407
+ * **core:** replace useActiveCall() with useCall() ([#450](https://github.com/GetStream/stream-video-js/issues/450)) ([f3b169b](https://github.com/GetStream/stream-video-js/commit/f3b169b2971a95b47cda6956f009d38cc068a793))
408
+
409
+
410
+
411
+ ## [0.0.1-alpha.122](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.121...client0.0.1-alpha.122) (2023-05-04)
412
+
413
+
414
+
415
+ ## [0.0.1-alpha.121](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.120...client0.0.1-alpha.121) (2023-05-04)
416
+
417
+
418
+
419
+ ## [0.0.1-alpha.120](https://github.com/GetStream/stream-video-js/compare/client0.0.1-alpha.119...client0.0.1-alpha.120) (2023-05-04)
package/README.md CHANGED
@@ -4,11 +4,23 @@
4
4
 
5
5
  This package holds the autogenerated Protobuf code and clients.
6
6
 
7
- ## Generate the client
7
+ ## Generate Coordinator Models from OpenAPI spec (Dev Mode):
8
8
 
9
- 1. Follow the instructions in [GetStream/video-proto](https://github.com/getstream/video-proto)
10
- 2. Copy the generated files into `./src/gen/` and commit them to this repository
9
+ We have a shell script which will generate the Coordinator models from the OpenAPI spec.
10
+ This script expects the following directory structure to be set up:
11
+
12
+ - `chat` - the `chat` repository
13
+ - `stream-video-js` - current repository
14
+ - `cd stream-video-js/packages/client && yarn generate:open-api`
11
15
 
12
16
  ## Documentation
13
17
 
14
- API reference documentation can be generated using the `yarn run generate-docs:client`, the generated documentation will be inside the `generated-docs` folder.
18
+ API reference documentation can be generated using the `yarn run generate-docs:client`,
19
+ the generated documentation will be inside the `generated-docs` folder.
20
+
21
+ To view the documentation locally, run the following in the root of the respective SDK React/React Native.
22
+
23
+ ```bash
24
+ yarn generate-docs
25
+ `npx stream-chat-docusaurus -s`
26
+ ```