@vindral/web-sdk 4.5.1-29-gb7cd696c8 → 4.5.1-30-ge7df78ca

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.
@@ -1,5 +1,5 @@
1
1
  import { n as e, t } from "./BsfwXDui.js";
2
- import { _ as n, a as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, m as ee, n as d, o as te, p as ne, r as re, s as ie, t as ae, u as oe, v as se } from "./BI3SGgfO.js";
2
+ import { _ as n, a as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, m as ee, n as d, o as te, p as ne, r as re, s as ie, t as ae, u as oe, v as se } from "./DtIsSJ54.js";
3
3
  import { F as ce } from "./BBVSf5AB.js";
4
4
  import { i as f, n as p, r as m, t as h } from "./DSw1XhvD.js";
5
5
  import { c as le, n as ue, t as de } from "./BOdyvABa.js";
@@ -7819,17 +7819,23 @@ var jg = 1e4, Q = /* @__PURE__ */ new WeakMap(), Mg = /* @__PURE__ */ new WeakMa
7819
7819
  (u = a.onTransportConnected) == null || u.call(a);
7820
7820
  let ie = y.closed().then((e) => {
7821
7821
  throw e instanceof Error ? e : Error(e ? `Session closed before player started: ${String(e)}` : "Session closed before player started");
7822
- }), ae = yield Promise.race([
7823
- Cg.start(y.subscriber, {
7824
- namespace: v.namespace,
7825
- catalog: v,
7826
- videoTrack: ee == null ? void 0 : ee.track,
7827
- audioTrack: te == null ? void 0 : te.track,
7828
- burstMs: f.burstMs || 0
7829
- }),
7830
- bn(jg, /* @__PURE__ */ Error("Timeout waiting for player to start")),
7831
- ie
7832
- ]), oe = new r_(ae.catalog());
7822
+ }), ae;
7823
+ try {
7824
+ ae = yield Promise.race([
7825
+ Cg.start(y.subscriber, {
7826
+ namespace: v.namespace,
7827
+ catalog: v,
7828
+ videoTrack: ee == null ? void 0 : ee.track,
7829
+ audioTrack: te == null ? void 0 : te.track,
7830
+ burstMs: f.burstMs || 0
7831
+ }),
7832
+ bn(jg, /* @__PURE__ */ Error("Timeout waiting for player to start")),
7833
+ ie
7834
+ ]);
7835
+ } catch (e) {
7836
+ throw y.close(), e;
7837
+ }
7838
+ let oe = new r_(ae.catalog());
7833
7839
  d.set(Xp(v.namespace), oe), e.emit("received signal", {
7834
7840
  type: "client ip",
7835
7841
  ip: ae.connectionInfo().ip
@@ -11852,7 +11858,7 @@ var Ay = class {
11852
11858
  let e = this.modules.canvasModule instanceof Bv ? !0 : void 0;
11853
11859
  return D({
11854
11860
  uptime: this.uptime,
11855
- version: "4.5.1-29-gb7cd696c8",
11861
+ version: "4.5.1-30-ge7df78ca",
11856
11862
  clientId: this.clientId,
11857
11863
  sessionId: this.sessionId,
11858
11864
  channelId: this.channelId,
package/core.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as e } from "./BI3SGgfO.js";
1
+ import { t as e } from "./DtIsSJ54.js";
2
2
  import { a as t, c as n, d as r, f as i, i as a, l as o, n as s, o as c, r as l, s as u } from "./BBVSf5AB.js";
3
3
  export { s as AUTHENTICATION_EXPIRED_CODE, l as AUTHENTICATION_FAILED_CODE, a as CHANNEL_NOT_FOUND_CODE, t as CHANNEL_NOT_LIVE_CODE, c as CONNECTION_FAILED_AFTER_RETRIES_CODE, u as CONNECTION_FAILED_CODE, n as DISCONNECTED_BY_EDGE, o as INACTIVITY_CODE, r as NO_INCOMING_DATA, e as Vindral, i as VindralError };