David LaPalomento
e686ddde77
0.10.4
11 years ago
David LaPalomento
66510e67aa
Merge branch 'stevemayhew-fix-keyurl'
11 years ago
David LaPalomento
731fd8d698
Add tests for relative key URLs
Key URLs should be fetched relative to the master playlist, if one exists, or their containing playlist otherwise.
11 years ago
Steve Mayhew
f569af1319
Rename the method.
Hopefully all agree is a better name choice. Also, maybe this will
trigger Travis CI to a better build.
11 years ago
Steve Mayhew
ea5d246a07
Fix jHint error
Build is now clean, need to add test cases (WIP)
11 years ago
Steve Mayhew
4bbd0d9460
Fix EXT-X-KEY processing of relative URLs
The EXT-X-KEY URI attribute is not processed to spec. It should be
interpreted as absolute or relative to the playlist containing the
EXT-X-KEY tag.
This is in the IETF spec
(https://tools.ietf.org/html/draft-pantos-http-live-streaming-13#section
-3.1).
The fix is simple, use the same URL resolution code the TS segments are
using.
Here is a stream that only works correctly with this fix:
http://flashls-test.s3.amazonaws.com/7_copy.m3u8
11 years ago
David LaPalomento
7436e467ef
Merge pull request #201 from videojs/file-headers
Remove incorrect file headers.
11 years ago
David LaPalomento
8124eef26b
Merge pull request #205 from videojs/onceux-hls-stalling
Fixing discontinuity seek
11 years ago
bc-bbay
920621a3cd
Changing the discontinuity seek to be a new test
As requested by @BCdmlap , changing the discontinuity seek to be a new
test instead of a modification to an existing test.
11 years ago
bc-bbay
18b4fb5675
Merge branch 'onceux-hls-stalling' of https://github.com/videojs/videojs-contrib-hls into onceux-hls-stalling
11 years ago
Brandon Bay
77a68701f2
Fixing discontinuity seek
On seeking to a discontinuity point, the buffer would not refill and
the player would stop working. This commit fixes that issue, and
adjusts the test to catch the previous failure.
11 years ago
David LaPalomento
359176158e
Merge pull request #206 from mmcc/add-keyword
added videojs-plugin to keywords in package.json
11 years ago
Matthew McClure
7f7135db5c
added videojs-plugin to keywords in package.json
11 years ago
Brandon Bay
0ca1ef61d7
Fixing discontinuity seek
On seeking to a discontinuity point, the buffer would not refill and
the player would stop working. This commit fixes that issue, and
adjusts the test to catch the previous failure.
11 years ago
Gary Katsevman
3d769bf700
Remove incorrect file headers.
The old headers were claiming full copyright and no license.
The videojs-hls.js header was modified to include a link to the main
license from the repo.
11 years ago
David LaPalomento
c5a2ded8db
0.10.3
11 years ago
David LaPalomento
a3c1c2e97a
Merge pull request #199 from videojs/configurable-initial-bw
Allow a user-provided initial bandwidth estimate
11 years ago
David LaPalomento
ec7162976d
Allow a user-provided initial bandwidth estimate
If the downstream developer has a better way of estimating bandwidth for the initial playlist, use that value.
11 years ago
David LaPalomento
538acc3578
0.10.2
11 years ago
David LaPalomento
659370426d
Merge pull request #198 from videojs/hotfix/early-bw-estimation
Scale the initial bandwidth estimate
11 years ago
David LaPalomento
c0045796ca
Scale the initial bandwidth estimate
Multiply the bandwidth measurement from the master playlist by five to account for the higher ratio of latency to throughput for this request relative to segments. Using the bandwidth number directly was almost always resulting in very low initial bandwidth estimates and poorer quality startup than necessary. The scaling factor was obtained by testing a number of videos from a high throughput/low latency connection as an upper bound and the same connection throttled to "DSL" levels with Network Link Conditioner for the lower bound. Update the playlist switching simulator to apply initial bandwidth estimates and reduce the simulation duration a bit so that the early behavior is more visible.
11 years ago
Parul Sharma
bc2d1c4d29
HLS live documentation
11 years ago
Brandon Bay
3a3037d02e
Adjusting live start time to 3 target durations
Changing the live start time from 30s to 3 target durations. Using 30s
as a fallback if the playlist does not define a target duration.
11 years ago
dista
c54a203351
Fix issue with live stream calling endOfStream.
only issue endOfStream in vod mode.
fix invalid index error.
add test for live endOfStream.
In some situation(such as slow downloading), (original.mediaSequence + mediaIndex) - update.mediaSequence may be < 0,
It will cause exceptions in place such as: videojs.Hls.prototype.fetchKeys = function(playlist, index)
11 years ago
David LaPalomento
d55b5cfc7f
0.10.1
11 years ago
David LaPalomento
dc135fdf32
Merge pull request #184 from bc-bbay/master
Setting start position on a live stream
11 years ago
Brandon Bay
2fcc16f389
update.duration was sometimes undefined
Removing the update.duration === Infinity check. We shouldn’t be
getting so out of sync for static playlists anyway.
11 years ago
Brandon Bay
912e4f506b
Correcting for failed tests
Some tests failed in the previous build, mostly due to syntactic
errors. Also restored a section of code in translateMediaIndex whose
absence made a test fail.
11 years ago
Brandon Bay
63c605b7ec
Solving the hang on transition issue
Addressing the issue where video playback would hang when transitioning
to a different quality stream with a large discontinuity in media
sequence.
11 years ago
Brandon Bay
c1f9ab0259
Correcting live first segment
Start time was going back one segment too far due to an array indexing
error
11 years ago
Brandon Bay
cbf5bc25f6
Adhering to code style
Some syntactic changes to better align with code style standard
11 years ago
David LaPalomento
9e932b3b0c
Merge pull request #183 from videojs/trigger-bandwidth-events
Add a 'bandwidthupdate' event
11 years ago
Brandon Bay
3691572e1e
Live start time tweaks & tests
Adding a test for live start position and tweaking some of the code
11 years ago
Gary Katsevman
83237357aa
Use setBandwidth in loadedmetadata
11 years ago
Brandon Bay
8f6fac895c
Adding a null check on the playlist
Some unit tests were failing when selectedPlaylist.segments was
undefined.
11 years ago
Gary Katsevman
831c403dc7
Move bandwidthupdate event up in loadedmetadata
11 years ago
Brandon Bay
9ec4a5609c
Using segment length (not average) to snap to live
Counts segments using their individual duration to look back 30s from
live to set video start position
11 years ago
Gary Katsevman
fa661f2f92
Add a 'bandwidthupdate' event
11 years ago
Brandon Bay
873a2dd773
Setting start position on a live stream
Live start position should be 30s before live, not at the beginning of
the stream playlist.
11 years ago
David LaPalomento
61566277c5
0.10.0
11 years ago
David LaPalomento
8c56ff6d93
Update changelog
Note initial bitrate selection changes in 0.10.
11 years ago
David LaPalomento
17f9278f34
Merge pull request #180 from videojs/dont-downshift
Don't downshift in smart shifting.
11 years ago
Gary Katsevman
35f858f4b9
we only care whether a downshift didn't happen
11 years ago
Gary Katsevman
f91ca6162c
Add upshift and downshift tests
11 years ago
Gary Katsevman
91a1a86117
Don't downshift in smart shifting.
11 years ago
David LaPalomento
4b0e7317f6
Merge pull request #178 from videojs/pre-segment-switch
Pre segment switch
11 years ago
Gary Katsevman
014577a9cd
Make ts segments be playlist specific
11 years ago
Gary Katsevman
1624f3abf6
Rename setBandwidthByXHR to setBandwidth
Makes the function more generic. It just accepts an object with a
'bandwidth' property.
11 years ago
Gary Katsevman
1fcab4ef3c
Make sure that segments attribute exists.
11 years ago
Gary Katsevman
173a40ec14
Reply to master and media playlist
No longer need to trigger loadedmetadata manually.
11 years ago