Skip to content

Commit

Permalink
stream: fix ICustomError being imported instead of the new `IPlayer…
Browse files Browse the repository at this point in the history
…Error`
  • Loading branch information
peaBerberian committed Jun 14, 2022
1 parent 0787281 commit 7d60953
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/core/stream/adaptation/create_representation_estimator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@
* limitations under the License.
*/

import { ICustomError, MediaError } from "../../../errors";
import { MediaError } from "../../../errors";
import Manifest, {
Adaptation,
Period,
Representation,
} from "../../../manifest";
import { IPlayerError } from "../../../public_types";
import createSharedReference, {
IReadOnlySharedReference,
} from "../../../utils/reference";
Expand Down Expand Up @@ -59,7 +60,7 @@ export default function getRepresentationEstimate(
playbackObserver : IReadOnlyPlaybackObserver<
IRepresentationEstimatorPlaybackObservation
>,
onFatalError: (err : ICustomError) => void,
onFatalError: (err : IPlayerError) => void,
cancellationSignal : CancellationSignal
) : { estimateRef : IReadOnlySharedReference<IABREstimate>;
abrCallbacks : IRepresentationEstimatorCallbacks; }
Expand Down

0 comments on commit 7d60953

Please sign in to comment.