@stream-io/video-client 0.0.1-alpha.16 → 0.0.1-alpha.161

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 (271) hide show
  1. package/CHANGELOG.md +245 -0
  2. package/README.md +16 -4
  3. package/dist/index.browser.es.js +7149 -4017
  4. package/dist/index.browser.es.js.map +1 -1
  5. package/dist/index.cjs.js +7184 -4017
  6. package/dist/index.cjs.js.map +1 -1
  7. package/dist/index.d.ts +6 -6
  8. package/dist/index.es.js +7149 -4017
  9. package/dist/index.es.js.map +1 -1
  10. package/dist/src/Call.d.ts +404 -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__/call-permissions.test.d.ts +1 -0
  24. package/dist/src/events/__tests__/call.test.d.ts +1 -0
  25. package/dist/src/events/__tests__/recording.test.d.ts +1 -0
  26. package/dist/src/events/call-permissions.d.ts +18 -0
  27. package/dist/src/events/call.d.ts +14 -18
  28. package/dist/src/events/callEventHandlers.d.ts +5 -0
  29. package/dist/src/events/index.d.ts +8 -0
  30. package/dist/src/events/internal.d.ts +9 -4
  31. package/dist/src/events/moderation.d.ts +14 -0
  32. package/dist/src/events/participant.d.ts +6 -7
  33. package/dist/src/events/reactions.d.ts +8 -0
  34. package/dist/src/events/recording.d.ts +15 -0
  35. package/dist/src/events/speaker.d.ts +4 -4
  36. package/dist/src/gen/coordinator/index.d.ts +2813 -922
  37. package/dist/src/gen/video/sfu/event/events.d.ts +97 -30
  38. package/dist/src/gen/video/sfu/models/models.d.ts +336 -8
  39. package/dist/src/helpers/ViewportTracker.d.ts +36 -0
  40. package/dist/src/helpers/__tests__/sdp-munging.test.d.ts +1 -0
  41. package/dist/src/helpers/browsers.d.ts +4 -0
  42. package/dist/src/helpers/platforms.d.ts +4 -0
  43. package/dist/src/helpers/sdp-munging.d.ts +25 -0
  44. package/dist/src/helpers/sound-detector.d.ts +1 -1
  45. package/dist/src/permissions/PermissionsContext.d.ts +38 -0
  46. package/dist/src/permissions/index.d.ts +1 -0
  47. package/dist/src/rpc/createClient.d.ts +1 -1
  48. package/dist/src/rpc/index.d.ts +0 -1
  49. package/dist/src/rtc/Dispatcher.d.ts +6 -3
  50. package/dist/src/rtc/__tests__/mocks/webrtc.mocks.d.ts +1 -0
  51. package/dist/src/rtc/__tests__/publisher.test.d.ts +1 -0
  52. package/dist/src/rtc/__tests__/videoLayers.test.d.ts +1 -0
  53. package/dist/src/rtc/codecs.d.ts +2 -2
  54. package/dist/src/rtc/flows/join.d.ts +18 -0
  55. package/dist/src/rtc/helpers/tracks.d.ts +4 -2
  56. package/dist/src/rtc/index.d.ts +7 -0
  57. package/dist/src/rtc/publisher.d.ts +24 -9
  58. package/dist/src/rtc/signal.d.ts +1 -1
  59. package/dist/src/rtc/subscriber.d.ts +4 -2
  60. package/dist/src/rtc/videoLayers.d.ts +1 -12
  61. package/dist/src/sdk-info.d.ts +3 -0
  62. package/dist/src/sorting/__tests__/participant-data.d.ts +2 -0
  63. package/dist/src/sorting/__tests__/sorting.test.d.ts +1 -0
  64. package/dist/src/sorting/comparator.d.ts +37 -0
  65. package/dist/src/sorting/index.d.ts +3 -0
  66. package/dist/src/sorting/participants.d.ts +65 -0
  67. package/dist/src/sorting/presets.d.ts +13 -0
  68. package/dist/src/stats/state-store-stats-reporter.d.ts +3 -3
  69. package/dist/src/store/CallState.d.ts +394 -0
  70. package/dist/src/store/__tests__/CallState.test.d.ts +1 -0
  71. package/dist/src/store/index.d.ts +1 -0
  72. package/dist/src/store/rxUtils.d.ts +12 -1
  73. package/dist/src/store/stateStore.d.ts +68 -115
  74. package/dist/src/types.d.ts +164 -0
  75. package/index.ts +6 -7
  76. package/package.json +30 -20
  77. package/src/Call.ts +1473 -0
  78. package/src/CallType.ts +123 -0
  79. package/src/StreamSfuClient.ts +188 -82
  80. package/src/StreamVideoClient.ts +216 -394
  81. package/src/__tests__/StreamVideoClient.test.ts +4 -78
  82. package/src/coordinator/connection/client.ts +76 -83
  83. package/src/coordinator/connection/connection.ts +50 -25
  84. package/src/coordinator/connection/connection_fallback.ts +6 -3
  85. package/src/coordinator/connection/errors.ts +10 -0
  86. package/src/coordinator/connection/token_manager.ts +18 -10
  87. package/src/coordinator/connection/types.ts +38 -27
  88. package/src/coordinator/connection/utils.ts +8 -4
  89. package/src/{devices.ts → devices/devices.ts} +122 -50
  90. package/src/devices/index.ts +1 -0
  91. package/src/events/__tests__/call-permissions.test.ts +109 -0
  92. package/src/events/__tests__/call.test.ts +188 -0
  93. package/src/events/__tests__/recording.test.ts +54 -0
  94. package/src/events/call-permissions.ts +69 -0
  95. package/src/events/call.ts +40 -141
  96. package/src/events/callEventHandlers.ts +86 -0
  97. package/src/events/index.ts +8 -0
  98. package/src/events/internal.ts +24 -6
  99. package/src/events/moderation.ts +35 -0
  100. package/src/events/participant.ts +14 -32
  101. package/src/events/reactions.ts +30 -0
  102. package/src/events/recording.ts +52 -0
  103. package/src/events/speaker.ts +9 -9
  104. package/src/gen/coordinator/index.ts +2800 -924
  105. package/src/gen/video/sfu/event/events.ts +2978 -1570
  106. package/src/gen/video/sfu/models/models.ts +2382 -897
  107. package/src/helpers/ViewportTracker.ts +112 -0
  108. package/src/helpers/__tests__/sdp-munging.test.ts +278 -0
  109. package/src/helpers/browsers.ts +12 -2
  110. package/src/helpers/platforms.ts +7 -0
  111. package/src/helpers/sdp-munging.ts +233 -0
  112. package/src/helpers/sound-detector.ts +17 -2
  113. package/src/permissions/PermissionsContext.ts +63 -0
  114. package/src/permissions/index.ts +1 -0
  115. package/src/rpc/createClient.ts +3 -2
  116. package/src/rpc/index.ts +0 -1
  117. package/src/rtc/Dispatcher.ts +30 -3
  118. package/src/rtc/__tests__/mocks/webrtc.mocks.ts +42 -0
  119. package/src/rtc/__tests__/publisher.test.ts +144 -0
  120. package/src/rtc/__tests__/videoLayers.test.ts +101 -0
  121. package/src/rtc/codecs.ts +51 -18
  122. package/src/rtc/flows/join.ts +107 -0
  123. package/src/rtc/helpers/tracks.ts +35 -3
  124. package/src/rtc/index.ts +7 -0
  125. package/src/rtc/publisher.ts +209 -53
  126. package/src/rtc/signal.ts +27 -18
  127. package/src/rtc/subscriber.ts +43 -27
  128. package/src/rtc/videoLayers.ts +28 -43
  129. package/src/sdk-info.ts +11 -0
  130. package/src/sorting/__tests__/participant-data.ts +99 -0
  131. package/src/sorting/__tests__/sorting.test.ts +46 -0
  132. package/src/sorting/comparator.ts +62 -0
  133. package/src/sorting/index.ts +3 -0
  134. package/src/sorting/participants.ts +135 -0
  135. package/src/sorting/presets.ts +62 -0
  136. package/src/stats/state-store-stats-reporter.ts +6 -10
  137. package/src/store/CallState.ts +631 -0
  138. package/src/store/__tests__/CallState.test.ts +105 -0
  139. package/src/store/index.ts +1 -0
  140. package/src/store/rxUtils.ts +24 -7
  141. package/src/store/stateStore.ts +137 -246
  142. package/src/types.ts +213 -0
  143. package/coverage/lcov-report/base.css +0 -224
  144. package/coverage/lcov-report/block-navigation.js +0 -87
  145. package/coverage/lcov-report/favicon.png +0 -0
  146. package/coverage/lcov-report/index.html +0 -296
  147. package/coverage/lcov-report/prettify.css +0 -1
  148. package/coverage/lcov-report/prettify.js +0 -2
  149. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  150. package/coverage/lcov-report/sorter.js +0 -196
  151. package/coverage/lcov-report/src/Batcher.ts.html +0 -214
  152. package/coverage/lcov-report/src/CallDropScheduler.ts.html +0 -661
  153. package/coverage/lcov-report/src/StreamSfuClient.ts.html +0 -640
  154. package/coverage/lcov-report/src/StreamVideoClient.ts.html +0 -1633
  155. package/coverage/lcov-report/src/config/defaultConfigs.ts.html +0 -130
  156. package/coverage/lcov-report/src/config/index.html +0 -116
  157. package/coverage/lcov-report/src/coordinator/StreamCoordinatorClient.ts.html +0 -421
  158. package/coverage/lcov-report/src/coordinator/connection/base64.ts.html +0 -325
  159. package/coverage/lcov-report/src/coordinator/connection/client.ts.html +0 -2527
  160. package/coverage/lcov-report/src/coordinator/connection/connection.ts.html +0 -2338
  161. package/coverage/lcov-report/src/coordinator/connection/connection_fallback.ts.html +0 -802
  162. package/coverage/lcov-report/src/coordinator/connection/errors.ts.html +0 -295
  163. package/coverage/lcov-report/src/coordinator/connection/index.html +0 -251
  164. package/coverage/lcov-report/src/coordinator/connection/insights.ts.html +0 -349
  165. package/coverage/lcov-report/src/coordinator/connection/signing.ts.html +0 -397
  166. package/coverage/lcov-report/src/coordinator/connection/token_manager.ts.html +0 -565
  167. package/coverage/lcov-report/src/coordinator/connection/types.ts.html +0 -418
  168. package/coverage/lcov-report/src/coordinator/connection/utils.ts.html +0 -529
  169. package/coverage/lcov-report/src/coordinator/index.html +0 -116
  170. package/coverage/lcov-report/src/events/call.ts.html +0 -583
  171. package/coverage/lcov-report/src/events/index.html +0 -161
  172. package/coverage/lcov-report/src/events/internal.ts.html +0 -226
  173. package/coverage/lcov-report/src/events/participant.ts.html +0 -376
  174. package/coverage/lcov-report/src/events/speaker.ts.html +0 -271
  175. package/coverage/lcov-report/src/gen/google/protobuf/index.html +0 -131
  176. package/coverage/lcov-report/src/gen/google/protobuf/struct.ts.html +0 -1528
  177. package/coverage/lcov-report/src/gen/google/protobuf/timestamp.ts.html +0 -958
  178. package/coverage/lcov-report/src/gen/video/sfu/event/events.ts.html +0 -5971
  179. package/coverage/lcov-report/src/gen/video/sfu/event/index.html +0 -116
  180. package/coverage/lcov-report/src/gen/video/sfu/models/index.html +0 -116
  181. package/coverage/lcov-report/src/gen/video/sfu/models/models.ts.html +0 -3271
  182. package/coverage/lcov-report/src/index.html +0 -161
  183. package/coverage/lcov-report/src/rpc/index.html +0 -131
  184. package/coverage/lcov-report/src/rpc/index.ts.html +0 -91
  185. package/coverage/lcov-report/src/rpc/latency.ts.html +0 -214
  186. package/coverage/lcov-report/src/rtc/Call.ts.html +0 -1840
  187. package/coverage/lcov-report/src/rtc/CallMetadata.ts.html +0 -157
  188. package/coverage/lcov-report/src/rtc/Dispatcher.ts.html +0 -223
  189. package/coverage/lcov-report/src/rtc/IceTrickleBuffer.ts.html +0 -148
  190. package/coverage/lcov-report/src/rtc/callEventHandlers.ts.html +0 -196
  191. package/coverage/lcov-report/src/rtc/codecs.ts.html +0 -268
  192. package/coverage/lcov-report/src/rtc/helpers/iceCandidate.ts.html +0 -133
  193. package/coverage/lcov-report/src/rtc/helpers/index.html +0 -131
  194. package/coverage/lcov-report/src/rtc/helpers/tracks.ts.html +0 -139
  195. package/coverage/lcov-report/src/rtc/index.html +0 -251
  196. package/coverage/lcov-report/src/rtc/publisher.ts.html +0 -1000
  197. package/coverage/lcov-report/src/rtc/signal.ts.html +0 -187
  198. package/coverage/lcov-report/src/rtc/subscriber.ts.html +0 -340
  199. package/coverage/lcov-report/src/rtc/videoLayers.ts.html +0 -394
  200. package/coverage/lcov-report/src/stats/index.html +0 -116
  201. package/coverage/lcov-report/src/stats/state-store-stats-reporter.ts.html +0 -1177
  202. package/coverage/lcov-report/src/store/index.html +0 -146
  203. package/coverage/lcov-report/src/store/index.ts.html +0 -91
  204. package/coverage/lcov-report/src/store/rxUtils.ts.html +0 -211
  205. package/coverage/lcov-report/src/store/stateStore.ts.html +0 -1108
  206. package/coverage/lcov.info +0 -11474
  207. package/coverage/tmp/coverage-2283-1676294761496-2.json +0 -1
  208. package/dist/src/Batcher.d.ts +0 -12
  209. package/dist/src/CallDropScheduler.d.ts +0 -44
  210. package/dist/src/config/defaultConfigs.d.ts +0 -2
  211. package/dist/src/config/types.d.ts +0 -29
  212. package/dist/src/coordinator/StreamCoordinatorClient.d.ts +0 -19
  213. package/dist/src/coordinator/connection/events.d.ts +0 -10
  214. package/dist/src/gen/google/protobuf/descriptor.d.ts +0 -1650
  215. package/dist/src/gen/google/protobuf/duration.d.ts +0 -113
  216. package/dist/src/gen/video/coordinator/broadcast_v1/broadcast.d.ts +0 -66
  217. package/dist/src/gen/video/coordinator/call_v1/call.d.ts +0 -254
  218. package/dist/src/gen/video/coordinator/client_v1_rpc/client_rpc.client.d.ts +0 -351
  219. package/dist/src/gen/video/coordinator/client_v1_rpc/client_rpc.d.ts +0 -1488
  220. package/dist/src/gen/video/coordinator/client_v1_rpc/envelopes.d.ts +0 -143
  221. package/dist/src/gen/video/coordinator/client_v1_rpc/websocket.d.ts +0 -292
  222. package/dist/src/gen/video/coordinator/edge_v1/edge.d.ts +0 -183
  223. package/dist/src/gen/video/coordinator/event_v1/event.d.ts +0 -411
  224. package/dist/src/gen/video/coordinator/geofence_v1/geofence.d.ts +0 -63
  225. package/dist/src/gen/video/coordinator/member_v1/member.d.ts +0 -59
  226. package/dist/src/gen/video/coordinator/participant_v1/participant.d.ts +0 -103
  227. package/dist/src/gen/video/coordinator/push_v1/push.d.ts +0 -240
  228. package/dist/src/gen/video/coordinator/stat_v1/stat.d.ts +0 -308
  229. package/dist/src/gen/video/coordinator/user_v1/user.d.ts +0 -112
  230. package/dist/src/gen/video/coordinator/utils_v1/utils.d.ts +0 -47
  231. package/dist/src/rpc/latency.d.ts +0 -9
  232. package/dist/src/rtc/Call.d.ts +0 -180
  233. package/dist/src/rtc/CallMetadata.d.ts +0 -9
  234. package/dist/src/rtc/callEventHandlers.d.ts +0 -5
  235. package/dist/src/rtc/types.d.ts +0 -84
  236. package/dist/src/stats/coordinator-stats-reporter.d.ts +0 -10
  237. package/generate-openapi.sh +0 -32
  238. package/openapitools.json +0 -7
  239. package/rollup.config.mjs +0 -71
  240. package/src/Batcher.ts +0 -43
  241. package/src/CallDropScheduler.ts +0 -192
  242. package/src/config/defaultConfigs.ts +0 -15
  243. package/src/config/types.ts +0 -30
  244. package/src/coordinator/StreamCoordinatorClient.ts +0 -112
  245. package/src/coordinator/connection/events.ts +0 -13
  246. package/src/gen/google/protobuf/descriptor.ts +0 -3466
  247. package/src/gen/google/protobuf/duration.ts +0 -232
  248. package/src/gen/video/coordinator/broadcast_v1/broadcast.ts +0 -154
  249. package/src/gen/video/coordinator/call_v1/call.ts +0 -651
  250. package/src/gen/video/coordinator/client_v1_rpc/client_rpc.client.ts +0 -463
  251. package/src/gen/video/coordinator/client_v1_rpc/client_rpc.ts +0 -3819
  252. package/src/gen/video/coordinator/client_v1_rpc/envelopes.ts +0 -424
  253. package/src/gen/video/coordinator/client_v1_rpc/websocket.ts +0 -719
  254. package/src/gen/video/coordinator/edge_v1/edge.ts +0 -532
  255. package/src/gen/video/coordinator/event_v1/event.ts +0 -1171
  256. package/src/gen/video/coordinator/geofence_v1/geofence.ts +0 -128
  257. package/src/gen/video/coordinator/member_v1/member.ts +0 -138
  258. package/src/gen/video/coordinator/participant_v1/participant.ts +0 -261
  259. package/src/gen/video/coordinator/push_v1/push.ts +0 -651
  260. package/src/gen/video/coordinator/stat_v1/stat.ts +0 -656
  261. package/src/gen/video/coordinator/user_v1/user.ts +0 -277
  262. package/src/gen/video/coordinator/utils_v1/utils.ts +0 -98
  263. package/src/rpc/latency.ts +0 -43
  264. package/src/rtc/Call.ts +0 -585
  265. package/src/rtc/CallMetadata.ts +0 -24
  266. package/src/rtc/callEventHandlers.ts +0 -37
  267. package/src/rtc/types.ts +0 -105
  268. package/src/stats/coordinator-stats-reporter.ts +0 -167
  269. package/tsconfig.json +0 -25
  270. package/typedoc.json +0 -11
  271. package/vite.config.ts +0 -11
