Skip to content

Commit

Permalink
chore: fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzianis Dashkevich committed Sep 24, 2024
1 parent fe583cd commit 5133910
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/playback/src/lib/pipelines/mse/mseManager.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type Logger from '../../utils/logger';
import type { ILogger } from '../../types/logger.declarations';

enum OperationType {
append,
Expand All @@ -11,14 +11,14 @@ interface SourceBufferWrapper {
}

export default class MseManager {
private readonly logger_: Logger;
private readonly logger_: ILogger;
//TODO: ManagedMediaSource
private readonly mediaSource_: MediaSource = new MediaSource();
private readonly sourceBuffers_ = new Map<string, SourceBufferWrapper>();
private readonly sourceOpen_: Promise<void> = this.initMediaSource_();
private readonly srcURL_: string = URL.createObjectURL(this.mediaSource_);

public constructor(logger: Logger) {
public constructor(logger: ILogger) {

Check warning on line 21 in packages/playback/src/lib/pipelines/mse/mseManager.ts

View check run for this annotation

Codecov / codecov/patch

packages/playback/src/lib/pipelines/mse/mseManager.ts#L21

Added line #L21 was not covered by tests
this.logger_ = logger.createSubLogger('MseManager');
}

Expand Down

0 comments on commit 5133910

Please sign in to comment.