Closed wseymour15 closed 1 year ago
Merging #174 (42a6990) into main (9ece4ae) will increase coverage by
0.07%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## main #174 +/- ##
==========================================
+ Coverage 94.58% 94.66% +0.07%
==========================================
Files 19 19
Lines 812 824 +12
Branches 247 251 +4
==========================================
+ Hits 768 780 +12
Misses 44 44
Files Changed | Coverage Δ | |
---|---|---|
src/index.js | 85.71% <ø> (ø) |
|
src/stringToMpdXml.js | 100.00% <ø> (ø) |
|
src/inheritAttributes.js | 97.70% <100.00%> (+0.14%) |
:arrow_up: |
src/toM3u8.js | 98.79% <100.00%> (+0.01%) |
:arrow_up: |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
LGTM
Feature
Add support for parsing
<ContentSteering>
tags, as well as content (serverURL
), thedefaultServiceLocation
,proxyServerUrl
, andqueryBeforeStart
attributes associated to that tag. This also adds support for<BaseURL
tag properties to be included in our parsing of playlists, but specifically for our case, we ensure theserviceLocation
property is passed when it exists on a BaseURL tag.Changes
contentSteering
property on the parsed output containing the content of the tag asserverURL
, as well as the other properties on the tag.serviceLocation
property in theattributes
object in playlist items.<BaseURL>
to be passed into theattributes
object in playlist items.eventHandler
option that will handle events (to be replaced with stream parsing).References
https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.6.6