location.js 1.3 KB

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