Skip to content

Commit

Permalink
Comment out debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
robwalch committed Oct 19, 2022
1 parent 4859ed1 commit 496e51d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/controller/base-playlist-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,19 +241,19 @@ export default class BasePlaylistController implements NetworkComponentAPI {
estimatedTimeUntilUpdate
)} ms`
);
this.log(
`live reload ${details.updated ? 'REFRESHED' : 'MISSED'}
reload in ${estimatedTimeUntilUpdate / 1000}
round trip ${(stats.loading.end - stats.loading.start) / 1000}
diff ${
(reloadInterval -
(estimatedTimeUntilUpdate + stats.loading.end - stats.loading.start)) /
1000
}
reload interval ${reloadInterval / 1000}
target duration ${details.targetduration}
distance to edge ${distanceToLiveEdgeMs / 1000}`
);
// this.log(
// `live reload ${details.updated ? 'REFRESHED' : 'MISSED'}
// reload in ${estimatedTimeUntilUpdate / 1000}
// round trip ${(stats.loading.end - stats.loading.start) / 1000}
// diff ${
// (reloadInterval -
// (estimatedTimeUntilUpdate + stats.loading.end - stats.loading.start)) /
// 1000
// }
// reload interval ${reloadInterval / 1000}
// target duration ${details.targetduration}
// distance to edge ${distanceToLiveEdgeMs / 1000}`
// );

this.timer = self.setTimeout(
() => this.loadPlaylist(deliveryDirectives),
Expand Down

0 comments on commit 496e51d

Please sign in to comment.