webrtcsink: No caps found for stream video_0 - incomplete error.
Describe your issue
When installing gst-rs-plugins with only required elements from gst-plugins-base, gst-plugins-good, and gst-plugins-bad that the plugin would not build without - webrtcsink failed to start up giving the error No caps found for stream video_0
.
Expected Behavior
Expected gst-launch-1.0 videotestsrc ! webrtcsink
to run normally if signalling server was running.
Observed Behavior
The pipeline shutting down and,
Got an error saying There is no codec present that can handle the stream's type.
and, Failed to look up output caps: No caps found for stream video_0
Setup
- Operating System: Ubuntu 20.04
- Device: Computer
- gst-plugins-rs Version: 0.12.4
- GStreamer Version: 1.24.2
- Command line: gst-launch-1.0 videotestsrc ! webrtcsink
Steps to reproduce the bug
- Install the specific plugins as mentioned only.
- open the terminal
- run the command:
gst-launch-1.0 videotestsrc ! webrtcsink
.
How reproducible is the bug?
The reproducibility of the bug is Always with the provided configuration of enabled plugins.
Screenshots if relevant
Solutions you have tried
The solution that worked was after enabling rtp
under gst-plugins-good the debug messages of webrtcsink finally said to make sure rtpmanager
under gst-plugins-good was also enabled. Upon doing so it finally worked.
But, before I figured out the need to enable rtp
by looking at the source and realizing application/x-rtp
cap was mentioned - there was no error or output to indicate I needed that.
I believe the error: There is no codec present that can handle the stream's type.
was quite misleading as it sent us on a different path to try and install all plugins and elements from gst-plugins-good and gst-plugins bad.
(Which faced further problems as we were working with nix. I find that to be unrelated to this issue)