Dash-Industry-Forum / dash.js

A reference client implementation for the playback of MPEG DASH via Javascript and compliant browsers.
http://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html
Other
5.09k stars 1.67k forks source link

Playback fails with dynamic multi-period mpd with xlink #2868

Closed wilaw closed 2 years ago

wilaw commented 5 years ago
Environment
Steps to reproduce
  1. Play http://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html?url=http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/Manifest.mpd
Observed behaviour

Stream starts but then at period boundary throws Error Dash.js :27 "http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_32k_105.mp4 is not available"

Note that livesim response for 105.mp4 returns 404 and indicates "Bad nr of representations: 0"

Is this an error in livesim generator or dash.js? Manifest passes conformance tool.

Console output

Debug.js:233 [222460][ScheduleController][video] onFragmentLoadingAbandoned for video, request: http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_720_4M_video_103.mp4 has to be downloaded again, origin is not seeking process or switch track call 
XHRLoader.js:78 GET http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_720_4M_video_103.mp4 404 (Not Found)
XHRLoader.js:78 GET http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_32k_105.mp4 404 (Not Found)
XHRLoader.js:78 GET http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_720_4M_video_103.mp4 404 (Not Found)
XHRLoader.js:78 GET http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_32k_105.mp4 404 (Not Found)
XHRLoader.js:78 GET http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_720_4M_video_103.mp4 404 (Not Found)
XHRLoader.js:78 GET http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_32k_105.mp4 404 (Not Found)
XHRLoader.js:78 GET http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_720_4M_video_103.mp4 404 (Not Found)
Debug.js:233 [226358][FragmentController] No video bytes to push or stream is inactive. 
Debug.js:233 [226358][ScheduleController][video] OnFragmentLoadingCompleted - Url: http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_720_4M_video_103.mp4 , Range: undefined 
Debug.js:233 [226360][ScheduleController][audio] onFragmentLoadingAbandoned for audio, request: http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_32k_105.mp4 has been aborted 
Debug.js:233 [226361][ScheduleController][audio] onFragmentLoadingAbandoned for audio, request: http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_32k_105.mp4 has to be downloaded again, origin is not seeking process or switch track call 
Debug.js:233 [228504][PlaybackController] Native video element event: waiting 
XHRLoader.js:78 GET http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_32k_105.mp4 404 (Not Found)
XHRLoader.js:78 GET http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_720_4M_video_104.mp4 404 (Not Found)
XHRLoader.js:78 GET http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_32k_105.mp4 404 (Not Found)
XHRLoader.js:78 GET http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_720_4M_video_104.mp4 404 (Not Found)
XHRLoader.js:78 GET http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_32k_105.mp4 404 (Not Found)
XHRLoader.js:78 GET http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_720_4M_video_104.mp4 404 (Not Found)
XHRLoader.js:78 GET http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_32k_105.mp4 404 (Not Found)
Debug.js:233 [236382][FragmentController] No audio bytes to push or stream is inactive. 
Debug.js:233 [236382][ScheduleController][audio] OnFragmentLoadingCompleted - Url: http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_32k_105.mp4 , Range: undefined 
Debug.js:233 [236390][ScheduleController][video] onFragmentLoadingAbandoned for video, request: http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_720_4M_video_104.mp4 has been aborted 
Debug.js:233 [236392][ScheduleController][video] onFragmentLoadingAbandoned for video, request: http://vm2.dashif.org/livesim-dev/periods_60/xlink_30/insertad_1/testpic_2s/BBB_720_4M_video_104.mp4 has to be downloaded again, origin is not seeking process or switch track call 
nicosang commented 5 years ago

Hi @wilaw ,

I made some tests with former versions of dash.js : the issue is already there. According to me, it happends before period transition on a 'xlink' period. Some segment requests are in 404 error with the error you described before....

Nico

dsilhavy commented 4 years ago

Problem still occurs in v 3.1.1 , might be related to multiple MPD reloads before playback of the Xlink period. After each MPD reload the period id of the resolved Xlink period changes. Needs further investigation.

dsilhavy commented 4 years ago

