608-captions.js 1.6 KB

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