Hi,
I built webrtcsink and gstwebrtc-api as described in README, and also built gst-plugins-rs/net/rtp
as suggested in https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/405.
However, when I run “gst-launch-1.0 webrtcsink name=ws meta=“meta,name=gst-stream” videotestsrc ! ws. audiotestsrc ! ws.” command from webrtc’s README, I get the following warning.
WARNING: erroneous pipeline: no element “webrtcsink”
To solve this problem, I also tried to install webrtc system-wide by running:
cd gst-plugins-rs
$ cargo cbuild -p gst-plugin-webtrc --prefix=/usr
$ cargo cinstall -p gst-plugin-webrtc --prefix=/usr
and came across the permission denied error:
Error: CliError { error: Some(failed to copy /home/gst-plugins-rs/target/x86_64-unknown-linux-gnu/release/gstrswebrtc.pc
to /usr/lib/x86_64-linux-gnu/pkgconfig/gstrswebrtc.pc
Caused by: Permission denied (os error 13)), exit_code: 101 }
Then I copied the file manually by sudo cp -i ...
. However, it still doesn’t work, the no element warning still appears. So I’m kind of clueless now…
I’m appreciate for any help