@stream-io/video-client 0.0.1-alpha.93 → 0.0.1-alpha.94
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/dist/index.browser.es.js +2 -10
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +2 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -10
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/rtc/flows/join.ts +1 -14
package/dist/index.browser.es.js
CHANGED
|
@@ -5916,15 +5916,7 @@ const measureResourceLoadLatencyTo = (endpoint, rounds = 3, timeoutAfterMs = 150
|
|
|
5916
5916
|
|
|
5917
5917
|
const watch = (httpClient, type, id, data) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5918
5918
|
yield httpClient.connectionIdPromise;
|
|
5919
|
-
|
|
5920
|
-
try {
|
|
5921
|
-
joinCallResponse = yield httpClient.post(`/call/${type}/${id}/join`, data);
|
|
5922
|
-
}
|
|
5923
|
-
catch (e) {
|
|
5924
|
-
// fallback scenario, until we get a new Coordinator deployed
|
|
5925
|
-
joinCallResponse = yield httpClient.post(`/join_call/${type}/${id}`, data);
|
|
5926
|
-
}
|
|
5927
|
-
return joinCallResponse;
|
|
5919
|
+
return httpClient.post(`/call/${type}/${id}/join`, data);
|
|
5928
5920
|
});
|
|
5929
5921
|
const join = (httpClient, type, id, data) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5930
5922
|
const joinCallResponse = yield watch(httpClient, type, id, data);
|
|
@@ -8996,7 +8988,7 @@ class StreamClient {
|
|
|
8996
8988
|
}
|
|
8997
8989
|
getUserAgent() {
|
|
8998
8990
|
return (this.userAgent ||
|
|
8999
|
-
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.1-alpha.
|
|
8991
|
+
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.1-alpha.93"}`);
|
|
9000
8992
|
}
|
|
9001
8993
|
setUserAgent(userAgent) {
|
|
9002
8994
|
this.userAgent = userAgent;
|