- 27 May, 2015 4 commits
-
-
-
Update tests to ensure metadata is only added when an SPS has been encountered.
David LaPalomento committed -
-
- 22 May, 2015 6 commits
-
-
Closes #272. Squashed commit of the following: commit de597c3ee10075cece7036aeaacedb74f33d9ef5 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 fb189ba16330311371bb6b9cf1bb6248005e10b7 Author: Gary Katsevman <git@gkatsev.com> Date: Wed May 20 18:30:07 2015 -0400 Default 'nextFrameKeyFrame' to false. commit 3788ad0607fabb2cde1a1d5eea4163ceafb5fab5 Author: Gary Katsevman <git@gkatsev.com> Date: Wed May 20 18:24:16 2015 -0400 setNextFrameKeyFrame commit 6944234afd99285a448a9cf3adbcaf1eb26cfe33 Author: Gary Katsevman <git@gkatsev.com> Date: Wed May 20 18:06:26 2015 -0400 Another camelcase usage commit da6e32a4d9024d859ca58bc1d4bc3fcbe1de7a33 Author: Gary Katsevman <git@gkatsev.com> Date: Wed May 20 18:05:30 2015 -0400 Dont parse unused fields. Use camel case names commit fb7990b6606501a549d7448de6eec38784695896 Author: Gary Katsevman <git@gkatsev.com> Date: Wed May 20 16:28:28 2015 -0400 ifs should have curly braces commit 92e40c642270e4ce4652a874073a66876312072f 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 047a6d7771cd2d9c324b6da9bd76d4b6aeeadaf0 Author: Gary Katsevman <git@gkatsev.com> Date: Mon May 18 16:56:23 2015 -0400 Set up the test with exact conditions commit e2f8b18656d4cdb830cd23013fe7e5fcfa599ca4 Author: Gary Katsevman <git@gkatsev.com> Date: Mon May 18 16:56:01 2015 -0400 Restore stubbed out methods commit ff5f3b5fdb9dbe5e34447f8a4680c294163e0c46 Author: Gary Katsevman <git@gkatsev.com> Date: Mon May 18 16:50:22 2015 -0400 prototypeify h264-stream commit 7ee359d582550474a33730547742ce3d656dad52 Author: Gary Katsevman <git@gkatsev.com> Date: Mon May 18 16:28:08 2015 -0400 Initial test for metadata commit 0e3a961c7594d67280958cf21330fb347e1dda0a Author: Gary Katsevman <git@gkatsev.com> Date: Mon May 18 16:21:55 2015 -0400 Fix test properly commit 7e0de308227a4373c6abd71769ed474e59c7edeb Author: Gary Katsevman <git@gkatsev.com> Date: Mon May 18 16:14:57 2015 -0400 Move h264-extradata into separate file commit 66a676c234e6e087694611d710cad6414cbc984c Author: Gary Katsevman <git@gkatsev.com> Date: Mon May 18 15:52:08 2015 -0400 prototypeify H264ExtraData
David LaPalomento committed -
If mediaIndex was one position beyond the last segment because the player was waiting for a playlist update, it would be reset back to the "live" point. This test checks that the utility translation function does not change mediaIndex in that case.
David LaPalomento committed -
Make sure mediaupdatetimeout events don't get repeatedly triggered after frequent quality switches.
David LaPalomento committed -
-
-
- 21 May, 2015 2 commits
-
-
- 19 May, 2015 8 commits
-
-
-
The minified 4.x build mangles "preload" passed in as options, which prevents it being overridden in data-setup or through the video element attribute. Switch to the dev version so that preload settings can be adjusted.
David LaPalomento committed -
Before the Flash runtime is available, player.preload() returns undefined. Switch to player.options().preload to find out what the "desired" setting is, instead of the current value.
David LaPalomento committed -
-
-
- 18 May, 2015 4 commits
-
-
Always write out metadata at the start of segments and refactor of h264stream
David LaPalomento committed -
This should be updated with stubbed methods when it gets re-written so that we can actually stub methods.
Gary Katsevman committed -
In some cases (most likely badly encoded video), segments didn't start with a keyframe so they ended up getting squished because flash didn't know how to play them.
Gary Katsevman committed
-
- 15 May, 2015 2 commits
- 14 May, 2015 1 commit
-
-
Don't use previous segment timestamps to calculate the precise duration of a segment so that we don't have to worry about timestamp discontinuities. Update to contrib-media-sources 1.0.
David LaPalomento committed
-
- 13 May, 2015 1 commit
-
-
If segments are delivered very quickly, it's possible that a segment after a discontinuity will be ready before the previous segment is finished getting processed by the media source. Our current mechanism for signalling discontinuities is synchronous so this could lead to us injecting a discontinuity into the middle of the first segment instead of at the end. Instead, adopt a workflow more closely aligned to how real SourceBuffers work and don't append additional bytes until the previous append has been fully processed.
David LaPalomento committed
-
- 08 May, 2015 3 commits
-
-
- 07 May, 2015 7 commits
-
-
phantom and some other browsers check whether a TypedArray has equivalent data outside of the "view" area and fail deep equality tests when there is a difference.
David LaPalomento committed -
Metadata packets that were not the start of a new payload unit were being silently dropped. Move the handler so that they are correctly routed to the metadata stream. Also, keep track of the number of bytes shifted off of the buffer when processing ID3 frames so that more than a single frame can be processed.
David LaPalomento committed -
If the entire ID3 frame isn't available in a single metadatastream push, store everything up and check with the combined data next time. Ignore tags that do not include at least the tag header in the first TS packet.
David LaPalomento committed -
Pass along the parsed ID3 frame object that corresponds to the genererated VTTCue.
David LaPalomento committed -
- 06 May, 2015 2 commits
-
-
This code uses the presentation timestamp of the ts segment to calculate its exact duration, since this may differ by fractions of a second from what is reported. Using the exact, calculated 'preciseDuration' allows for smoother seeking and calculation of the total playlist duration, which previously (especially in short videos) was reported erroneously and made the play head overrun the end of the progress bar.
Brandon Bay committed