Commit graph

39 commits

Author SHA1 Message Date
Grzegorz Blaszczyk
d51e93fa75 feat: parse FRAME-RATE as a number (#150)
BREAKING CHANGE: parser changes an output type for 'FRAME-RATE'
attribute from a string to a number.
2022-08-02 12:18:20 -04:00
Brandon Casey
4e7c9ebdc1
fix: EXT-X-KEY support playready keyformat (#143) 2021-06-15 13:24:18 -04:00
Brandon Casey
ae5fa64118
feat: add key property to init segment/map (#141) 2021-05-19 10:42:32 -04:00
Brandon Casey
9f62c85ef0
fix: ignore fairplay content protection (#140) 2021-05-19 10:41:24 -04:00
Brandon Casey
31ed0528b1
refactor: llhls attributes to camel case (#138) 2021-03-04 13:32:52 -05:00
Brandon Casey
2c2dffe68f
feat(llhls): preloadSegment, associate parts/preloadHints with segments, unify byterange handling (#137) 2021-03-04 13:06:25 -05:00
Brandon Casey
98f0421468
feat: add version parsing and remove totalduration (#135) 2021-01-22 13:07:47 -05:00
Brandon Casey
4f4da3d52b
feat: add warn/info triggers and defaults for ll-hls tags (#131) 2021-01-22 13:06:53 -05:00
Brandon Casey
e09c7edd8f
chore: lint fixtures (#134) 2021-01-22 12:45:49 -05:00
Brandon Casey
fb3b629357
chore: remove unused and non-standard tag #ZEN-TOTAL-DURATION (#133) 2021-01-21 15:38:22 -05:00
Brandon Casey
8f69b457cb chore: switch to rollup-plugin-data-files (#130) 2021-01-21 12:00:39 -05:00
Brandon Casey
e86dcae09d
test: move tests around (#129) 2021-01-21 11:57:57 -05:00
Brandon Casey
985ab68718
feat: add support for #EXT-X-PART-INF (#126)
https://developer.apple.com/documentation/http_live_streaming/enabling_low-latency_hls#3282434
https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-08#section-4.4.3.7
2021-01-20 10:37:14 -05:00
Brandon Casey
03f4345096
feat: add support for #EXT-X-RENDITION-REPORT (#124)
https://developer.apple.com/documentation/http_live_streaming/enabling_low-latency_hls#3282435
https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-08#section-4.4.5.4
2021-01-20 10:33:48 -05:00
Brandon Casey
7f82f53d49
feat: add support for #EXT-X-SERVER-CONTROL (#121)
https://developer.apple.com/documentation/http_live_streaming/enabling_low-latency_hls#3281374
https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-08#section-4.4.3.8
2021-01-20 10:31:06 -05:00
Brandon Casey
4fd693a11c
feat: add support for #EXT-X-PRELOAD-HINT (#123)
https://developer.apple.com/documentation/http_live_streaming/enabling_low-latency_hls#3526694
https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-08#section-4.4.5.3
2021-01-20 10:24:34 -05:00
Brandon Casey
9f5a224cd7
feat: add support for #EXT-X-PART (#127)
https://developer.apple.com/documentation/http_live_streaming/enabling_low-latency_hls#3282436
https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-08#section-4.4.4.9
2021-01-20 10:12:38 -05:00
Brandon Casey
9cebc864b0
feat: add support for #EXT-X-SKIP (#122)
https://developer.apple.com/documentation/http_live_streaming/enabling_low-latency_hls#3282433
https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-08#section-4.4.5.2
2021-01-20 10:01:28 -05:00
Brandon Casey
0823ea88d3
test: add llhls manifests for incoming features (#125) 2021-01-20 09:58:02 -05:00
Garrett Singer
08aca73781
fix: fix default EXT-X-BYTERANGE offset to start after the previous segment (#98)
The default value for EXT-X-BYTERANGE is defined by the spec as the first byte
after the previous segment. Prior to this change, the default set by m3u8-parser
was 0.
2020-02-11 15:46:20 -05:00
Pat O'Neill
e991447701
chore(package): update all dev dependencies (#89) 2019-06-25 11:53:20 -04:00
Alex Barstow
d835fa88cf feat: parse key attributes for Widevine HLS (#88) 2019-06-25 11:21:16 -04:00
Joe Forbes
0ef040ab93
feat: custom tag mapping (#73) 2019-01-10 09:02:02 -08:00
Brandon Casey
35ff47183c chore: Update to plugin generator 7 standards (#53) 2018-09-07 12:18:05 -04:00
Matthew Neil
44fc6f8323 feat: add program-date-time tag info to parsed segments (#27) 2018-02-23 11:21:00 -05:00
Ryan Struhl
69a499bb08 Allow parsing custom tags from m3u8 manifest (#30) 2018-01-19 15:49:31 -05:00
Pim
31b6d0bd29 EXT-X-START tag support (#31)
* add support for EXT-X-START tags

* warns about improper START tags
2017-11-20 16:39:02 -05:00
Gary Katsevman
47ef11f890 feat: Rollup (#24)
Update to use Rollup to generate the main and umd files.

BREAKING CHANGE: drop bower support.
2017-06-09 14:00:51 -04:00
Matthew Neil
86100b570c parse FORCED attribute of media-groups (#15) 2017-02-23 13:52:33 -05:00
Owen Edwards
7882d1ca90 Fix attributes in characteristics test to have double-quotes (#17) 2017-02-23 13:42:07 -05:00
Owen Edwards
5cb6ae78a5 Pass any CHARACTERISTICS value of a track with the track object (#14) 2017-02-23 11:12:50 -05:00
Zac Shenker
cd3e16dd44 Empty media playlists should have empty segment arrays (#12)
Manifest object is now initialized with an empty segments arrays so that the segments property is never null.
2017-01-10 18:38:37 -05:00
Patrick Wolfe
63dd2e4dad Linter update (#9)
* Added conditional to subsequent PROGRAM-DATE-TIME tags from being read. Now only the first tag encountered in a file is added to the manifest.

* Updated project to use most recent version of video.js standard; applied lint changes to entire project.

* Updated CHANGELOG HEAD section with latest changes.

* Removed node 0.10 and 0.12 from the Travis config.

* Updated date time test to include two #EXT-X-PROGRAM-DATE-TIME tags so that we can verify parser only takes the first instance of the date time tag.

* Reverted changes to make parser only read first #EXT-X-PROGRAM-DATE-TIME tag so that it remains compliant with the standard.

* Updated CHANGELOG to fit latest in head.
2016-09-22 10:29:14 -04:00
Matthew Neil
aef7a9df1a Parse CUE-* tags (#5)
* add watch script and add unknown tags to segments
* add unit test for unknown tags
2016-07-20 18:18:58 -04:00
Patrick Wolfe
35253fdacb #EXT-X-PROGRAM-DATE-TIME parsing functionality (#4)
* Added match statement for parsing the EXT-X-PROGRAM-DATE-TIME tag
* modified the parser to return this tag to the manifest.

* Updated the regex for EXT-X-PROGRAM-DATE-TIME tag to allow for an empty tag (no value).

* Wrote tests for parsing the EXT-X-PROGRAM-DATE-TIME tag (both manifest and singular instance).

* Bumped version to 1.0.3.

* Added dateTime tests matching the new fixtures scheme.

* Reverted version bump to 1.0.2.

* Updated CHANGELOG.

* Simplified regex, added Date object to the manifest; updated tests accordingly.
2016-06-29 12:15:56 -04:00
David LaPalomento
6475aefb94 Parse EXT-X-MAP tags
Annotate segment objects with a `map` property when an EXT-X-MAP tag is active for the current segment. Add test fixtures for fragmented mp4 segments.
2016-06-19 15:27:50 -07:00
David LaPalomento
6ec7a3673d Export m3u8 fixtures as part of test build process
Migrate all the test files from videojs-contrib-hls and the build script that exports them so they can be used in tests. Remove the checked-in versions of the exported m3u8 fixtures.
2016-06-19 13:24:30 -07:00
Brandon Casey
0d458a64a0 Fix the build pipeline (#2)
* fix the build pipeline
* removed video.js css/js inclusion during tests

* fixing versionify issue
2016-06-07 17:59:24 -04:00
Gary Katsevman
1f8cd488bb Initial commit/release 2016-06-07 11:43:01 -04:00