Skip to content

Commit

Permalink
Use SourceBufferName for elements
Browse files Browse the repository at this point in the history
  • Loading branch information
kanongil committed Mar 18, 2021
1 parent 103bc4e commit 1955862
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions api-extractor/report/hls.js.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,7 @@ export interface BufferAppendedData {
// (undocumented)
part: Part | null;
// (undocumented)
timeRanges: {
audio?: TimeRanges;
video?: TimeRanges;
audiovideo?: TimeRanges;
};
timeRanges: Partial<Record<SourceBufferName, TimeRanges>>;
// (undocumented)
type: SourceBufferName;
}
Expand Down
6 changes: 1 addition & 5 deletions src/types/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,7 @@ export interface BufferAppendedData {
part: Part | null;
chunkMeta: ChunkMetadata;
parent: PlaylistLevelType;
timeRanges: {
audio?: TimeRanges;
video?: TimeRanges;
audiovideo?: TimeRanges;
};
timeRanges: Partial<Record<SourceBufferName, TimeRanges>>;
}

export interface BufferEOSData {
Expand Down

0 comments on commit 1955862

Please sign in to comment.