@stream-io/video-client 0.0.1-alpha.18 → 0.0.1-alpha.181

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