@livepeer/core
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -65,3 +65,3 @@ import { MediaControllerStore } from '../controller'; | ||
timeUnpaused: Timer; | ||
constructor(store: MediaControllerStore<TElement>); | ||
constructor(store: MediaControllerStore<TElement>, sourceUrl: string); | ||
addError(error: string): void; | ||
@@ -68,0 +68,0 @@ getFirstPlayback(): number; |
@@ -1,3 +0,3 @@ | ||
export declare const core = "@livepeer/core@1.3.0"; | ||
export declare const react = "@livepeer/react@2.3.0"; | ||
export declare const reactNative = "@livepeer/react-native@1.3.0"; | ||
export declare const core = "@livepeer/core@1.3.1"; | ||
export declare const react = "@livepeer/react@2.3.1"; | ||
export declare const reactNative = "@livepeer/react-native@1.3.1"; |
@@ -158,3 +158,3 @@ 'use strict'; | ||
timeUnpaused = new Timer(); | ||
constructor(store) { | ||
constructor(store, sourceUrl) { | ||
const currentState = store.getState(); | ||
@@ -182,3 +182,3 @@ if (currentState.autoplay) { | ||
sourceType: currentState?.src?.mime ?? 'unknown', | ||
sourceUrl: '', | ||
sourceUrl, | ||
timeStalled: 0, | ||
@@ -301,3 +301,3 @@ timeUnpaused: 0, | ||
}); | ||
const metricsStatus = new MetricsStatus(store); | ||
const metricsStatus = new MetricsStatus(store, sourceUrl); | ||
try { | ||
@@ -304,0 +304,0 @@ const createNewWebSocket = async (numRetries = 0) => { |
@@ -158,3 +158,3 @@ 'use strict'; | ||
timeUnpaused = new Timer(); | ||
constructor(store) { | ||
constructor(store, sourceUrl) { | ||
const currentState = store.getState(); | ||
@@ -182,3 +182,3 @@ if (currentState.autoplay) { | ||
sourceType: currentState?.src?.mime ?? 'unknown', | ||
sourceUrl: '', | ||
sourceUrl, | ||
timeStalled: 0, | ||
@@ -301,3 +301,3 @@ timeUnpaused: 0, | ||
}); | ||
const metricsStatus = new MetricsStatus(store); | ||
const metricsStatus = new MetricsStatus(store, sourceUrl); | ||
try { | ||
@@ -304,0 +304,0 @@ const createNewWebSocket = async (numRetries = 0) => { |
@@ -151,3 +151,3 @@ import { g as getMediaSourceType } from '../../dist/src-6007c27b.esm.js'; | ||
timeUnpaused = new Timer(); | ||
constructor(store) { | ||
constructor(store, sourceUrl) { | ||
const currentState = store.getState(); | ||
@@ -175,3 +175,3 @@ if (currentState.autoplay) { | ||
sourceType: currentState?.src?.mime ?? 'unknown', | ||
sourceUrl: '', | ||
sourceUrl, | ||
timeStalled: 0, | ||
@@ -294,3 +294,3 @@ timeUnpaused: 0, | ||
}); | ||
const metricsStatus = new MetricsStatus(store); | ||
const metricsStatus = new MetricsStatus(store, sourceUrl); | ||
try { | ||
@@ -297,0 +297,0 @@ const createNewWebSocket = async (numRetries = 0) => { |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
@@ -33,5 +33,5 @@ 'use strict'; | ||
const core = `@livepeer/core@1.3.0`; | ||
const react = `@livepeer/react@2.3.0`; | ||
const reactNative = `@livepeer/react-native@1.3.0`; | ||
const core = `@livepeer/core@1.3.1`; | ||
const react = `@livepeer/react@2.3.1`; | ||
const reactNative = `@livepeer/react-native@1.3.1`; | ||
@@ -38,0 +38,0 @@ class BaseLivepeerProvider { |
@@ -33,5 +33,5 @@ 'use strict'; | ||
const core = `@livepeer/core@1.3.0`; | ||
const react = `@livepeer/react@2.3.0`; | ||
const reactNative = `@livepeer/react-native@1.3.0`; | ||
const core = `@livepeer/core@1.3.1`; | ||
const react = `@livepeer/react@2.3.1`; | ||
const reactNative = `@livepeer/react-native@1.3.1`; | ||
@@ -38,0 +38,0 @@ class BaseLivepeerProvider { |
@@ -6,5 +6,5 @@ import * as tus from 'tus-js-client'; | ||
const core = `@livepeer/core@1.3.0`; | ||
const react = `@livepeer/react@2.3.0`; | ||
const reactNative = `@livepeer/react-native@1.3.0`; | ||
const core = `@livepeer/core@1.3.1`; | ||
const react = `@livepeer/react@2.3.1`; | ||
const reactNative = `@livepeer/react-native@1.3.1`; | ||
@@ -11,0 +11,0 @@ class BaseLivepeerProvider { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
837736