webrtcsink: Cannot run example
Hi,
I tried example from README and i cannot make it running. Below what i get after selecting stream in web browser:
Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Redistribute latency... 0:00:03.7 / 99:99:99. (gst-launch-1.0:451007): webrtcsink-WARNING **: 15:05:10.925: The
rtpgccbweelement is not available not doing any congestion control: BoolError { message: "Failed to find element factory with name 'rtpgccbwe' for creating element", filename: "/home/mikoma/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/9deb507/gstreamer/src/element_factory.rs", function: "gstreamer::element_factory::ElementBuilder::build::{{closure}}", line: 295 } thread 'async-std/runtime' panicked at 'called
Option::unwrap()on a
Nonevalue', net/webrtc/src/webrtcsink/imp.rs:865:14 note: run with
RUST_BACKTRACE=1environment variable to display a backtrace
and after sending Crtl + C
^C handling interrupt. Interrupt: Stopping pipeline ... Execution ended after 0:00:06.113838253 Setting pipeline to NULL ... thread '<unnamed>' panicked at 'called
Result::unwrap()on an
Errvalue: PoisonError { .. }', net/webrtc/src/webrtcsink/imp.rs:1211:43 ERROR: from element /GstPipeline:pipeline0/GstWebRTCSink:webrtcsink0: GStreamer encountered a general supporting library error. Additional debug info: /home/mikoma/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/9deb507/gstreamer/src/subclass/element.rs(443): gstreamer::subclass::element (): /GstPipeline:pipeline0/GstWebRTCSink:webrtcsink0: Panicked: called
Result::unwrap()on an
Errvalue: PoisonError { .. } An error happened while waiting for EOS ERROR: from element /GstPipeline:pipeline0/GstWebRTCSink:webrtcsink0: GStreamer encountered a general supporting library error. Additional debug info: /home/mikoma/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/9deb507/gstreamer/src/subclass/element.rs(443): gstreamer::subclass::element (): /GstPipeline:pipeline0/GstWebRTCSink:webrtcsink0: Panicked An error happened while waiting for EOS Freeing pipeline ... ^C
Gstreamer version: 1.20.3 System: Ubuntu 22.04.1 LTS, x86_64
I found simmilar problem in issues but without clear resolve :C