Dash-Industry-Forum / livesim2

DASH Live Source Simulator v2 in Go
Other
34 stars 4 forks source link

MPD Patch support #174

Closed tobbee closed 2 months ago

tobbee commented 2 months ago

feat: MPD patch support

New URL parameter /patch_ttl

Resolves #155

tobbee commented 2 months ago

As reported by @dsilhavy the code currently uses zero-based indices. This is wrong. XPath should use one-based indices.

tobbee commented 2 months ago

There is a ticket in dash.js for making sure this works. This gives valuable feedback that we have the same understanding of the spec: https://github.com/Dash-Industry-Forum/dash.js/issues/4452

tobbee commented 2 months ago

The https://livesim2.dashif.org instance has now (April 23, 2024) been updated to version v1.3.0, that supports Patch.

A test stream is available at https://livesim2.dashif.org/livesim2/segtimeline_1/patch_60/testpic_2s/Manifest.mpd To look at a particular patch, one can specify both publishTime and nowDate:

https://livesim2.dashif.org/patch/livesim2/patch_60/segtimeline_1/testpic_2s/Manifest.mpp\?publishTime\=2024-04-16T07:34:38Z\&nowDate\=2024-04-16T07:34:42Z