You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So if the asynchronous config init takes place after this retrieval (which is case on my system), it will return the default values for the properties used here - instead of the values of the actual config JSON.
These properties may be updated upon certain conditions (or not). At least they are written back to the player when a stream is started:
I'm not sure whether this could also affect the autoplay feature (which I don't use), as doLoad (where the affected variables are read) could in theory be invoked before the variables have been set. When I just tried with different delay values, it didn't occur on my machine, though (however BrowserSync visibly slows down the page reload).
Example URL: index.html?url=https://livesim.dashif.org/livesim/testpic_2s/Manifest.mpd&autoplay=true
Environment
Steps to reproduce
streaming.liveDelay
property (e.g 10 and 30).Observed behaviour
The latency should be near the set value - however, the property has no visible impact.
Analysis
Due to a race condition, the default live delay (= null) is used:
The config is updated asynchronously, as soon as the config JSON has been downloaded by:
dash.js/samples/dash-if-reference-player/app/main.js
Line 242 in f29346d
However, only a few lines later in the same function, the config is retrieved from the player and the values of a few properties processed:
dash.js/samples/dash-if-reference-player/app/main.js
Line 320 in f29346d
So if the asynchronous config init takes place after this retrieval (which is case on my system), it will return the default values for the properties used here - instead of the values of the actual config JSON.
These properties may be updated upon certain conditions (or not). At least they are written back to the player when a stream is started:
dash.js/samples/dash-if-reference-player/app/main.js
Line 606 in f29346d
I have only checked the liveDelay property, but as other properties are processed here as well, they may be affected, too.
Edit: fixed MPD to live stream
The text was updated successfully, but these errors were encountered: