-
Notifications
You must be signed in to change notification settings - Fork 534
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
WebRTC videotestsrc freezes with gst-launch-1.0 but not with gst-launch-0.10 #251
Comments
did you try setting |
which browsers did you try? |
So
Same behaviour. I tested Firefox, and the device doesn't show up in Chromium (looks like the Chromium bug linked to in #78). Surprisingly, it does show up in jitsi-meet which is an Electron app, and the video preview shows a running |
just to be sure: you did unload the |
Yes I did
Edit: add logs Edit 2: (I get that you check for this!) |
I should add that in both cases (GStreamer 0.10 and 1.0) VLC can read the capture device and the video plays (so it's only when reading it in Firefox that I see this behaviour). Could VLC help me debug this? Edit: phrasing |
Not related to this thread but max_buffers=2 solved some issues on my pipeline. Also, will be nice to make MAX_DEVICES configurable too. |
I also have this issue
I also loaded the module with max_buffers=2 to no avail. |
First of all, thanks for the great module! Lots of fun stuff can be done with this. Now I've been all over SO and the issues here, to no avail with this.
Environment
v4l2loopback
version: 0.12.3Linux keon 4.19.99-1-lts #1 SMP Mon, 27 Jan 2020 21:30:28 +0000 x86_64 GNU/Linux
Problem
Ultimately, I want to feed GStreamer's
videotestsrc
to a WebRTC conference (videotestsrc
for now, and ultimately an incoming RTMP stream).To test using
videotestsrc
as a webcam in the browser, I run:Then I open the following webpage:
In the browser, the v4l2loopback device appears as an option for webcams, so I select it.
Observed Results
A single video frame is shown (the test pattern) after which the video freezes. I expect the video to run.
If instead I use
gst-launch-0.10 videotestsrc ! v4l2sink device=/dev/video2
(so GStreamer 0.10), the video plays in the browser.Relevant logs
In case the caps used are useful:
The text was updated successfully, but these errors were encountered: