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
09c57621
authored
2015-02-23 14:43:29 +0100
by
Rajko Stojadinovic
Committed by
David LaPalomento
2015-04-02 17:02:40 -0400
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Update tests for IV case
1 parent
7f236228
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
4 deletions
test/manifest/encrypted.json
test/manifest/encrypted.m3u8
test/manifest/encrypted.json
View file @
09c5762
...
...
@@ -6,7 +6,8 @@
"duration"
:
2.833
,
"key"
:
{
"method"
:
"AES-128"
,
"uri"
:
"https://priv.example.com/key.php?r=52"
"uri"
:
"https://priv.example.com/key.php?r=52"
,
"iv"
:
null
},
"uri"
:
"http://media.example.com/fileSequence52-A.ts"
},
...
...
@@ -14,7 +15,8 @@
"duration"
:
15
,
"key"
:
{
"method"
:
"AES-128"
,
"uri"
:
"https://priv.example.com/key.php?r=52"
"uri"
:
"https://priv.example.com/key.php?r=52"
,
"iv"
:
null
},
"uri"
:
"http://media.example.com/fileSequence52-B.ts"
},
...
...
@@ -22,7 +24,8 @@
"duration"
:
13.333
,
"key"
:
{
"method"
:
"AES-128"
,
"uri"
:
"https://priv.example.com/key.php?r=52"
"uri"
:
"https://priv.example.com/key.php?r=52"
,
"iv"
:
null
},
"uri"
:
"http://media.example.com/fileSequence52-C.ts"
},
...
...
@@ -30,11 +33,21 @@
"duration"
:
15
,
"key"
:
{
"method"
:
"AES-128"
,
"uri"
:
"https://priv.example.com/key.php?r=53"
"uri"
:
"https://priv.example.com/key.php?r=53"
,
"iv"
:
null
},
"uri"
:
"http://media.example.com/fileSequence53-A.ts"
},
{
"duration"
:
14
,
"key"
:
{
"method"
:
"AES-128"
,
"uri"
:
"https://priv.example.com/key.php?r=54"
,
"iv"
:
new
Uint
32
Array(
[
0
,
0
,
331
,
3063767524
]
)
},
"uri"
:
"http://media.example.com/fileSequence53-B.ts"
},
{
"duration"
:
15
,
"uri"
:
"http://media.example.com/fileSequence53-B.ts"
}
...
...
test/manifest/encrypted.m3u8
View file @
09c5762
...
...
@@ -17,6 +17,11 @@ http://media.example.com/fileSequence52-C.ts
#EXTINF:15.0,
http://media.example.com/fileSequence53-A.ts
#EXT-X-KEY:METHOD=AES-128,URI="https://priv.example.com/key.php?r=54",IV=0x00000000000000000000014BB69D61E4
#EXTINF:14.0,
http://media.example.com/fileSequence53-B.ts
#EXT-X-KEY:METHOD=NONE
#EXTINF:15.0,
...
...
Please
register
or
sign in
to post a comment