mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-23 12:01:01 +00:00
764143d971
These are automatically implemented. Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/483 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1432> |
||
---|---|---|
.. | ||
signaller | ||
main.rs | ||
README.md |
WebRTCSink custom signaller
A simple application that consist of two parts:
- main executable, which demonstrates how to instantiate WebRTCSink with a custom signaller
signaller
module, which provides all the required boilerplate code and stub implementations needed to create a custom signaller
Run with:
cargo run --example webrtcsink-custom-signaller
The expected output is a not-implemented panic (from imp::Signaller::start
function):
thread 'tokio-runtime-worker' panicked at 'not implemented', net/webrtc/examples/webrtcsink-custom-signaller/signaller/imp.rs:14:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Simply implement the methods in imp.rs and you should be good to go!