708-captions.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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: '1',
  14. // language: 'eng',
  15. // aspectRatio: 1,
  16. // easyReader: 0,
  17. // '3D': 0
  18. // },
  19. // TODO only this one ends up being represented and not both
  20. eng: {
  21. 'autoselect': false,
  22. 'default': false,
  23. 'instreamId': 'SERVICE2',
  24. 'language': 'eng',
  25. 'aspectRatio': 1,
  26. 'easyReader': 1,
  27. '3D': 0
  28. }
  29. }
  30. },
  31. 'SUBTITLES': {},
  32. 'VIDEO': {}
  33. },
  34. playlists: [
  35. {
  36. attributes: {
  37. 'AUDIO': 'audio',
  38. 'BANDWIDTH': 449000,
  39. 'CODECS': 'avc1.420015',
  40. 'FRAME-RATE': 23.976,
  41. 'NAME': '482',
  42. 'PROGRAM-ID': 1,
  43. 'RESOLUTION': {
  44. height: 270,
  45. width: 482
  46. },
  47. 'SUBTITLES': 'subs'
  48. },
  49. endList: true,
  50. resolvedUri: '',
  51. targetDuration: 6,
  52. mediaSequence: 0,
  53. timelineStarts: [{ start: 0, timeline: 0 }],
  54. discontinuitySequence: 0,
  55. discontinuityStarts: [],
  56. segments: [
  57. {
  58. duration: 6,
  59. timeline: 0,
  60. number: 0,
  61. presentationTime: 0,
  62. map: {
  63. uri: '',
  64. resolvedUri: 'https://www.example.com/1080p.ts'
  65. },
  66. resolvedUri: 'https://www.example.com/1080p.ts',
  67. uri: 'https://www.example.com/1080p.ts'
  68. }
  69. ],
  70. timeline: 0,
  71. uri: ''
  72. }
  73. ],
  74. segments: [],
  75. timelineStarts: [{ start: 0, timeline: 0 }],
  76. uri: ''
  77. };