File tree Expand file tree Collapse file tree 3 files changed +0
-5
lines changed
p2p-media-loader-core/src
p2p-media-loader-shaka/src Expand file tree Collapse file tree 3 files changed +0
-5
lines changed Original file line number Diff line number Diff line change 1
1
import { Segment , SegmentResponse } from "./types" ;
2
2
import { BandwidthApproximator } from "./bandwidth-approximator" ;
3
3
import * as Utils from "./utils/utils" ;
4
- import * as LoggerUtils from "./utils/logger" ;
5
4
6
5
export type EngineCallbacks = {
7
6
onSuccess : ( response : SegmentResponse ) => void ;
@@ -209,7 +208,6 @@ export class Request {
209
208
this . throwErrorIfNotLoadingStatus ( ) ;
210
209
if ( ! this . currentAttempt ) return ;
211
210
212
- console . log ( "segment loaded" , LoggerUtils . getSegmentString ( this . segment ) ) ;
213
211
this . notReceivingBytesTimeout . clear ( ) ;
214
212
this . finalData = Utils . joinChunks ( this . bytes ) ;
215
213
this . _status = "succeed" ;
Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ export class Engine {
113
113
const { p2pml } = request ;
114
114
if ( ! p2pml ) return this . shaka . net . HttpFetchPlugin . parse ( ...args ) ;
115
115
116
- console . log ( "HANDLE LOADING" , p2pml ) ;
117
116
const loadingHandler = new Loader (
118
117
p2pml . shaka ,
119
118
p2pml . core ,
Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ export class Loader {
71
71
72
72
const loadSegment = async ( ) : Promise < Response > => {
73
73
const { request, callbacks } = getSegmentRequest ( ) ;
74
- console . log ( "segment url" , segmentUrl ) ;
75
74
void this . core . loadSegment ( segmentId , callbacks ) ;
76
75
try {
77
76
const { data, bandwidth } = await request ;
@@ -86,7 +85,6 @@ export class Loader {
86
85
) ,
87
86
} ;
88
87
} catch ( error ) {
89
- console . log ( error ) ;
90
88
// TODO: throw Shaka Errors
91
89
if ( error instanceof CoreRequestError ) {
92
90
const { Error : ShakaError } = this . shaka . util ;
You can’t perform that action at this time.
0 commit comments