uwpmicrosoft-edgehostedxbox-one

Memory leak when streaming HLS on hosted webapp UWP on xbox


The basic example provided in github can not play a .m3u8 with a duration > 40 minutes. Memory grows pretty fast and does not seem to be disposed properly:

enter image description here

After 10-20 minutes of playback, the app usually crashes. I tried with both <video> element and the TVJS MediaPlayer helper, observing similar behavior.

It is noteworthy to say that this does not happen when streaming the same page with Edge, but I guess that app has better privileges/memory management than the webview used for hosted webapps.

There are probably a bunch of hosted webapps in the xbox store that do not have memory problems, am I missing something?


Solution

  • To anyone landing here - a recent update fixed the leak. This was confirmed with talks to a customer service member.