Skip to content

Commit

Permalink
fix: noop for init
Browse files Browse the repository at this point in the history
  • Loading branch information
adrums86 committed Oct 16, 2024
1 parent c903054 commit c453326
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/media-segment-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,8 @@ const initMp4Text = (segment, codec) => {
action: 'initMp4WebVttParser',
data: segment.map.bytes,
transmuxer: segment.transmuxer,
callback: ({data}) => {
segment.map.bytes = data;
}
// noop no need to return any data
callback: () => {}

Check warning on line 182 in src/media-segment-request.js

View check run for this annotation

Codecov / codecov/patch

src/media-segment-request.js#L182

Added line #L182 was not covered by tests
});
}
};
Expand Down

0 comments on commit c453326

Please sign in to comment.