Dash-Industry-Forum / livesim2

DASH Live Source Simulator v2 in Go
Other
36 stars 5 forks source link

Make all dash.js livesim test URLs work with livesim2 #59

Closed tobbee closed 1 year ago

tobbee commented 1 year ago

The complete list of URLs pointing to livesim.dashif.org in the dash.js code is:

  1. https://livesim.dashif.org/dash/vod/testpic_2s/audio.mpd
  2. https://livesim.dashif.org/dash/vod/testpic_2s/cea608.mpd
  3. https://livesim.dashif.org/dash/vod/testpic_2s/cea608_and_segs.mpd
  4. https://livesim.dashif.org/dash/vod/testpic_2s/img_subs.mpd
  5. https://livesim.dashif.org/dash/vod/testpic_2s/img_subs_info.html
  6. https://livesim.dashif.org/dash/vod/testpic_2s/imsc1_img.mpd
  7. https://livesim.dashif.org/dash/vod/testpic_2s/imsc1_img_subs_info.html
  8. https://livesim.dashif.org/dash/vod/testpic_2s/multi_subs.mpd
  9. https://livesim.dashif.org/dash/vod/testpic_2s/xml_subs.mpd
  10. https://livesim.dashif.org/livesim/ato_inf/testpic_2s/Manifest.mpd
  11. https://livesim.dashif.org/livesim/chunkdur_1/ato_7/testpic4_8s/Manifest.mpd
  12. https://livesim.dashif.org/livesim/chunkdur_1/ato_7/testpic4_8s/Manifest300.mpd
  13. https://livesim.dashif.org/livesim/mup_30/testpic_2s/Manifest.mpd
  14. https://livesim.dashif.org/livesim/periods_60/continuous_1/testpic_2s/Manifest.mpd
  15. https://livesim.dashif.org/livesim/scte35_2/testpic_2s/Manifest.mpd
  16. https://livesim.dashif.org/livesim/segtimeline_1/testpic_2s/Manifest.mpd
  17. https://livesim.dashif.org/livesim/segtimelinenr_1/testpic_2s/Manifest.mpd
  18. https://livesim.dashif.org/livesim/testpic_2s/Manifest.mpd
  19. https://livesim.dashif.org/livesim/testpic_2s/audio.mpd
  20. https://livesim.dashif.org/livesim/testpic_2s/cea608.mpd
  21. https://livesim.dashif.org/livesim/testpic_2s/cea608_and_segs.mpd
  22. https://livesim.dashif.org/livesim/testpic_2s/multi_subs.mpd

All of these should work with livesim2, unless very complex to implement and agreed to be left out. Note that there are "VoD" assets included and that there are also two html URLs with information.

The first 9 are VoD assets so they should just be served at the same path.

tobbee commented 1 year ago

@dsilhavy

All livesim URLs should now work with livesim2 and the instance at https://livesim2.dashif.org

For example:

https://livesim2.dashif.org/livesim/testpic_2s/cea608_and_segs.mpd

should work fine, with the only difference compared to the URL in the issue description being the domain name. Somewhat better is to change also the first path element to /livesim2, since that is the publishing point, while /livesim returns a 302 redirect.

Correspondingly, /dash/vod should be replaced by /vod to avoid an initial redirect.

Please try out and report any issue.

One potential problem is that all IP-addresses are limited to 1000 requests per 24hours. Issue #48 is supposed to handle that.