shaka-player-embedded icon indicating copy to clipboard operation
shaka-player-embedded copied to clipboard

Memory too high on iOS 13+

Open weihong-xuan opened this issue 4 years ago • 1 comments

[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!] WechatIMG4 WechatIMG2

weihong-xuan avatar Jun 29 '20 07:06 weihong-xuan

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

TheModMaker avatar Jun 29 '20 16:06 TheModMaker