@stream-io/video-client 0.3.27 → 0.3.29
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 +14 -0
- package/README.md +6 -4
- package/dist/index.browser.es.js +4 -3
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +4 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4 -3
- package/dist/index.es.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/store/CallState.ts +3 -2
- package/src/store/__tests__/CallState.test.ts +1 -1
package/dist/index.es.js
CHANGED
|
@@ -8337,8 +8337,9 @@ class CallState {
|
|
|
8337
8337
|
};
|
|
8338
8338
|
this.logger = getLogger(['CallState']);
|
|
8339
8339
|
this.participants$ = this.participantsSubject.asObservable().pipe(
|
|
8340
|
-
//
|
|
8341
|
-
|
|
8340
|
+
// maintain stable-sort by mutating the participants stored
|
|
8341
|
+
// in the original subject
|
|
8342
|
+
map$1((ps) => ps.sort(this.sortParticipantsBy)), shareReplay({ bufferSize: 1, refCount: true }));
|
|
8342
8343
|
this.localParticipant$ = this.participants$.pipe(map$1((participants) => participants.find(isStreamVideoLocalParticipant)), shareReplay({ bufferSize: 1, refCount: true }));
|
|
8343
8344
|
this.remoteParticipants$ = this.participants$.pipe(map$1((participants) => participants.filter((p) => !p.isLocalParticipant)), shareReplay({ bufferSize: 1, refCount: true }));
|
|
8344
8345
|
this.pinnedParticipants$ = this.participants$.pipe(map$1((participants) => participants.filter((p) => !!p.pin)), shareReplay({ bufferSize: 1, refCount: true }));
|
|
@@ -13222,7 +13223,7 @@ class WSConnectionFallback {
|
|
|
13222
13223
|
}
|
|
13223
13224
|
}
|
|
13224
13225
|
|
|
13225
|
-
const version = '0.3.
|
|
13226
|
+
const version = '0.3.29';
|
|
13226
13227
|
|
|
13227
13228
|
const logger = getLogger(['location']);
|
|
13228
13229
|
const HINT_URL = `https://hint.stream-io-video.com/`;
|