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
85815fdb
authored
2014-10-02 08:53:10 -0400
by
David LaPalomento
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
WIP: end-to-end transmuxer test
1 parent
653593a7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
test/transmuxer_test.js
test/transmuxer_test.js
View file @
85815fd
...
...
@@ -643,7 +643,7 @@ test('generates an init segment', function() {
});
test
(
'parses an example mp2t file and generates media segments'
,
function
()
{
var
segments
=
[];
var
segments
=
[]
,
i
,
segment
;
transmuxer
.
on
(
'data'
,
function
(
segment
)
{
segments
.
push
(
segment
);
});
...
...
@@ -651,6 +651,10 @@ test('parses an example mp2t file and generates media segments', function() {
transmuxer
.
end
();
ok
(
segments
.
length
,
'generated media segments'
);
i
=
segments
.
length
;
while
(
i
--
)
{
segment
=
videojs
.
inspectMp4
(
segments
[
i
].
data
);
}
console
.
log
(
segments
);
});
...
...
Please
register
or
sign in
to post a comment