-
Notifications
You must be signed in to change notification settings - Fork 211
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
chore: update this project to use the generator #352
Conversation
scripts/rollup.config.js
Outdated
const mainBuilds = generate(Object.assign({input: 'lib/index.js', distName: 'mux'}, shared)).builds; | ||
const mp4Builds = generate({input: 'lib/mp4/index.js', distName: 'mux-mp4'}).builds; | ||
const flvBuilds = generate({input: 'lib/flv/index.js', distName: 'mux-flv'}).builds; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's being used for the UMD name here? Looks like previously it was set to muxjs
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated to muxjs
cd68273
to
613081e
Compare
@@ -81,9 +81,11 @@ var makeMdatFromCaptionPackets = function(packets) { | |||
mdat.push(sei.escapedRBSP.length + 1); // nal length | |||
mdat.push(0x06); // declare nal type as SEI | |||
// SEI message | |||
sei.escapedRBSP.forEach(function(byte) { | |||
for (var i = 0; i < sei.escapedRBSP.length; i++) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small change as ie 11 does not support forEach
on a Uint8Array
@@ -2635,7 +2637,7 @@ QUnit.test('Cea608Stream will log errors, not throw an exception', function(asse | |||
'warnings were logged to the console' | |||
); | |||
|
|||
window.console.error = originalConsole; | |||
console.error = originalConsole; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nodejs support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with this linked into VHS, and it's working as expected.
Based on #351 as that is a required, but easily separate piece to standardizing this project.has been mergedChanges
test/metadata-stream.test.js
as it will take some work to get it working with rollup. See TODO below.TODO (in another pull request):
Add a plugin to unit test theDone via rollup-plugin-worker-factoryWebWorker
code intest/metadata-stream.test.js
that I commented out as it relies on browserify.lint
script by removing the:
from the front.pre-commit
hook to runlint-staged
again by removing the:
in-front of it.