Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
videojs-contrib-hls
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
021f4911
authored
2013-10-30 16:04:29 -0400
by
Lee Whitaker
Committed by
David LaPalomento
2013-10-30 17:35:58 -0400
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix the tests. Only manifests with the X-STREAM_INF tag should be considered a playlist file.
1 parent
4b96b9ca
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
test/video-js-hls_test.js
test/video-js-hls_test.js
View file @
021f491
...
...
@@ -258,7 +258,7 @@
equal
(
data
.
hasValidM3UTag
,
true
,
'data has valid EXTM3U'
);
equal
(
data
.
targetDuration
,
10
,
'data has correct TARGET DURATION'
);
equal
(
data
.
allowCache
,
"NO"
,
'acceptable ALLOW CACHE'
);
equal
(
data
.
isPlaylist
,
tru
e
,
'data is parsed as a PLAYLIST as expected'
);
equal
(
data
.
isPlaylist
,
fals
e
,
'data is parsed as a PLAYLIST as expected'
);
equal
(
data
.
playlistType
,
"VOD"
,
'acceptable PLAYLIST TYPE'
);
equal
(
data
.
mediaItems
.
length
,
16
,
'acceptable mediaItem count'
);
equal
(
data
.
mediaSequence
,
0
,
'MEDIA SEQUENCE is correct'
);
...
...
@@ -277,6 +277,7 @@
ok
(
data
);
equal
(
data
.
playlistItems
.
length
,
4
,
'Has correct rendition count'
);
equal
(
data
.
isPlaylist
,
true
,
'data is parsed as a PLAYLIST as expected'
);
equal
(
data
.
playlistItems
[
0
].
bandwidth
,
240000
,
'First rendition index bandwidth is correct'
);
equal
(
data
.
playlistItems
[
0
][
"program-id"
],
1
,
'First rendition index program-id is correct'
);
equal
(
data
.
playlistItems
[
0
].
resolution
.
width
,
396
,
'First rendition index resolution width is correct'
);
...
...
Please
register
or
sign in
to post a comment