Skip to content

Commit

Permalink
fix: make track class abstract and ensure correct track import path (w…
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwils authored and GitHub Enterprise committed Aug 23, 2021
1 parent 2ac6501 commit 3fdf38c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/local-track.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Track } from 'track';
import { Track } from './track';

/**
* A wrapper around MediaStreamTrack.
Expand Down
2 changes: 1 addition & 1 deletion src/track.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { EventEmitter } from 'events';
/**
* Base Track class.
*/
export class Track extends EventEmitter {
export abstract class Track extends EventEmitter {
/**
* The underlying MediaStreamTrack object.
*/
Expand Down

0 comments on commit 3fdf38c

Please sign in to comment.