Skip to content

Commit 2275bd0

Browse files
committed
Fix lint warnings.
1 parent bb4f57a commit 2275bd0

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

packages/p2p-media-loader-core/src/request.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { Segment, SegmentResponse } from "./types";
22
import { BandwidthApproximator } from "./bandwidth-approximator";
33
import * as Utils from "./utils/utils";
4-
import * as LoggerUtils from "./utils/logger";
54

65
export type EngineCallbacks = {
76
onSuccess: (response: SegmentResponse) => void;
@@ -209,7 +208,6 @@ export class Request {
209208
this.throwErrorIfNotLoadingStatus();
210209
if (!this.currentAttempt) return;
211210

212-
console.log("segment loaded", LoggerUtils.getSegmentString(this.segment));
213211
this.notReceivingBytesTimeout.clear();
214212
this.finalData = Utils.joinChunks(this.bytes);
215213
this._status = "succeed";

packages/p2p-media-loader-shaka/src/engine.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ export class Engine {
113113
const { p2pml } = request;
114114
if (!p2pml) return this.shaka.net.HttpFetchPlugin.parse(...args);
115115

116-
console.log("HANDLE LOADING", p2pml);
117116
const loadingHandler = new Loader(
118117
p2pml.shaka,
119118
p2pml.core,

packages/p2p-media-loader-shaka/src/loading-handler.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export class Loader {
7171

7272
const loadSegment = async (): Promise<Response> => {
7373
const { request, callbacks } = getSegmentRequest();
74-
console.log("segment url", segmentUrl);
7574
void this.core.loadSegment(segmentId, callbacks);
7675
try {
7776
const { data, bandwidth } = await request;
@@ -86,7 +85,6 @@ export class Loader {
8685
),
8786
};
8887
} catch (error) {
89-
console.log(error);
9088
// TODO: throw Shaka Errors
9189
if (error instanceof CoreRequestError) {
9290
const { Error: ShakaError } = this.shaka.util;

0 commit comments

Comments
 (0)