@wilaw @TobbeMobiTV I checked this stream again changing the url to https://livesim.dashif.org/livesim/periods_60/xlink_30/insertad_1/testpic_2s/Manifest.mpd . The link to the Xlink resolver is not valid anymore: http://vm1.dashif.org/dynamicxlink/ad.php?id=6_ad . Can this be fixed?

wilaw commented 4 years ago

Since https://livesim.dashif.org/dynamicxlink/ad.php?id=6_ad doesn’t respond either, this requires a change to livesim application, which will requires @TobbeMobiTv’s attention.

Cheers Will

From: dsilhavy notifications@github.com Reply-To: "Dash-Industry-Forum/dash.js" reply@reply.github.com Date: Tuesday, August 11, 2020 at 6:51 AM To: "Dash-Industry-Forum/dash.js" dash.js@noreply.github.com Cc: "Law, Will" wilaw@akamai.com, Mention mention@noreply.github.com Subject: Re: [Dash-Industry-Forum/dash.js] Playback fails with dynamic multi-period mpd with xlink (#2868)

@wilawhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_wilaw&d=DwMCaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=KkevKJerDHRF9WRs8nW8Ew&m=s1XMckq6s_ohCTJqnOBhH1D3AfbfJnOzxeg7h2AQJ3o&s=aIFUd8-LlGbCZG3Jl3CMujvzfywsitHPQMkSuoAgIik&e= @TobbeMobiTVhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_TobbeMobiTV&d=DwMCaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=KkevKJerDHRF9WRs8nW8Ew&m=s1XMckq6s_ohCTJqnOBhH1D3AfbfJnOzxeg7h2AQJ3o&s=57xtjHmHJ-xI9vekHoQoakWttPQqTI1b13bci3japY0&e= I checked this stream again changing the url to https://livesim.dashif.org/livesim/periods_60/xlink_30/insertad_1/testpic_2s/Manifest.mpdhttps://urldefense.proofpoint.com/v2/url?u=https-3A__livesim.dashif.org_livesim_periods-5F60_xlink-5F30_insertad-5F1_testpic-5F2s_Manifest.mpd&d=DwMCaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=KkevKJerDHRF9WRs8nW8Ew&m=s1XMckq6s_ohCTJqnOBhH1D3AfbfJnOzxeg7h2AQJ3o&s=UtY3qTJw47Djk5Vz9V8L-zYllky1wBH4JWKZ8Q1oVLg&e= . The link to the Xlink resolver is not valid anymore: http://vm1.dashif.org/dynamicxlink/ad.php?id=6_adhttps://urldefense.proofpoint.com/v2/url?u=http-3A__vm1.dashif.org_dynamicxlink_ad.php-3Fid-3D6-5Fad&d=DwMCaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=KkevKJerDHRF9WRs8nW8Ew&m=s1XMckq6s_ohCTJqnOBhH1D3AfbfJnOzxeg7h2AQJ3o&s=ABXdZL6J18IAqe14ogDIu_dSSU2dNFcuTvXbyBHXcj0&e= . Can this be fixed?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Dash-2DIndustry-2DForum_dash.js_issues_2868-23issuecomment-2D671959537&d=DwMCaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=KkevKJerDHRF9WRs8nW8Ew&m=s1XMckq6s_ohCTJqnOBhH1D3AfbfJnOzxeg7h2AQJ3o&s=wqQT_s8CEdr8IsnxUbgIRvfDT7t_W71_YVHP4ZqYsCg&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AAVCMCVGDILSNU3AX45P5T3SAFEHFANCNFSM4GGY2E4A&d=DwMCaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=KkevKJerDHRF9WRs8nW8Ew&m=s1XMckq6s_ohCTJqnOBhH1D3AfbfJnOzxeg7h2AQJ3o&s=fQwD_1kXCfknqlcDyTWH9GHvdCnDOP7Z2Zqg5P_qPcU&e=.

dsilhavy commented 4 years ago

@TobbeEdgeware Can you please check if the urls can be changed? Thanks!

dsilhavy commented 3 years ago

@TobbeEdgeware Any chances this can be fixed?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. However, it might still be relevant so please leave a short comment if it should remain open. Otherwise the issue will be closed automatically after two weeks. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue has been automatically closed because no further activity occurred. If you think this issue is still relevant please reopen it or contact @dsilhavy. Thank you for your contributions.