Bug 1560092 Comment 4 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I'm seeing the test media go on and offline, but have got some more testing in. I also see issues where if caching is disabled then sometimes requests to the widevine licensing server fail -- so if anyone else wants to repro, try disabling caching in the networking dev tools.

Think I've found where we're stalling out. The `MediaChangeMonitor` fails to initially create a decoder because we have no [SPS in the extra data](https://demo.unified-streaming.com/mse-toolbox/player/?o=eyJkYXNoanMiOnt9LCJxdWlldCI6ZmFsc2UsInBsYXlzaW5saW5lIjp0cnVlLCJtdXRlZCI6ZmFsc2UsImNvbnRyb2xzIjp0cnVlLCJhdXRvcGxheSI6dHJ1ZX0=&file=https://bryce.sfo2.digitaloceanspaces.com/temp-test/no-audio-trimmedown-mpd.mpd&player=dashjs).  We then keep checking for changes and attempt to initialize the decoder, [but encounter the same issue](https://searchfox.org/mozilla-central/rev/40ef22080910c2e2c27d9e2120642376b1d8b8b2/dom/media/platforms/wrappers/MediaChangeMonitor.cpp#60).

:jya, my understanding of the AVC3 entry is that it indicates the SPS is in the sample information, rather than in the earlier metadata. If we've got an encrypted stream of AVC3 content then we won't get our SPS data in the metadata and we'll never be able to inspect the the samples, so we won't get the data there and we'll just stall. Does that sound right?
I'm seeing the test media go on and offline, but have got some more testing in. I also see issues where if caching is disabled then sometimes requests to the widevine licensing server fail -- so if anyone else wants to repro, try disabling caching in the networking dev tools.

Think I've found where we're stalling out. The `MediaChangeMonitor` fails to initially create a decoder because we have no [SPS in the extra data](https://searchfox.org/mozilla-central/rev/40ef22080910c2e2c27d9e2120642376b1d8b8b2/dom/media/platforms/wrappers/MediaChangeMonitor.cpp#38).  We then keep checking for changes and attempt to initialize the decoder, [but encounter the same issue](https://searchfox.org/mozilla-central/rev/40ef22080910c2e2c27d9e2120642376b1d8b8b2/dom/media/platforms/wrappers/MediaChangeMonitor.cpp#60).

:jya, my understanding of the AVC3 entry is that it indicates the SPS is in the sample information, rather than in the earlier metadata. If we've got an encrypted stream of AVC3 content then we won't get our SPS data in the metadata and we'll never be able to inspect the the samples, so we won't get the data there and we'll just stall. Does that sound right?

Back to Bug 1560092 Comment 4