Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: drop support for the partial muxer #1119

Merged
merged 7 commits into from
Apr 26, 2021
Merged

Conversation

brandonocasey
Copy link
Contributor

We plan to merge the partial muxer code into the non-partial muxer in mux.js, so we are removing the partial muxer option.

@codecov
Copy link

codecov bot commented Apr 9, 2021

Codecov Report

Merging #1119 (3a641dd) into main (b8a5aa5) will decrease coverage by 0.32%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1119      +/-   ##
==========================================
- Coverage   86.48%   86.16%   -0.33%     
==========================================
  Files          39       39              
  Lines        9637     9252     -385     
  Branches     2182     2114      -68     
==========================================
- Hits         8335     7972     -363     
+ Misses       1302     1280      -22     
Impacted Files Coverage Δ
src/master-playlist-controller.js 94.31% <ø> (ø)
src/videojs-http-streaming.js 90.54% <ø> (-0.03%) ⬇️
src/vtt-segment-loader.js 80.89% <ø> (-0.11%) ⬇️
src/media-segment-request.js 94.73% <100.00%> (-1.47%) ⬇️
src/segment-loader.js 95.80% <100.00%> (-0.02%) ⬇️
src/segment-transmuxer.js 95.09% <100.00%> (-1.97%) ⬇️
src/transmuxer-worker.js 74.30% <100.00%> (-1.74%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b8a5aa5...3a641dd. Read the comment docs.

src/media-segment-request.js Outdated Show resolved Hide resolved
// if this is a partial transmux, the end of the timeline has not yet been reached
// until the last part of the segment is processed (at which point isPartial will
// be false)
isEndOfTimeline: isEndOfTimeline && !isPartial,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we still need isEndOfTimeline for #1058

Copy link
Contributor Author

@brandonocasey brandonocasey Apr 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, this was removed in error.

} else {
wireFullTransmuxerEvents(this.self, this.transmuxer);
}
this.transmuxer = new FullMux(this.options);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth just calling it Transmuxer now.


wireFullTransmuxerEvents(this.self, this.transmuxer);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for rename.

brandonocasey and others added 2 commits April 20, 2021 16:20
Co-authored-by: Garrett Singer <gesinger@gmail.com>
gesinger
gesinger previously approved these changes Apr 21, 2021
@brandonocasey brandonocasey merged commit ab305f8 into main Apr 26, 2021
@brandonocasey brandonocasey deleted the drop-partial branch April 26, 2021 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants