locations.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. export const parsedManifest = {
  2. locations: [
  3. 'https://www.example.com/updates',
  4. 'https://www.example.com/updates2'
  5. ],
  6. allowCache: true,
  7. discontinuityStarts: [],
  8. timelineStarts: [{
  9. start: 0,
  10. timeline: 0
  11. }],
  12. duration: 6,
  13. endList: true,
  14. mediaGroups: {
  15. 'AUDIO': {},
  16. 'CLOSED-CAPTIONS': {},
  17. 'SUBTITLES': {},
  18. 'VIDEO': {}
  19. },
  20. playlists: [
  21. {
  22. attributes: {
  23. 'AUDIO': 'audio',
  24. 'BANDWIDTH': 449000,
  25. 'CODECS': 'avc1.420015',
  26. 'FRAME-RATE': 23.976,
  27. 'NAME': '482',
  28. 'PROGRAM-ID': 1,
  29. 'RESOLUTION': {
  30. height: 270,
  31. width: 482
  32. },
  33. 'SUBTITLES': 'subs'
  34. },
  35. endList: true,
  36. resolvedUri: '',
  37. targetDuration: 6,
  38. mediaSequence: 0,
  39. discontinuitySequence: 0,
  40. discontinuityStarts: [],
  41. timelineStarts: [{
  42. start: 0,
  43. timeline: 0
  44. }],
  45. segments: [
  46. {
  47. duration: 6,
  48. timeline: 0,
  49. number: 0,
  50. presentationTime: 0,
  51. map: {
  52. uri: '',
  53. resolvedUri: 'https://www.example.com/1080p.ts'
  54. },
  55. resolvedUri: 'https://www.example.com/1080p.ts',
  56. uri: 'https://www.example.com/1080p.ts'
  57. }
  58. ],
  59. timeline: 0,
  60. uri: ''
  61. }
  62. ],
  63. segments: [],
  64. uri: ''
  65. };