@vindral/web-sdk 4.5.1-18-g846892c8d → 4.5.1-19-g68d897ea1
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/{CVcVupSb.js → CD9oAEvy.js} +1 -1
- package/{CaL1HjW4.js → CMgsKIWh.js} +6 -3
- package/core.js +1 -1
- package/legacy.es.js +6 -3
- package/legacy.umd.js +2 -2
- package/package.json +1 -1
- package/player.js +2 -2
- package/vindral-player-component.js +2 -2
|
@@ -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 "./
|
|
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 "./CMgsKIWh.js";
|
|
3
3
|
import { P as ce } from "./CiWlpwR0.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";
|
|
@@ -3375,7 +3375,7 @@ var wo = (e) => {
|
|
|
3375
3375
|
case "h264": return Go(n, r);
|
|
3376
3376
|
case "h265": return qo(n, r, e.width, e.height);
|
|
3377
3377
|
case "av1": return Ko(n, r);
|
|
3378
|
-
case "opus": return Jo(n, r
|
|
3378
|
+
case "opus": return Jo(n, r);
|
|
3379
3379
|
case "aac": return Yo(n, r, e.channelCount || 2);
|
|
3380
3380
|
default: throw Error(`Failed to initialize ${t} segment`);
|
|
3381
3381
|
}
|
|
@@ -3387,7 +3387,10 @@ var wo = (e) => {
|
|
|
3387
3387
|
}, Go = (e, t) => vo(e, t), Ko = (e, t) => Ho(e, t), qo = (e, t, n, r) => {
|
|
3388
3388
|
if (!n || !r) throw Error("HEVC init segment requires width and height");
|
|
3389
3389
|
return bo(e, t, n, r);
|
|
3390
|
-
}, Jo = (e, t
|
|
3390
|
+
}, Jo = (e, t) => {
|
|
3391
|
+
let n = new DataView(e).getUint8(9);
|
|
3392
|
+
return xo(new Uint8Array(e), n, t);
|
|
3393
|
+
}, Yo = (e, t, n) => ho(new Uint8Array(e), n, t, t), Xo = (e, t) => {
|
|
3391
3394
|
if (!e[0]) throw Error("At least one sample must be provided");
|
|
3392
3395
|
switch (e[0].codec) {
|
|
3393
3396
|
case "h264": return _o(e, t);
|
|
@@ -11470,7 +11473,7 @@ var dy = class {
|
|
|
11470
11473
|
let e = this.modules.canvasModule instanceof xv ? !0 : void 0;
|
|
11471
11474
|
return O({
|
|
11472
11475
|
uptime: this.uptime,
|
|
11473
|
-
version: "4.5.1-
|
|
11476
|
+
version: "4.5.1-19-g68d897ea1",
|
|
11474
11477
|
clientId: this.clientId,
|
|
11475
11478
|
sessionId: this.sessionId,
|
|
11476
11479
|
channelId: this.channelId,
|
package/core.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "./
|
|
1
|
+
import { t as e } from "./CMgsKIWh.js";
|
|
2
2
|
import { a as t, c as n, d as r, i, l as a, n as o, o as s, r as c, s as l, u } from "./CiWlpwR0.js";
|
|
3
3
|
export { o as AUTHENTICATION_EXPIRED_CODE, c as AUTHENTICATION_FAILED_CODE, i as CHANNEL_NOT_FOUND_CODE, t as CHANNEL_NOT_LIVE_CODE, s as CONNECTION_FAILED_AFTER_RETRIES_CODE, l as CONNECTION_FAILED_CODE, n as DISCONNECTED_BY_EDGE, a as INACTIVITY_CODE, u as NO_INCOMING_DATA, e as Vindral, r as VindralError };
|
package/legacy.es.js
CHANGED
|
@@ -4163,7 +4163,7 @@ var Ec = (e) => {
|
|
|
4163
4163
|
case "h264": return qc(n, r);
|
|
4164
4164
|
case "h265": return Yc(n, r, e.width, e.height);
|
|
4165
4165
|
case "av1": return Jc(n, r);
|
|
4166
|
-
case "opus": return Xc(n, r
|
|
4166
|
+
case "opus": return Xc(n, r);
|
|
4167
4167
|
case "aac": return Zc(n, r, e.channelCount || 2);
|
|
4168
4168
|
default: throw Error(`Failed to initialize ${t} segment`);
|
|
4169
4169
|
}
|
|
@@ -4175,7 +4175,10 @@ var Ec = (e) => {
|
|
|
4175
4175
|
}, qc = (e, t) => bc(e, t), Jc = (e, t) => Wc(e, t), Yc = (e, t, n, r) => {
|
|
4176
4176
|
if (!n || !r) throw Error("HEVC init segment requires width and height");
|
|
4177
4177
|
return Sc(e, t, n, r);
|
|
4178
|
-
}, Xc = (e, t
|
|
4178
|
+
}, Xc = (e, t) => {
|
|
4179
|
+
let n = new DataView(e).getUint8(9);
|
|
4180
|
+
return Cc(new Uint8Array(e), n, t);
|
|
4181
|
+
}, Zc = (e, t, n) => _c(new Uint8Array(e), n, t, t), Qc = (e, t) => {
|
|
4179
4182
|
if (!e[0]) throw Error("At least one sample must be provided");
|
|
4180
4183
|
switch (e[0].codec) {
|
|
4181
4184
|
case "h264": return yc(e, t);
|
|
@@ -13033,7 +13036,7 @@ var kS = 1e4, AS = /* @__PURE__ */ new WeakMap(), jS = /* @__PURE__ */ new WeakM
|
|
|
13033
13036
|
let e = this.modules.canvasModule instanceof xx ? !0 : void 0;
|
|
13034
13037
|
return z({
|
|
13035
13038
|
uptime: this.uptime,
|
|
13036
|
-
version: "4.5.1-
|
|
13039
|
+
version: "4.5.1-19-g68d897ea1",
|
|
13037
13040
|
clientId: this.clientId,
|
|
13038
13041
|
sessionId: this.sessionId,
|
|
13039
13042
|
channelId: this.channelId,
|