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

OOM when streaming webcam video via webrtc on iMX8M mini #335

Closed
miltechniks opened this issue Nov 18, 2021 · 3 comments
Closed

OOM when streaming webcam video via webrtc on iMX8M mini #335

miltechniks opened this issue Nov 18, 2021 · 3 comments

Comments

@miltechniks
Copy link

Hi,

I have an Issue when Streaming a video from a camera, connected via CSI to the iMX8M Mini, via webrtc to somewhere else. The Memory-Usage of the WPEWebProcess is increasing continously and after some time the system crashes. I currently can't find the cause of this increasing memory and already tested the gstreamer-pipeline which I extracted from the Log, but the pipeline runs smoothly.

With this webpage is reproduceable: cog --platform=fdo --set-permissions=all --enable-media-stream=true https://janus.conf.meetecho.com/echotest.html

That's the Pipeline I tested: gst-launch-1.0 v4l2src ! videoscale ! videoconvert ! videorate ! capsfilter ! valve ! tee ! queue ! autovideosink

Another Issue, which seems to be related to this, is that after stopping the video and restarting it again, there is no video stream anymore and the memory usage doesn't increase.

Here are the gstreamer logs: GStreamer.zip

@miltechniks
Copy link
Author

Is there any way, to get logs from the WPEWebProcess? I already tried an strace, but up to now I haven't found anything usefull in it. But here it is attached:
strace.log

@miltechniks
Copy link
Author

I reproduced the error on a Raspberry Pi 4 as well. So it's not something related to the NXP-Board and the NXP Libraries and even a newer version of Webkit doesn't fix the Issue (I tried it with commit b067fbd3e80e53b9359f99367a6c2c342cdd75ce).

@psaavedra psaavedra added the bug label Dec 9, 2021
@philn
Copy link
Member

philn commented Dec 10, 2021

This is clearly a WebKit bug, forwarded upstream: https://bugs.webkit.org/show_bug.cgi?id=234134

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

No branches or pull requests

3 participants