Skip to content

Live multiperiod with advert, crashes after 15min loop on "cannot read properties of null" #3800

@Murmur

Description

@Murmur

Player https://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html 4.1.1 (development, commit: 83c9f6d3)
Manifest(broken timeline) https://refapp.hbbtv.org/videos/multiperiod_test6.php
New manifest without adverts https://refapp.hbbtv.org/videos/multiperiod_test6c.php

  • vod segments as a continuous live type="dynamic" manifest loop
  • main periods, advert(12s) period every 1min
  • mark a seamless link between main periods
    <SupplementalProperty schemeIdUri="urn:mpeg:dash:period-connectivity:2015" value="p68146143"/>
  • trigger urn:mpeg:dash:event:2012@value=1 refresh event in a manifest
    <EventStream schemeIdUri="urn:mpeg:dash:event:2012" value="1" timescale="1000"><Event presentationTime="4000" id="68146148091"/></EventStream>
  • trigger a custom mpd events in a manifest
    <EventStream schemeIdUri="http://hbbtv.org/refapp" value="1a2b3c" timescale="1000"><Event presentationTime="1000" duration="2000" id="68146148">MPD event(p68146148,1s)</Event></EventStream>

Content: main periods, advert(12s) period every 1min, served as a live manifest

Dashjs sometimes gives a jumping gap occuring in period... but I don't know why, content should use a constant segment lengths.

Dashjs crashes after ~15min for cannot read properties of NULL error.

Requesting seek to time: 1635507852 (internal) 
Debug.js:169 [824918][GapController] Jumping gap occuring in period p68146155 starting at 1635507828 and ending at 1635507852. Jumping by: 0.10000000000000142 
...
14:47:30 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'accessibility')
 at _getAllMediaInfo (DashAdapter.js:231)
    at Object.getAllMediaInfoForType (DashAdapter.js:311)
    at _initializeMediaForType (Stream.js:320)
    at Stream.js:284
    at Array.forEach (<anonymous>)
    at Stream.js:282
    at new Promise (<anonymous>)
    at _commonMediaInitialization (Stream.js:273)
    at _initializeMedia (Stream.js:236)
    at Stream.js:214

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions