Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
peaBerberian committed Mar 18, 2024
1 parent dd02cda commit cb5b2f8
Showing 1 changed file with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default class AudioVideoSegmentSink extends SegmentSink {
public readonly bufferType: "audio" | "video";

/** SourceBuffer implementation. */
private _sourceBuffer: ISourceBufferInterface;
private readonly _sourceBuffer: ISourceBufferInterface;

/**
* Queue of awaited buffer "operations".
Expand Down Expand Up @@ -78,8 +78,6 @@ export default class AudioVideoSegmentSink extends SegmentSink {
*/
private _initSegmentsMap: Map<string, BufferSource>;

private _isTransferringData: boolean;

/**
* @constructor
* @param {string} bufferType
Expand All @@ -101,14 +99,6 @@ export default class AudioVideoSegmentSink extends SegmentSink {
this.codec = codec;
this._initSegmentsMap = new Map();
this._pendingOperations = [];
this._isTransferringData = false;
}

public synchronizeInventory(ranges: IRange[]): void {
if (!this._isTransferringData) {
// The default implementation just use the SegmentInventory
this._segmentInventory.synchronizeBuffered(ranges);
}
}

/** @see SegmentSink */
Expand Down

0 comments on commit cb5b2f8

Please sign in to comment.