IMPORTANT: this is now archived in favor of https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/tree/main/net/webrtc/examples/webrtcsink-custom-signaller
This is a simple example to demonstrate how to use webrtcsink with a custom signaller implementation.
Run with:
cargo run
The expected output is a not-implemented panic:
thread 'async-std/runtime' panicked at 'not implemented', src/signaller/imp.rs:11:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Simply implement the methods in [src/signaller/imp.rs] and you should be good to go!