Run a test pass with video.js 6 and video.js 5.
Also, use in-publish to not run build when running `npm install`.
Consolidate karma configs into one config but keep npm scripts for them.
Add `this.clock.tick(1)` after player creation to support video.js 6.
added notifications back to travis
fixed sinon version in package.json
got unit tests working by modifying the karma config
Added back manifest/expected.js to the build pipeline
Added a script to build/watch/clean them
Added script execution to package.json
got switcher partially working again
Build helper classes to construct boxes for mp4s. Use the mp4 inspector to validate the generated boxes are sensical. Remove the stubbed Transmuxer because it's not implemented yet and it may not make sense once things come together a bit more. Left some MediaSource test code in mp4.html for debugging purposes. The tests all pass but we're still not quite generating a valid init segment.
As preparation for building a tool to transform mp2t files into mp4s, create a javascript tool that parses an mp4 file. Remove the local qunit so that karma and direct qunit testing happens with the same version of the library. Force the tech to run during tests so that Safari doesn't use native HLS.
Bump up to a vjs 5 release candidate. Make the necessary changes to work with the updated APIs. Convert the project from a subclass of the Flash tech to a source handler.
If the segment parser timestamp offset isn't at the start of the last encountered discontinuity, it was impossible to recover the associated media time. Track the media time alongside the timestamp offset so that when a stream is first loaded and the last discontinuity segment start is unavailable, it's still possible to properly translate timestamps. Also, make sure that cue points ahead of current time are cleaned out of the in-band metadata track on seeking. We previously assumed they were ordered by start time but that doesn't seem to be the case for Chrome on OS X. Use the dev version of video.js because of Google Closure compiler gobbling some part of the requiremed machinery for removing cues.
Closes#272.
Squashed commit of the following:
commit de597c3ee1
Author: David LaPalomento <dlapalomento@gmail.com>
Date: Fri May 22 14:02:27 2015 -0400
Remove vim swap file
Ignore them in version control in the future.
commit fb189ba163
Author: Gary Katsevman <git@gkatsev.com>
Date: Wed May 20 18:30:07 2015 -0400
Default 'nextFrameKeyFrame' to false.
commit 3788ad0607
Author: Gary Katsevman <git@gkatsev.com>
Date: Wed May 20 18:24:16 2015 -0400
setNextFrameKeyFrame
commit 6944234afd
Author: Gary Katsevman <git@gkatsev.com>
Date: Wed May 20 18:06:26 2015 -0400
Another camelcase usage
commit da6e32a4d9
Author: Gary Katsevman <git@gkatsev.com>
Date: Wed May 20 18:05:30 2015 -0400
Dont parse unused fields. Use camel case names
commit fb7990b660
Author: Gary Katsevman <git@gkatsev.com>
Date: Wed May 20 16:28:28 2015 -0400
ifs should have curly braces
commit 92e40c6422
Author: Gary Katsevman <git@gkatsev.com>
Date: Wed May 20 15:58:18 2015 -0400
Adaptation Field vars. Use Random Access Indicator
The Random Access Indicator tells us whether something is a keyframe.
Set the stream's frame's keyFrame property to true if the Random Access
Indicator is set.
commit 047a6d7771
Author: Gary Katsevman <git@gkatsev.com>
Date: Mon May 18 16:56:23 2015 -0400
Set up the test with exact conditions
commit e2f8b18656
Author: Gary Katsevman <git@gkatsev.com>
Date: Mon May 18 16:56:01 2015 -0400
Restore stubbed out methods
commit ff5f3b5fdb
Author: Gary Katsevman <git@gkatsev.com>
Date: Mon May 18 16:50:22 2015 -0400
prototypeify h264-stream
commit 7ee359d582
Author: Gary Katsevman <git@gkatsev.com>
Date: Mon May 18 16:28:08 2015 -0400
Initial test for metadata
commit 0e3a961c75
Author: Gary Katsevman <git@gkatsev.com>
Date: Mon May 18 16:21:55 2015 -0400
Fix test properly
commit 7e0de30822
Author: Gary Katsevman <git@gkatsev.com>
Date: Mon May 18 16:14:57 2015 -0400
Move h264-extradata into separate file
commit 66a676c234
Author: Gary Katsevman <git@gkatsev.com>
Date: Mon May 18 15:52:08 2015 -0400
prototypeify H264ExtraData
Remove async tag queueing from HLS since that is now happening in the media sources plugin itself. Update the location of MSE source files. Bump the dependency in package.json. Two tests are still failing with this commit but will be fixed shortly.