@stream-io/video-client 0.0.51 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +66 -103
- package/dist/index.browser.es.js +5 -13
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +5 -13
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +5 -13
- package/dist/index.es.js.map +1 -1
- package/dist/src/gen/coordinator/index.d.ts +12 -24
- package/dist/version.d.ts +1 -1
- package/package.json +3 -2
- package/src/events/__tests__/sessions.test.ts +14 -12
- package/src/events/sessions.ts +4 -12
- package/src/gen/coordinator/index.ts +12 -24
package/CHANGELOG.md
CHANGED
|
@@ -2,347 +2,310 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
-
### [0.
|
|
5
|
+
### [0.1.1](https://github.com/GetStream/stream-video-js/compare/client0.1.0...client0.1.1) (2023-07-18)
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
### Features
|
|
9
9
|
|
|
10
|
-
*
|
|
10
|
+
* **sessions:** update to the new call.session event models ([#806](https://github.com/GetStream/stream-video-js/issues/806)) ([2966837](https://github.com/GetStream/stream-video-js/commit/296683789823a8dd12e99193f6baaf971824ae83))
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
## [0.1.0](https://github.com/GetStream/stream-video-js/compare/client0.0.51...client0.1.0) (2023-07-17)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### ⚠ BREAKING CHANGES
|
|
16
|
+
|
|
17
|
+
* Trigger breaking change for client
|
|
13
18
|
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* Trigger breaking change for client ([5230bfb](https://github.com/GetStream/stream-video-js/commit/5230bfb5cea4776f78fd9ae73cdeb5a0ea27c7fd))
|
|
22
|
+
|
|
23
|
+
### [0.0.51](https://github.com/GetStream/stream-video-js/compare/client0.0.50...client0.0.51) (2023-07-17)
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
- Update readme ([9e172f3](https://github.com/GetStream/stream-video-js/commit/9e172f3f72c4da6b24bb19193f70896435c50877))
|
|
28
|
+
|
|
29
|
+
### [0.0.50](https://github.com/GetStream/stream-video-js/compare/client0.0.49...client0.0.50) (2023-07-17)
|
|
14
30
|
|
|
15
31
|
### Bug Fixes
|
|
16
32
|
|
|
17
|
-
|
|
33
|
+
- Update README.md ([1e62478](https://github.com/GetStream/stream-video-js/commit/1e624782f97c36dd745f00fb56a2ded4e1dffa35))
|
|
18
34
|
|
|
19
35
|
### [0.0.49](https://github.com/GetStream/stream-video-js/compare/client0.0.48...client0.0.49) (2023-07-17)
|
|
20
36
|
|
|
21
|
-
|
|
22
37
|
### Bug Fixes
|
|
23
38
|
|
|
24
|
-
|
|
39
|
+
- promote prop-types to a 'dependency' in react-sdk ([#805](https://github.com/GetStream/stream-video-js/issues/805)) ([7109c9b](https://github.com/GetStream/stream-video-js/commit/7109c9b6d4087789f44ab8beb539bca495ba8f76))
|
|
25
40
|
|
|
26
41
|
### [0.0.48](https://github.com/GetStream/stream-video-js/compare/client0.0.47...client0.0.48) (2023-07-14)
|
|
27
42
|
|
|
28
|
-
|
|
29
43
|
### Bug Fixes
|
|
30
44
|
|
|
31
|
-
|
|
45
|
+
- force iceRestart offer, delay ICE restart ([#801](https://github.com/GetStream/stream-video-js/issues/801)) ([0da298f](https://github.com/GetStream/stream-video-js/commit/0da298faff30ddc42277444aad0d40a635fafb0b)), closes [#787](https://github.com/GetStream/stream-video-js/issues/787)
|
|
32
46
|
|
|
33
47
|
### [0.0.47](https://github.com/GetStream/stream-video-js/compare/client0.0.46...client0.0.47) (2023-07-14)
|
|
34
48
|
|
|
35
|
-
|
|
36
49
|
### Features
|
|
37
50
|
|
|
38
|
-
|
|
51
|
+
- take the location-hint on SDK init ([#799](https://github.com/GetStream/stream-video-js/issues/799)) ([ee5b170](https://github.com/GetStream/stream-video-js/commit/ee5b170337278a7063a368790f46b270647abf71))
|
|
39
52
|
|
|
40
53
|
### [0.0.46](https://github.com/GetStream/stream-video-js/compare/client0.0.45...client0.0.46) (2023-07-14)
|
|
41
54
|
|
|
42
|
-
|
|
43
55
|
### Bug Fixes
|
|
44
56
|
|
|
45
|
-
|
|
57
|
+
- version.ts override ([4238936](https://github.com/GetStream/stream-video-js/commit/4238936ec5d24c4ec1ce2147eb4ac2d7b74935ca))
|
|
46
58
|
|
|
47
59
|
### [0.0.45](https://github.com/GetStream/stream-video-js/compare/client0.0.44...client0.0.45) (2023-07-14)
|
|
48
60
|
|
|
49
|
-
|
|
50
61
|
### Features
|
|
51
62
|
|
|
52
|
-
|
|
63
|
+
- fix version problem ([096425b](https://github.com/GetStream/stream-video-js/commit/096425bbcb6fcc06a566458dc6bd8431183d31d8))
|
|
53
64
|
|
|
54
65
|
### [0.0.44](https://github.com/GetStream/stream-video-js/compare/client0.0.43...client0.0.44) (2023-07-14)
|
|
55
66
|
|
|
56
|
-
|
|
57
67
|
### Features
|
|
58
68
|
|
|
59
|
-
|
|
69
|
+
- SDK version header ([#790](https://github.com/GetStream/stream-video-js/issues/790)) ([6c662db](https://github.com/GetStream/stream-video-js/commit/6c662db59321db4060b5499d8eaad8a18b1eaf6c))
|
|
60
70
|
|
|
61
71
|
### [0.0.43](https://github.com/GetStream/stream-video-js/compare/client0.0.42...client0.0.43) (2023-07-12)
|
|
62
72
|
|
|
63
|
-
|
|
64
73
|
### Bug Fixes
|
|
65
74
|
|
|
66
|
-
|
|
75
|
+
- Attempt to recover Publisher PeerConnection ([#787](https://github.com/GetStream/stream-video-js/issues/787)) ([0ac2b58](https://github.com/GetStream/stream-video-js/commit/0ac2b5834fba01c01a5d7d0589ce42a5940643af))
|
|
67
76
|
|
|
68
77
|
### [0.0.42](https://github.com/GetStream/stream-video-js/compare/client0.0.41...client0.0.42) (2023-07-12)
|
|
69
78
|
|
|
70
|
-
|
|
71
79
|
### Bug Fixes
|
|
72
80
|
|
|
73
|
-
|
|
81
|
+
- Heuristic announcement of track mid ([#785](https://github.com/GetStream/stream-video-js/issues/785)) ([21c1da7](https://github.com/GetStream/stream-video-js/commit/21c1da74a7b1691ccea6cad360dd9e18fa357b2d))
|
|
74
82
|
|
|
75
83
|
### [0.0.41](https://github.com/GetStream/stream-video-js/compare/client0.0.40...client0.0.41) (2023-07-10)
|
|
76
84
|
|
|
77
|
-
|
|
78
85
|
### Documentation
|
|
79
86
|
|
|
80
|
-
|
|
87
|
+
- **react-sdk:** add token snippet to audio rooms tutorial ([#739](https://github.com/GetStream/stream-video-js/issues/739)) ([bf0b46c](https://github.com/GetStream/stream-video-js/commit/bf0b46ce40329458ad545c82b70a4099c4afc8f2))
|
|
81
88
|
|
|
82
89
|
### [0.0.40](https://github.com/GetStream/stream-video-js/compare/client0.0.39...client0.0.40) (2023-07-07)
|
|
83
90
|
|
|
84
|
-
|
|
85
91
|
### Features
|
|
86
92
|
|
|
87
|
-
|
|
93
|
+
- reconnection flow support for react-native ([#746](https://github.com/GetStream/stream-video-js/issues/746)) ([8677317](https://github.com/GetStream/stream-video-js/commit/86773172cd6e9c77940645302cc80b138ecc090a))
|
|
88
94
|
|
|
89
95
|
### [0.0.39](https://github.com/GetStream/stream-video-js/compare/client0.0.38...client0.0.39) (2023-07-07)
|
|
90
96
|
|
|
91
|
-
|
|
92
97
|
### Bug Fixes
|
|
93
98
|
|
|
94
|
-
|
|
99
|
+
- promise rejection on call leave ([#767](https://github.com/GetStream/stream-video-js/issues/767)) ([4b9fb95](https://github.com/GetStream/stream-video-js/commit/4b9fb959649126594855a1699058da907d7b5832))
|
|
95
100
|
|
|
96
101
|
### [0.0.38](https://github.com/GetStream/stream-video-js/compare/client0.0.37...client0.0.38) (2023-07-07)
|
|
97
102
|
|
|
98
|
-
|
|
99
103
|
### Features
|
|
100
104
|
|
|
101
|
-
|
|
105
|
+
- respect user_session_id in call.session events ([#766](https://github.com/GetStream/stream-video-js/issues/766)) ([18c6ae0](https://github.com/GetStream/stream-video-js/commit/18c6ae0ea47060e18b3462c7a6a04cad59f5f94b))
|
|
102
106
|
|
|
103
107
|
### [0.0.37](https://github.com/GetStream/stream-video-js/compare/client0.0.36...client0.0.37) (2023-07-06)
|
|
104
108
|
|
|
105
|
-
|
|
106
109
|
### Features
|
|
107
110
|
|
|
108
|
-
|
|
109
|
-
|
|
111
|
+
- Remove ringing flag from call client ([#755](https://github.com/GetStream/stream-video-js/issues/755)) ([b78c605](https://github.com/GetStream/stream-video-js/commit/b78c60500e06b39fb4dce623bde6f7b10acdd8c1)), closes [/github.com/GetStream/stream-video-android/blob/develop/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/notifications/internal/VideoPushDelegate.kt#L82](https://github.com/GetStream//github.com/GetStream/stream-video-android/blob/develop/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/notifications/internal/VideoPushDelegate.kt/issues/L82)
|
|
110
112
|
|
|
111
113
|
### Bug Fixes
|
|
112
114
|
|
|
113
|
-
|
|
115
|
+
- restore CallUserMuted event ([#759](https://github.com/GetStream/stream-video-js/issues/759)) ([caf43bb](https://github.com/GetStream/stream-video-js/commit/caf43bb0a8246aeb9c94ea2e0cc3d32e9a43fef1))
|
|
114
116
|
|
|
115
117
|
### [0.0.36](https://github.com/GetStream/stream-video-js/compare/client0.0.35...client0.0.36) (2023-07-05)
|
|
116
118
|
|
|
117
|
-
|
|
118
119
|
### Bug Fixes
|
|
119
120
|
|
|
120
|
-
|
|
121
|
+
- wait for connection ok for all API requests ([#752](https://github.com/GetStream/stream-video-js/issues/752)) ([82f441d](https://github.com/GetStream/stream-video-js/commit/82f441d5fb84ddc2c16fb97ca362e05fff78b4dd))
|
|
121
122
|
|
|
122
123
|
### [0.0.35](https://github.com/GetStream/stream-video-js/compare/client0.0.34...client0.0.35) (2023-07-05)
|
|
123
124
|
|
|
124
|
-
|
|
125
125
|
### Bug Fixes
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
- Reliable mid detection ([#753](https://github.com/GetStream/stream-video-js/issues/753)) ([d602574](https://github.com/GetStream/stream-video-js/commit/d6025740f46db413b5c040cb9af145cfa9be4bf1))
|
|
128
128
|
|
|
129
129
|
### [0.0.34](https://github.com/GetStream/stream-video-js/compare/client0.0.33...client0.0.34) (2023-07-05)
|
|
130
130
|
|
|
131
|
-
|
|
132
131
|
### Bug Fixes
|
|
133
132
|
|
|
134
|
-
|
|
133
|
+
- prevent double publishStream invocation ([#749](https://github.com/GetStream/stream-video-js/issues/749)) ([9e3c22f](https://github.com/GetStream/stream-video-js/commit/9e3c22fd37d8dc00d275e8b69f9cd18f67e366fe))
|
|
135
134
|
|
|
136
135
|
### [0.0.33](https://github.com/GetStream/stream-video-js/compare/client0.0.32...client0.0.33) (2023-07-04)
|
|
137
136
|
|
|
138
137
|
### [0.0.32](https://github.com/GetStream/stream-video-js/compare/client0.0.31...client0.0.32) (2023-07-04)
|
|
139
138
|
|
|
140
|
-
|
|
141
139
|
### Features
|
|
142
140
|
|
|
143
|
-
|
|
141
|
+
- stop tracking permission requests in Call state ([#744](https://github.com/GetStream/stream-video-js/issues/744)) ([b330df3](https://github.com/GetStream/stream-video-js/commit/b330df39d9dce34d9e5a1a7ec58acb0a905ee07b))
|
|
144
142
|
|
|
145
143
|
### [0.0.31](https://github.com/GetStream/stream-video-js/compare/client0.0.30...client0.0.31) (2023-07-03)
|
|
146
144
|
|
|
147
|
-
|
|
148
145
|
### Bug Fixes
|
|
149
146
|
|
|
150
|
-
|
|
147
|
+
- safeguard against potential race conditions during join-flow ([#741](https://github.com/GetStream/stream-video-js/issues/741)) ([54f1ef6](https://github.com/GetStream/stream-video-js/commit/54f1ef636d3c46b29c538a8c2c7bc5031fde43c9))
|
|
151
148
|
|
|
152
149
|
### [0.0.30](https://github.com/GetStream/stream-video-js/compare/client0.0.29...client0.0.30) (2023-07-03)
|
|
153
150
|
|
|
154
|
-
|
|
155
151
|
### Bug Fixes
|
|
156
152
|
|
|
157
|
-
|
|
153
|
+
- dont use window search in react native ([4883512](https://github.com/GetStream/stream-video-js/commit/4883512692bf6626b5ac9df6e80384843ec0917d))
|
|
158
154
|
|
|
159
155
|
### [0.0.29](https://github.com/GetStream/stream-video-js/compare/client0.0.28...client0.0.29) (2023-07-03)
|
|
160
156
|
|
|
161
|
-
|
|
162
157
|
### Features
|
|
163
158
|
|
|
164
|
-
|
|
159
|
+
- SFU Session Migration and Graceful Shutdown ([#603](https://github.com/GetStream/stream-video-js/issues/603)) ([943169b](https://github.com/GetStream/stream-video-js/commit/943169bd2b7b9e138bcaf387cf72eb3fa0f23533))
|
|
165
160
|
|
|
166
161
|
### [0.0.28](https://github.com/GetStream/stream-video-js/compare/client0.0.27...client0.0.28) (2023-06-29)
|
|
167
162
|
|
|
168
|
-
|
|
169
163
|
### Features
|
|
170
164
|
|
|
171
|
-
|
|
165
|
+
- Change sendEvent signature ([#734](https://github.com/GetStream/stream-video-js/issues/734)) ([284c8c2](https://github.com/GetStream/stream-video-js/commit/284c8c2165129852ccf9fd7d8baad37f43d22a17))
|
|
172
166
|
|
|
173
167
|
### [0.0.27](https://github.com/GetStream/stream-video-js/compare/client0.0.26...client0.0.27) (2023-06-27)
|
|
174
168
|
|
|
175
|
-
|
|
176
169
|
### Documentation
|
|
177
170
|
|
|
178
|
-
|
|
171
|
+
- Tutorial rewrite ([#709](https://github.com/GetStream/stream-video-js/issues/709)) ([9a14188](https://github.com/GetStream/stream-video-js/commit/9a141883ec2e402e7130c7e41f464439d5cb2800))
|
|
179
172
|
|
|
180
173
|
### [0.0.26](https://github.com/GetStream/stream-video-js/compare/client0.0.25...client0.0.26) (2023-06-23)
|
|
181
174
|
|
|
182
|
-
|
|
183
175
|
### Features
|
|
184
176
|
|
|
185
|
-
|
|
177
|
+
- Add user that mutes others in `CallUserMuted` event ([#704](https://github.com/GetStream/stream-video-js/issues/704)) ([f57fbbd](https://github.com/GetStream/stream-video-js/commit/f57fbbdcf9002add174aceba191211f3884cdc62))
|
|
186
178
|
|
|
187
179
|
### [0.0.25](https://github.com/GetStream/stream-video-js/compare/client0.0.24...client0.0.25) (2023-06-23)
|
|
188
180
|
|
|
189
|
-
|
|
190
181
|
### Features
|
|
191
182
|
|
|
192
|
-
|
|
183
|
+
- **react-native:** send device and os info from the SDK ([#690](https://github.com/GetStream/stream-video-js/issues/690)) ([deb1a28](https://github.com/GetStream/stream-video-js/commit/deb1a28a4a029d988d11970608f00da8b327a02d))
|
|
193
184
|
|
|
194
185
|
### [0.0.24](https://github.com/GetStream/stream-video-js/compare/client0.0.23...client0.0.24) (2023-06-23)
|
|
195
186
|
|
|
196
|
-
|
|
197
187
|
### Features
|
|
198
188
|
|
|
199
|
-
|
|
189
|
+
- Add `CallUserMuted` event ([#699](https://github.com/GetStream/stream-video-js/issues/699)) ([41a09e2](https://github.com/GetStream/stream-video-js/commit/41a09e257a9a8cd9b1b45551f35cebb3cd7a048b))
|
|
200
190
|
|
|
201
191
|
### [0.0.23](https://github.com/GetStream/stream-video-js/compare/client0.0.22...client0.0.23) (2023-06-22)
|
|
202
192
|
|
|
203
|
-
|
|
204
193
|
### Bug Fixes
|
|
205
194
|
|
|
206
|
-
|
|
195
|
+
- navigate to incoming call screen when push notification is tapped ([#697](https://github.com/GetStream/stream-video-js/issues/697)) ([85488a2](https://github.com/GetStream/stream-video-js/commit/85488a213abb0482c7aedefb5c3aa999131c746a))
|
|
207
196
|
|
|
208
197
|
### [0.0.22](https://github.com/GetStream/stream-video-js/compare/client0.0.21...client0.0.22) (2023-06-21)
|
|
209
198
|
|
|
210
|
-
|
|
211
199
|
### Documentation
|
|
212
200
|
|
|
213
|
-
|
|
201
|
+
- cleanup ([#679](https://github.com/GetStream/stream-video-js/issues/679)) ([58c86bd](https://github.com/GetStream/stream-video-js/commit/58c86bd0354ebe444af361056dcc3fa82c4a926d))
|
|
214
202
|
|
|
215
203
|
### [0.0.21](https://github.com/GetStream/stream-video-js/compare/client0.0.20...client0.0.21) (2023-06-21)
|
|
216
204
|
|
|
217
|
-
|
|
218
205
|
### Documentation
|
|
219
206
|
|
|
220
|
-
|
|
207
|
+
- **react-sdk:** update audio rooms tutorial ([#659](https://github.com/GetStream/stream-video-js/issues/659)) ([11f2e80](https://github.com/GetStream/stream-video-js/commit/11f2e8090811fbd8478724b3d2c2c8af3b19a0c5))
|
|
221
208
|
|
|
222
209
|
### [0.0.20](https://github.com/GetStream/stream-video-js/compare/client0.0.19...client0.0.20) (2023-06-21)
|
|
223
210
|
|
|
224
|
-
|
|
225
211
|
### Bug Fixes
|
|
226
212
|
|
|
227
|
-
|
|
213
|
+
- proper media stream disposal for rn webrtc ([#682](https://github.com/GetStream/stream-video-js/issues/682)) ([8879bac](https://github.com/GetStream/stream-video-js/commit/8879bac82080232928b78316fdb452bbc3c79fbc))
|
|
228
214
|
|
|
229
215
|
### [0.0.19](https://github.com/GetStream/stream-video-js/compare/client0.0.18...client0.0.19) (2023-06-20)
|
|
230
216
|
|
|
231
|
-
|
|
232
217
|
### Bug Fixes
|
|
233
218
|
|
|
234
|
-
|
|
219
|
+
- Sentry import ([#677](https://github.com/GetStream/stream-video-js/issues/677)) ([0c52428](https://github.com/GetStream/stream-video-js/commit/0c52428053b4f025b51e6abea911e4bb89c6bd55))
|
|
235
220
|
|
|
236
221
|
### [0.0.18](https://github.com/GetStream/stream-video-js/compare/client0.0.17...client0.0.18) (2023-06-20)
|
|
237
222
|
|
|
238
|
-
|
|
239
223
|
### Features
|
|
240
224
|
|
|
241
|
-
|
|
225
|
+
- Custom logger example ([#669](https://github.com/GetStream/stream-video-js/issues/669)) ([208aed9](https://github.com/GetStream/stream-video-js/commit/208aed9f82dcbf5f9ffdf299c4672af855af344a))
|
|
242
226
|
|
|
243
227
|
### [0.0.17](https://github.com/GetStream/stream-video-js/compare/client0.0.16...client0.0.17) (2023-06-20)
|
|
244
228
|
|
|
245
|
-
|
|
246
229
|
### Features
|
|
247
230
|
|
|
248
|
-
|
|
231
|
+
- **react-native:** push notification for android ([#626](https://github.com/GetStream/stream-video-js/issues/626)) ([ec2e439](https://github.com/GetStream/stream-video-js/commit/ec2e4390cb724091352ba774c55ad2245ace2955))
|
|
249
232
|
|
|
250
233
|
### [0.0.16](https://github.com/GetStream/stream-video-js/compare/client0.0.15...client0.0.16) (2023-06-16)
|
|
251
234
|
|
|
252
|
-
|
|
253
235
|
### Documentation
|
|
254
236
|
|
|
255
|
-
|
|
237
|
+
- **react-sdk:** Runtime layout switching guide ([#642](https://github.com/GetStream/stream-video-js/issues/642)) ([1557168](https://github.com/GetStream/stream-video-js/commit/1557168da69660b71a0a420a94a0c354466681a7))
|
|
256
238
|
|
|
257
239
|
### [0.0.15](https://github.com/GetStream/stream-video-js/compare/client0.0.14...client0.0.15) (2023-06-16)
|
|
258
240
|
|
|
259
|
-
|
|
260
241
|
### Features
|
|
261
242
|
|
|
262
|
-
|
|
243
|
+
- Logging ([#654](https://github.com/GetStream/stream-video-js/issues/654)) ([30fc8f2](https://github.com/GetStream/stream-video-js/commit/30fc8f28e2f5829247256f24b040ea4a10336186))
|
|
263
244
|
|
|
264
245
|
### [0.0.14](https://github.com/GetStream/stream-video-js/compare/client0.0.13...client0.0.14) (2023-06-16)
|
|
265
246
|
|
|
266
|
-
|
|
267
247
|
### Bug Fixes
|
|
268
248
|
|
|
269
|
-
|
|
249
|
+
- **client:** do not allow to re-join left call ([#646](https://github.com/GetStream/stream-video-js/issues/646)) ([cbbbdfd](https://github.com/GetStream/stream-video-js/commit/cbbbdfd026c13673f98ccb50e8ee84140eec64b6))
|
|
270
250
|
|
|
271
251
|
### [0.0.13](https://github.com/GetStream/stream-video-js/compare/client0.0.12...client0.0.13) (2023-06-15)
|
|
272
252
|
|
|
273
|
-
|
|
274
253
|
### Bug Fixes
|
|
275
254
|
|
|
276
|
-
|
|
255
|
+
- do not send ring to backend if call was not created by the user ([#645](https://github.com/GetStream/stream-video-js/issues/645)) ([1fa8ffb](https://github.com/GetStream/stream-video-js/commit/1fa8ffbb7373e9eff497bfe1ce48a970aedc0d9d))
|
|
277
256
|
|
|
278
257
|
### [0.0.12](https://github.com/GetStream/stream-video-js/compare/client0.0.11...client0.0.12) (2023-06-13)
|
|
279
258
|
|
|
280
|
-
|
|
281
259
|
### Features
|
|
282
260
|
|
|
283
|
-
|
|
261
|
+
- Make it possible to provide user and token in StreamVideoClient… ([#631](https://github.com/GetStream/stream-video-js/issues/631)) ([93f9b03](https://github.com/GetStream/stream-video-js/commit/93f9b03313ac74179f1d93b513ea4de306312291))
|
|
284
262
|
|
|
285
263
|
### [0.0.11](https://github.com/GetStream/stream-video-js/compare/client0.0.10...client0.0.11) (2023-06-13)
|
|
286
264
|
|
|
287
|
-
|
|
288
265
|
### Features
|
|
289
266
|
|
|
290
|
-
|
|
267
|
+
- add audio room demo app ([#572](https://github.com/GetStream/stream-video-js/issues/572)) ([77f7b65](https://github.com/GetStream/stream-video-js/commit/77f7b6596047d59e10c8e58abad38c4f48cc162f))
|
|
291
268
|
|
|
292
269
|
### [0.0.10](https://github.com/GetStream/stream-video-js/compare/client0.0.9...client0.0.10) (2023-06-12)
|
|
293
270
|
|
|
294
|
-
|
|
295
271
|
### Features
|
|
296
272
|
|
|
297
|
-
|
|
273
|
+
- User connect and types ([#627](https://github.com/GetStream/stream-video-js/issues/627)) ([721ef61](https://github.com/GetStream/stream-video-js/commit/721ef611374540ef570a516009c78d58ce4f5360))
|
|
298
274
|
|
|
299
275
|
### [0.0.9](https://github.com/GetStream/stream-video-js/compare/client0.0.8...client0.0.9) (2023-06-12)
|
|
300
276
|
|
|
301
|
-
|
|
302
277
|
### Bug Fixes
|
|
303
278
|
|
|
304
|
-
|
|
279
|
+
- prevent misleading "stop publish" log messages upon call instantiation ([#629](https://github.com/GetStream/stream-video-js/issues/629)) ([af40939](https://github.com/GetStream/stream-video-js/commit/af4093966c408d37fbf59c4c8fafd22756aa8888))
|
|
305
280
|
|
|
306
281
|
### [0.0.8](https://github.com/GetStream/stream-video-js/compare/client0.0.7...client0.0.8) (2023-06-09)
|
|
307
282
|
|
|
308
|
-
|
|
309
283
|
### Features
|
|
310
284
|
|
|
311
|
-
|
|
285
|
+
- **react-native:** support reconnection flow ([#458](https://github.com/GetStream/stream-video-js/issues/458)) ([89f2dda](https://github.com/GetStream/stream-video-js/commit/89f2ddafd1397d91f8ddea5a3c69dd62ae027313))
|
|
312
286
|
|
|
313
287
|
### [0.0.7](https://github.com/GetStream/stream-video-js/compare/client0.0.6...client0.0.7) (2023-06-08)
|
|
314
288
|
|
|
315
|
-
|
|
316
289
|
### Features
|
|
317
290
|
|
|
318
|
-
|
|
291
|
+
- StreamCall signature, video client creation ([#596](https://github.com/GetStream/stream-video-js/issues/596)) ([5c3000c](https://github.com/GetStream/stream-video-js/commit/5c3000cc6fc3f8b7904609d7b11fa025b7458cad))
|
|
319
292
|
|
|
320
293
|
### [0.0.6](https://github.com/GetStream/stream-video-js/compare/client0.0.5...client0.0.6) (2023-06-07)
|
|
321
294
|
|
|
322
|
-
|
|
323
295
|
### Features
|
|
324
296
|
|
|
325
|
-
|
|
297
|
+
- Add token creation to client ([#607](https://github.com/GetStream/stream-video-js/issues/607)) ([5f95420](https://github.com/GetStream/stream-video-js/commit/5f9542029a64ddaf6ee7912ea7b364fc74c93bf0))
|
|
326
298
|
|
|
327
299
|
### [0.0.5](https://github.com/GetStream/stream-video-js/compare/client0.0.4...client0.0.5) (2023-06-06)
|
|
328
300
|
|
|
329
|
-
|
|
330
301
|
### Bug Fixes
|
|
331
302
|
|
|
332
|
-
|
|
303
|
+
- adjustments to the new egress response structure ([#595](https://github.com/GetStream/stream-video-js/issues/595)) ([3b3edea](https://github.com/GetStream/stream-video-js/commit/3b3edea7d032a50cb0757c6b46114e8009ae56fc))
|
|
333
304
|
|
|
334
305
|
### [0.0.4](https://github.com/GetStream/stream-video-js/compare/client0.0.3...client0.0.4) (2023-06-06)
|
|
335
306
|
|
|
336
|
-
|
|
337
307
|
### Bug Fixes
|
|
338
308
|
|
|
339
|
-
|
|
309
|
+
- use and save toggled dtx to sdp and remove empty lines when munging ([#597](https://github.com/GetStream/stream-video-js/issues/597)) ([3971276](https://github.com/GetStream/stream-video-js/commit/39712764ce7ac30557ef36ef7f736f2a0a5728b5))
|
|
340
310
|
|
|
341
311
|
### [0.0.3](https://github.com/GetStream/stream-video-js/compare/client0.0.2...client0.0.3) (2023-06-05)
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
### Bug Fixes
|
|
345
|
-
|
|
346
|
-
* preserve last used session-id when reconnecting ([#592](https://github.com/GetStream/stream-video-js/issues/592)) ([25cc9ce](https://github.com/GetStream/stream-video-js/commit/25cc9cef16bcbc505fd0dcc0971ddeab3f07ae50))
|
|
347
|
-
|
|
348
|
-
### [0.0.2](https://github.com/GetStream/stream-video-js/compare/client0.0.2-alpha.25...client0.0.2) (2023-06-02)
|
package/dist/index.browser.es.js
CHANGED
|
@@ -8378,7 +8378,7 @@ const watchCallSessionParticipantJoined = (state) => {
|
|
|
8378
8378
|
return function onCallParticipantJoined(event) {
|
|
8379
8379
|
if (event.type !== 'call.session_participant_joined')
|
|
8380
8380
|
return;
|
|
8381
|
-
const {
|
|
8381
|
+
const { participant } = event;
|
|
8382
8382
|
state.setMetadata((metadata) => {
|
|
8383
8383
|
if (!metadata || !metadata.session) {
|
|
8384
8384
|
state.logger('warn', `Received call.session_participant_joined event but the metadata structure is invalid.`, event);
|
|
@@ -8386,16 +8386,8 @@ const watchCallSessionParticipantJoined = (state) => {
|
|
|
8386
8386
|
}
|
|
8387
8387
|
const { session } = metadata;
|
|
8388
8388
|
const { participants, participants_count_by_role } = session;
|
|
8389
|
-
|
|
8390
|
-
|
|
8391
|
-
{
|
|
8392
|
-
// FIXME OL: ideally, this comes from the backend
|
|
8393
|
-
joined_at: new Date().toISOString(),
|
|
8394
|
-
user,
|
|
8395
|
-
role: user.role,
|
|
8396
|
-
user_session_id,
|
|
8397
|
-
},
|
|
8398
|
-
], participants_count_by_role: Object.assign(Object.assign({}, participants_count_by_role), { [user.role]: (participants_count_by_role[user.role] || 0) + 1 }) }) });
|
|
8389
|
+
const { user } = participant;
|
|
8390
|
+
return Object.assign(Object.assign({}, metadata), { session: Object.assign(Object.assign({}, session), { participants: [...participants, participant], participants_count_by_role: Object.assign(Object.assign({}, participants_count_by_role), { [user.role]: (participants_count_by_role[user.role] || 0) + 1 }) }) });
|
|
8399
8391
|
});
|
|
8400
8392
|
};
|
|
8401
8393
|
};
|
|
@@ -8408,7 +8400,7 @@ const watchCallSessionParticipantLeft = (state) => {
|
|
|
8408
8400
|
return function onCallParticipantLeft(event) {
|
|
8409
8401
|
if (event.type !== 'call.session_participant_left')
|
|
8410
8402
|
return;
|
|
8411
|
-
const { user, user_session_id } = event;
|
|
8403
|
+
const { user, user_session_id } = event.participant;
|
|
8412
8404
|
state.setMetadata((metadata) => {
|
|
8413
8405
|
if (!metadata || !metadata.session) {
|
|
8414
8406
|
state.logger('warn', `Received call.session_participant_left event but the metadata structure is invalid.`, event);
|
|
@@ -11325,7 +11317,7 @@ class WSConnectionFallback {
|
|
|
11325
11317
|
}
|
|
11326
11318
|
}
|
|
11327
11319
|
|
|
11328
|
-
const version = '0.
|
|
11320
|
+
const version = '0.1.1';
|
|
11329
11321
|
|
|
11330
11322
|
const logger = getLogger(['location']);
|
|
11331
11323
|
const HINT_URL = `https://hint.stream-io-video.com/`;
|