@eluvio/elv-client-js 4.0.75 → 4.0.77
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/ElvClient-min.js +18 -10
- package/dist/ElvClient-node-min.js +18 -10
- package/dist/ElvFrameClient-min.js +9 -9
- package/dist/ElvPermissionsClient-min.js +10 -10
- package/dist/ElvWalletClient-min.js +18 -10
- package/dist/ElvWalletClient-node-min.js +18 -10
- package/dist/src/AuthorizationClient.js +18 -12
- package/dist/src/Crypto.js +2 -2
- package/dist/src/ElvClient.js +111 -76
- package/dist/src/EthClient.js +2 -2
- package/dist/src/FrameClient.js +4 -4
- package/dist/src/PermissionsClient.js +2 -2
- package/dist/src/Utils.js +6 -5
- package/dist/src/abr_profiles/abr_profile_live_drm.js +1621 -0
- package/dist/src/abr_profiles/abr_profile_live_to_vod.js +1599 -0
- package/dist/src/client/ABRPublishing.js +2 -2
- package/dist/src/client/AccessGroups.js +19 -20
- package/dist/src/client/ContentAccess.js +2 -2
- package/dist/src/client/ContentManagement.js +3 -3
- package/dist/src/client/Contracts.js +235 -203
- package/dist/src/client/Files.js +2 -2
- package/dist/src/client/LiveConf.js +1 -1
- package/dist/src/client/LiveStream.js +1157 -1153
- package/dist/src/client/NFT.js +2 -2
- package/dist/src/contracts/v3b/BaseAccessControlGroup.js +1704 -0
- package/dist/src/walletClient/ClientMethods.js +423 -280
- package/dist/src/walletClient/Profile.js +2 -2
- package/dist/src/walletClient/Utils.js +7 -3
- package/dist/src/walletClient/index.js +124 -44
- package/package.json +2 -1
- package/src/FrameClient.js +3 -0
- package/src/abr_profiles/abr_profile_live_drm.js +1907 -0
- package/src/abr_profiles/abr_profile_live_to_vod.js +1885 -0
- package/src/client/LiveConf.js +1 -1
- package/src/client/LiveStream.js +809 -936
- package/src/walletClient/index.js +1 -1
package/dist/src/Utils.js
CHANGED
|
@@ -3,8 +3,8 @@ var _regeneratorRuntime = require("@babel/runtime/regenerator");
|
|
|
3
3
|
var _asyncToGenerator = require("@babel/runtime/helpers/asyncToGenerator");
|
|
4
4
|
var _defineProperty = require("@babel/runtime/helpers/defineProperty");
|
|
5
5
|
var _slicedToArray = require("@babel/runtime/helpers/slicedToArray");
|
|
6
|
-
function ownKeys(
|
|
7
|
-
function _objectSpread(
|
|
6
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8
8
|
if (typeof globalThis.Buffer === "undefined") {
|
|
9
9
|
globalThis.Buffer = require("buffer/").Buffer;
|
|
10
10
|
}
|
|
@@ -823,14 +823,15 @@ var Utils = {
|
|
|
823
823
|
"highBufferWatchdogPeriod": 1
|
|
824
824
|
};
|
|
825
825
|
if (!isSafari && ["ull", "ultraLowLatency"].includes(profile)) {
|
|
826
|
-
return
|
|
826
|
+
return {
|
|
827
827
|
"lowLatencyMode": true,
|
|
828
828
|
"liveSyncDuration": 4,
|
|
829
829
|
"liveMaxLatencyDuration": 5,
|
|
830
830
|
"liveDurationInfinity": false,
|
|
831
831
|
"maxBufferLength": 8,
|
|
832
|
-
"backBufferLength": 4
|
|
833
|
-
|
|
832
|
+
"backBufferLength": 4,
|
|
833
|
+
"highBufferWatchdogPeriod": 1
|
|
834
|
+
};
|
|
834
835
|
} else if (["ll", "lowLatency", "ull", "ultraLowLatency"].includes(profile)) {
|
|
835
836
|
return _objectSpread({
|
|
836
837
|
"lowLatencyMode": true,
|