encrypted.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. module.exports = {
  2. allowCache: true,
  3. mediaSequence: 7794,
  4. discontinuitySequence: 0,
  5. discontinuityStarts: [],
  6. segments: [
  7. {
  8. duration: 2.833,
  9. timeline: 0,
  10. key: {
  11. method: 'AES-128',
  12. uri: 'https://priv.example.com/key.php?r=52'
  13. },
  14. uri: 'http://media.example.com/fileSequence52-A.ts'
  15. },
  16. {
  17. duration: 15,
  18. timeline: 0,
  19. key: {
  20. method: 'AES-128',
  21. uri: 'https://priv.example.com/key.php?r=52'
  22. },
  23. uri: 'http://media.example.com/fileSequence52-B.ts'
  24. },
  25. {
  26. duration: 13.333,
  27. timeline: 0,
  28. key: {
  29. method: 'AES-128',
  30. uri: 'https://priv.example.com/key.php?r=52'
  31. },
  32. uri: 'http://media.example.com/fileSequence52-C.ts'
  33. },
  34. {
  35. duration: 15,
  36. timeline: 0,
  37. key: {
  38. method: 'AES-128',
  39. uri: 'https://priv.example.com/key.php?r=53'
  40. },
  41. uri: 'http://media.example.com/fileSequence53-A.ts'
  42. },
  43. {
  44. duration: 14,
  45. timeline: 0,
  46. key: {
  47. method: 'AES-128',
  48. uri: 'https://priv.example.com/key.php?r=54',
  49. iv: new Uint32Array([0, 0, 331, 3063767524])
  50. },
  51. uri: 'http://media.example.com/fileSequence53-B.ts'
  52. },
  53. {
  54. duration: 15,
  55. timeline: 0,
  56. uri: 'http://media.example.com/fileSequence53-B.ts'
  57. }
  58. ],
  59. targetDuration: 15,
  60. version: 3
  61. };