shaka-player-embedded
shaka-player-embedded copied to clipboard
Memory too high on iOS 13+
[The memory of the same video (4k) is about 300M on iOS11 but about 1000M on iOS13+;I want to reduce memory,can u help me!]
Could you check the width/height of the video? Just because the source content is 4k doesn't mean it will always play that. It's possible that iOS 11.3 is only playing 1080p or lower which is why the memory is lower. You can see the current width/height from [player getStats]
. You can also use [player getVariantTracks]
to get the current tracks and look for the one that has its active
field as TRUE
to see which is playing. See our docs: https://google.github.io/shaka-player-embedded/interfaceShakaPlayer.html