Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML5 Video memory deallocation problem #208

Open
markov00 opened this issue Apr 26, 2018 · 1 comment
Open

HTML5 Video memory deallocation problem #208

markov00 opened this issue Apr 26, 2018 · 1 comment

Comments

@markov00
Copy link

I'm currently facing this problem:
I've created a small html page that reproduce the following problem:

  • create an html5 video tag with a small video with autoplay and loop
  • after few seconds delete the videotag and recreate it

After 4/5 create/remove/recreate loop, the video stops the playback.
I've written the issue in this repo and not in the wpewebkit because seems a problem related to one of the layers used by WPE.

I've tested and found the same behavior with the following systems:

  • RPI3 with yocto and wpe (no special configuration or layer added) using westeros
  • RPI3 with resin and resin-wpe
  • imx6 with yocto and chromium 48

I'm assuming that it's a problem with GStreamer because it's the only layer that is shared between
a WPE yocto build for RPI3 and an IMX6 board with chromium.

Do someone has ever had this problem? The behaviour of create, remove and reallocate the video tag is because on our production application, there is always a screensaver video that is created after a inactivity timer, and it's stopped when the user touch the screen.

@kraj
Copy link
Collaborator

kraj commented Jun 22, 2018

I would suggest to run wpe under gperftools and investigate more. memory leaks are hard nuts to crack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants