Skip to content

Commit

Permalink
Fix demo timeline event buffer reset event handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Walch committed Jul 25, 2020
1 parent 55d4e80 commit ff3b84b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/main.js
Expand Up @@ -1311,7 +1311,7 @@ function addChartEventListeners (hls) {
hls.on(Hls.Events.BUFFER_CREATED, (eventName, { tracks }) => {
chart.updateSourceBuffers(tracks, hls.media);
}, chart);
hls.on(Hls.Events.BUFFER_RESET, (eventName, { tracks }) => {
hls.on(Hls.Events.BUFFER_RESET, (eventName) => {
chart.removeSourceBuffers();
}, chart);
hls.on(Hls.Events.LEVELS_UPDATED, (eventName, { levels }) => {
Expand Down

0 comments on commit ff3b84b

Please sign in to comment.