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

Win10Edge HEVC multiperiod test gives "error: creating source buffer of type: audio" #4304

Open Murmur opened 10 months ago

Murmur commented 10 months ago

Weird errors on Win10Edge-H265 multiperiod, no DRM so to make test easier. Player displays error creating source buffer dialog on Edge-H265, clicking on OK continues playback until few more times playback stops. Similar H264 test works fine. You anyone can replicate an error or just my laptop?

https://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html

Win10 Chrome: h264=ok
Win10 Firefox: h264=ok
Win10 Edge: h264=ok
https://refapp.hbbtv.org/videos/multiperiod_v8.php?advert=0&video=v3&audiolang=eng&mup=2&spd=8&config=multiperiod_00llama_h264

Win10 Chrome: h265hbr=ok
Win10 Firefox: h265hbr=ok
Win10 Edge: h265hbr=failed(*e1)
https://refapp.hbbtv.org/videos/multiperiod_v8.php?advert=0&video=v5&audiolang=eng&mup=2&spd=8&config=multiperiod_00llama_h265hbr

(*e1) Error on Win10 Edge H265hbr. 
Error creating source buffer of type : audio
[777293][BufferController][video] Caught error on create SourceBuffer: NotSupportedError: Failed to execute 'changeType' on 'SourceBuffer': Changing to the type provided ('video/mp4;codecs="hvc1.1.6.H150.90"') is not supported. 
[777302][BufferController][audio] Caught error on create SourceBuffer: NotSupportedError: Failed to execute 'changeType' on 'SourceBuffer': Changing to the type provided ('audio/mp4;codecs="mp4a.40.2"') is not supported. 
[StreamProcessor][video] Buffer is empty! Stalling! 

Installed HEVC Video Extension so Edge+Chrome+Firefox playback works. https://apps.microsoft.com/detail/hevc-video-extensions/9NMZLZ57R3T7?gl=&hl=

>> Daniel: So there is no changeType support when using HEVC? Its weird that the issue also occurs on the audio SourceBuffer. Can you please create an issue on the dash.js Github for this. Did you also check if it works in Shaka? _>> ShakaPlayer playback runs much longer and no error in a console log_

Link to Slack topic

Murmur commented 10 months ago

Firefox ver120+ beta and HEVC (needs the same extension as Edge+Chrome). about:config | media.wmf.hevc.enabled=1 | restart Firefox WinStore HEVC Video Extension

HEVC playback works on h264-multiperiod and h265hbr-multiperiod tests, so it seems only Edge browser has problems with this test case.