package/CHANGELOG.md ADDED
@@ -0,0 +1,245 @@
1
+ # Changelog
2
+
3
+ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
+
5
+ ## [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)
6
+
7
+
8
+
9
+ ## [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)
10
+
11
+
12
+
13
+ ## [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)
14
+
15
+
16
+
17
+ ## [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)
18
+
19
+
20
+
21
+ ## [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)
22
+
23
+
24
+
25
+ ## [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)
26
+
27
+
28
+ ### Features
29
+
30
+ * 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))
31
+
32
+
33
+
34
+ ## [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)
35
+
36
+
37
+
38
+ ## [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)
39
+
40
+
41
+
42
+ ## [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)
43
+
44
+
45
+
46
+ ## [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)
47
+
48
+
49
+
50
+ ## [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)
51
+
52
+
53
+
54
+ ## [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)
55
+
56
+
57
+
58
+ ## [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)
59
+
60
+
61
+
62
+ ## [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)
63
+
64
+
65
+
66
+ ## [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)
67
+
68
+
69
+
70
+ ## [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)
71
+
72
+
73
+ ### Bug Fixes
74
+
75
+ * 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))
76
+
77
+
78
+
79
+ ## [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)
80
+
81
+
82
+ ### Features
83
+
84
+ * 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))
85
+
86
+
87
+
88
+ ## [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)
89
+
90
+
91
+
92
+ ## [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)
93
+
94
+
95
+
96
+ ## [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)
97
+
98
+
99
+
100
+ ## [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)
101
+
102
+
103
+
104
+ ## [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)
105
+
106
+
107
+ ### Bug Fixes
108
+
109
+ * 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)
110
+
111
+
112
+
113
+ ## [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)
114
+
115
+
116
+ ### Features
117
+
118
+ * faster join flow ([#499](https://github.com/GetStream/stream-video-js/issues/499)) ([898341b](https://github.com/GetStream/stream-video-js/commit/898341b26495412acea7d9e08c0c8f9b0b54e3b3))
119
+
120
+
121
+
122
+ ## [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)
123
+
124
+
125
+
126
+ ## [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)
127
+
128
+
129
+
130
+ ## [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)
131
+
132
+
133
+ ### Features
134
+
135
+ * Livestream sample app ([#489](https://github.com/GetStream/stream-video-js/issues/489)) ([bf6e6e5](https://github.com/GetStream/stream-video-js/commit/bf6e6e54dab884828ca08208f25b1285cf3f1944))
136
+
137
+
138
+
139
+ ## [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)
140
+
141
+
142
+ ### Bug Fixes
143
+
144
+ * 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)
145
+
146
+
147
+ ### Features
148
+
149
+ * 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))
150
+
151
+
152
+
153
+ ## [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)
154
+
155
+
156
+ ### Features
157
+
158
+ * server-side participant counting ([#481](https://github.com/GetStream/stream-video-js/issues/481)) ([3410c25](https://github.com/GetStream/stream-video-js/commit/3410c25ec1449f4d39b44080ad64238b38446612))
159
+
160
+
161
+
162
+ ## [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)
163
+
164
+
165
+
166
+ ## [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)
167
+
168
+
169
+
170
+ ## [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)
171
+
172
+
173
+ ### Features
174
+
175
+ * 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))
176
+
177
+
178
+
179
+ ## [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)
180
+
181
+
182
+
183
+ ## [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)
184
+
185
+
186
+ ### Bug Fixes
187
+
188
+ * 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))
189
+
190
+
191
+
192
+ ## [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)
193
+
194
+
195
+ ### Reverts
196
+
197
+ * Revert "chore: Avoid non-atomic pushes resulting in invalid version tags" ([24be283](https://github.com/GetStream/stream-video-js/commit/24be28300a5f5d452338457d60b1e34682027be6))
198
+
199
+
200
+
201
+ ## [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)
202
+
203
+
204
+ ### Bug Fixes
205
+
206
+ * **permissions:** add shortcut APIs ([#475](https://github.com/GetStream/stream-video-js/issues/475)) ([466614c](https://github.com/GetStream/stream-video-js/commit/466614ccf7f15cb16fffc97d5aa05318d2adf7e7))
207
+ * 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))
208
+
209
+
210
+
211
+ ## [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)
212
+
213
+
214
+ ### Features
215
+
216
+ * **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))
217
+
218
+
219
+
220
+ ## [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)
221
+
222
+
223
+
224
+ ## [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)
225
+
226
+
227
+
228
+ ## [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)
229
+
230
+
231
+ ### Features
232
+
233
+ * **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))
234
+
235
+
236
+
237
+ ## [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)
238
+
239
+
240
+
241
+ ## [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)
242
+
243
+
244
+
245
+ ## [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
+ ```