Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

Commit

Permalink
Added test for whitespace in playlist
Browse files Browse the repository at this point in the history
  • Loading branch information
jforbes committed May 27, 2015
1 parent 76778e7 commit d8c7331
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
25 changes: 25 additions & 0 deletions test/manifest/whiteSpace.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"allowCache": true,
"mediaSequence": 0,
"playlistType": "VOD",
"segments": [
{
"duration": 10,
"uri": "http://example.com/00001.ts"
},
{
"duration": 10,
"uri": "https://example.com/00002.ts"
},
{
"duration": 10,
"uri": "//example.com/00003.ts"
},
{
"duration": 10,
"uri": "http://example.com/00004.ts"
}
],
"targetDuration": 10,
"endList": true
}
14 changes: 14 additions & 0 deletions test/manifest/whiteSpace.m3u8
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#EXTM3U
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-TARGETDURATION:10

#EXTINF:10,
http://example.com/00001.ts
#EXTINF:10,
https://example.com/00002.ts
#EXTINF:10,
//example.com/00003.ts
#EXTINF:10,
http://example.com/00004.ts
#ZEN-TOTAL-DURATION:57.9911
#EXT-X-ENDLIST

0 comments on commit d8c7331

Please sign in to comment.