Update tests for IV case
Showing
2 changed files
with
22 additions
and
4 deletions
... | @@ -6,7 +6,8 @@ | ... | @@ -6,7 +6,8 @@ |
6 | "duration": 2.833, | 6 | "duration": 2.833, |
7 | "key": { | 7 | "key": { |
8 | "method": "AES-128", | 8 | "method": "AES-128", |
9 | "uri": "https://priv.example.com/key.php?r=52" | 9 | "uri": "https://priv.example.com/key.php?r=52", |
10 | "iv": null | ||
10 | }, | 11 | }, |
11 | "uri": "http://media.example.com/fileSequence52-A.ts" | 12 | "uri": "http://media.example.com/fileSequence52-A.ts" |
12 | }, | 13 | }, |
... | @@ -14,7 +15,8 @@ | ... | @@ -14,7 +15,8 @@ |
14 | "duration": 15, | 15 | "duration": 15, |
15 | "key": { | 16 | "key": { |
16 | "method": "AES-128", | 17 | "method": "AES-128", |
17 | "uri": "https://priv.example.com/key.php?r=52" | 18 | "uri": "https://priv.example.com/key.php?r=52", |
19 | "iv": null | ||
18 | }, | 20 | }, |
19 | "uri": "http://media.example.com/fileSequence52-B.ts" | 21 | "uri": "http://media.example.com/fileSequence52-B.ts" |
20 | }, | 22 | }, |
... | @@ -22,7 +24,8 @@ | ... | @@ -22,7 +24,8 @@ |
22 | "duration": 13.333, | 24 | "duration": 13.333, |
23 | "key": { | 25 | "key": { |
24 | "method": "AES-128", | 26 | "method": "AES-128", |
25 | "uri": "https://priv.example.com/key.php?r=52" | 27 | "uri": "https://priv.example.com/key.php?r=52", |
28 | "iv": null | ||
26 | }, | 29 | }, |
27 | "uri": "http://media.example.com/fileSequence52-C.ts" | 30 | "uri": "http://media.example.com/fileSequence52-C.ts" |
28 | }, | 31 | }, |
... | @@ -30,11 +33,21 @@ | ... | @@ -30,11 +33,21 @@ |
30 | "duration": 15, | 33 | "duration": 15, |
31 | "key": { | 34 | "key": { |
32 | "method": "AES-128", | 35 | "method": "AES-128", |
33 | "uri": "https://priv.example.com/key.php?r=53" | 36 | "uri": "https://priv.example.com/key.php?r=53", |
37 | "iv": null | ||
34 | }, | 38 | }, |
35 | "uri": "http://media.example.com/fileSequence53-A.ts" | 39 | "uri": "http://media.example.com/fileSequence53-A.ts" |
36 | }, | 40 | }, |
37 | { | 41 | { |
42 | "duration": 14, | ||
43 | "key": { | ||
44 | "method": "AES-128", | ||
45 | "uri": "https://priv.example.com/key.php?r=54", | ||
46 | "iv": new Uint32Array([0, 0, 331, 3063767524]) | ||
47 | }, | ||
48 | "uri": "http://media.example.com/fileSequence53-B.ts" | ||
49 | }, | ||
50 | { | ||
38 | "duration": 15, | 51 | "duration": 15, |
39 | "uri": "http://media.example.com/fileSequence53-B.ts" | 52 | "uri": "http://media.example.com/fileSequence53-B.ts" |
40 | } | 53 | } | ... | ... |
... | @@ -17,6 +17,11 @@ http://media.example.com/fileSequence52-C.ts | ... | @@ -17,6 +17,11 @@ http://media.example.com/fileSequence52-C.ts |
17 | #EXTINF:15.0, | 17 | #EXTINF:15.0, |
18 | http://media.example.com/fileSequence53-A.ts | 18 | http://media.example.com/fileSequence53-A.ts |
19 | 19 | ||
20 | #EXT-X-KEY:METHOD=AES-128,URI="https://priv.example.com/key.php?r=54",IV=0x00000000000000000000014BB69D61E4 | ||
21 | |||
22 | #EXTINF:14.0, | ||
23 | http://media.example.com/fileSequence53-B.ts | ||
24 | |||
20 | #EXT-X-KEY:METHOD=NONE | 25 | #EXT-X-KEY:METHOD=NONE |
21 | 26 | ||
22 | #EXTINF:15.0, | 27 | #EXTINF:15.0, | ... | ... |
-
Please register or sign in to post a comment