Skip to content

Commit

Permalink
Merge pull request #9 from MathieuPOUX/dev
Browse files Browse the repository at this point in the history
Minor changes (comments and obsolete variables)
  • Loading branch information
jobl committed Mar 4, 2024
2 parents cff024b + 44819bd commit 2f23a1e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions src/abr/ABRAbstract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ export abstract class ABRAbstract extends EventEmitter implements ABRParams, ILo
private _maximum: number;
private _minimum: number;
private _stream?: MediaStream;
private _enabled: boolean;
/**
* Build the ABR implementation, call {@link compute} to use it
* @param params ABR parameters
Expand All @@ -157,7 +156,6 @@ export abstract class ABRAbstract extends EventEmitter implements ABRParams, ILo
this._minimum = init.minimum;
this._maximum = init.maximum;
this._stream = stream;
this._enabled = true;
}

/**
Expand Down
2 changes: 0 additions & 2 deletions src/mbr/MBRAbstract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export abstract class MBRAbstract implements MBRParams, ILog {
private _maximumUpDelay: number;
private _testTime: number;
private _appreciationTime?: number;
private _enabled: boolean;

/**
* Build the MBR implementation, call {@link compute} to use it
Expand All @@ -89,7 +88,6 @@ export abstract class MBRAbstract implements MBRParams, ILog {
this._maximumUpDelay = init.maximumUpDelay;
this._upDelay = 0;
this._testTime = 0;
this._enabled = true;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/metadata/StreamMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const sortByMAXBPS = (track1: MTrack, track2: MTrack) => track2.maxbps - track1.
* - the list of tracks and their properties,
* - the list of availables sources and their properties,
* @example
* const streamMetadata = new StreamMetadata(Util.metadataURL(host, streamName));
* const streamMetadata = new StreamMetadata(Connect.buildURL(host, streamName));
* streamMetadata.onMetadata = metadata => {
* console.log(metadata);
* }
Expand Down

0 comments on commit 2f23a1e

Please sign in to comment.