New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@livepeer/core-web

Package Overview
Dependencies
Maintainers
6
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@livepeer/core-web - npm Package Compare versions

Comparing version 4.1.8 to 4.2.0-next.0

1

dist/broadcast/index.js

@@ -144,2 +144,3 @@ // src/broadcast.ts

});
await response.text();
clearTimeout(id);

@@ -146,0 +147,0 @@ const parsedUrl = new URL(response.url);

15

dist/browser/index.d.ts

@@ -1,2 +0,3 @@

import { MediaControllerStore, DeviceInformation, MediaMetrics, InitialProps, Src } from '@livepeer/core/media';
import * as _livepeer_core_media from '@livepeer/core/media';
import { MediaControllerStore, DeviceInformation, InitialProps, Src } from '@livepeer/core/media';
import { HlsConfig as HlsConfig$1 } from 'hls.js';

@@ -36,6 +37,14 @@

*
* @returns {MediaMetrics} An object containing a `destroy` function to clean up resources.
* @returns An object containing a `destroy` function to clean up resources.
* The `destroy` function must be used to remove event listeners and perform other cleanup actions on unmount.
*/
declare function addMediaMetrics(element: HTMLMediaElement | undefined | null, opts?: Partial<MediaMetricsOptions>): MediaMetrics;
declare function addMediaMetrics(element: HTMLMediaElement | undefined | null, opts?: Partial<MediaMetricsOptions>): {
/** @deprecated */
legacyMetrics: _livepeer_core_media.LegacyMetricsStatus | null;
destroy: () => void;
} | {
destroy: () => void;
/** @deprecated */
legacyMetrics?: undefined;
};

@@ -42,0 +51,0 @@ /**

@@ -283,2 +283,3 @@ // src/media/controls/controller.ts

});
await response.text();
clearTimeout(id);

@@ -1367,3 +1368,4 @@ const parsedUrl = new URL(response.url);

import {
addMediaMetricsToStore,
addLegacyMediaMetricsToStore,
addMetricsToStore,
createControllerStore

@@ -1392,3 +1394,4 @@ } from "@livepeer/core/media";

const { destroy: destroyListeners } = addEventListeners(element, store);
const { metrics, destroy: destroyMetrics } = addMediaMetricsToStore(store);
const { destroy: destroyMetrics } = addMetricsToStore(store);
const { destroy: destroyLegacyMetrics, metrics: legacyMetrics } = addLegacyMediaMetricsToStore(store);
store.getState().__controlsFunctions.onFinalUrl(

@@ -1398,3 +1401,4 @@ source ?? "https://vod-cdn.lp-playback.studio"

return {
metrics,
/** @deprecated */
legacyMetrics,
destroy: () => {

@@ -1404,2 +1408,3 @@ destroy?.();

destroyMetrics?.();
destroyLegacyMetrics?.();
}

@@ -1409,3 +1414,2 @@ };

return {
metrics: null,
destroy: () => {

@@ -1412,0 +1416,0 @@ }

export { Address, Hash } from '@livepeer/core';
export { ACCESS_CONTROL_ERROR_MESSAGE, BFRAMES_ERROR_MESSAGE, NOT_ACCEPTABLE_ERROR_MESSAGE, PERMISSIONS_ERROR_MESSAGE, STREAM_OFFLINE_ERROR_MESSAGE, STREAM_OPEN_ERROR_MESSAGE, isAccessControlError, isBframesError, isNotAcceptableError, isPermissionsError, isStreamOfflineError } from '@livepeer/core/errors';
export { AccessControlParams, AriaText, AudioSrc, AudioTrackSelector, Base64Src, ClipLength, ClipParams, ControlsState, DeviceInformation, ElementSize, HlsSrc, InitialProps, MediaControllerState, MediaControllerStore, MediaMetrics, MediaSizing, Metadata, MetricsStatus, ObjectFit, PlaybackError, PlaybackMonitor, PlaybackRate, SingleAudioTrackSelector, SingleTrackSelector, SingleVideoTrackSelector, Src, VideoQuality, VideoSrc, VideoTrackSelector, WebRTCSrc, createControllerStore, getMediaSourceType } from '@livepeer/core/media';
export { AccessControlParams, AriaText, AudioSrc, AudioTrackSelector, Base64Src, ClipLength, ClipParams, ControlsState, DeviceInformation, ElementSize, HlsSrc, InitialProps, LegacyMediaMetrics, LegacyMetricsStatus, LegacyPlaybackMonitor, MediaControllerState, MediaControllerStore, MediaSizing, Metadata, ObjectFit, PlaybackError, PlaybackEvent, PlaybackRate, SessionData, SingleAudioTrackSelector, SingleTrackSelector, SingleVideoTrackSelector, Src, VideoQuality, VideoSrc, VideoTrackSelector, WebRTCSrc, createControllerStore, getMediaSourceType } from '@livepeer/core/media';
export { ClientStorage, createStorage, noopStorage } from '@livepeer/core/storage';
export { b64Decode, b64Encode, b64UrlDecode, b64UrlEncode, deepMerge, omit, pick } from '@livepeer/core/utils';
export { version } from '@livepeer/core/version';

@@ -1,1 +0,1 @@

export { AccessControlParams, AriaText, AudioSrc, AudioTrackSelector, Base64Src, ClipLength, ClipParams, ControlsState, DeviceInformation, ElementSize, HlsSrc, InitialProps, MediaControllerState, MediaControllerStore, MediaMetrics, MediaSizing, Metadata, MetricsStatus, ObjectFit, PlaybackError, PlaybackMonitor, PlaybackRate, SingleAudioTrackSelector, SingleTrackSelector, SingleVideoTrackSelector, Src, VideoQuality, VideoSrc, VideoTrackSelector, WebRTCSrc, createControllerStore, getMediaSourceType } from '@livepeer/core/media';
export { AccessControlParams, AriaText, AudioSrc, AudioTrackSelector, Base64Src, ClipLength, ClipParams, ControlsState, DeviceInformation, ElementSize, HlsSrc, InitialProps, LegacyMediaMetrics, LegacyMetricsStatus, LegacyPlaybackMonitor, MediaControllerState, MediaControllerStore, MediaSizing, Metadata, ObjectFit, PlaybackError, PlaybackEvent, PlaybackRate, SessionData, SingleAudioTrackSelector, SingleTrackSelector, SingleVideoTrackSelector, Src, VideoQuality, VideoSrc, VideoTrackSelector, WebRTCSrc, createControllerStore, getMediaSourceType } from '@livepeer/core/media';

@@ -122,2 +122,3 @@ // src/webrtc/shared.ts

});
await response.text();
clearTimeout(id);

@@ -124,0 +125,0 @@ const parsedUrl = new URL(response.url);

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "4.1.8",
"version": "4.2.0-next.0",
"type": "module",

@@ -86,3 +86,3 @@ "repository": {

"zustand": "^4.5.0",
"@livepeer/core": "3.1.8"
"@livepeer/core": "3.2.0-next.0"
},

@@ -89,0 +89,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc