mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-01 17:31:10 +00:00
Add Rust instructions to README.md
This commit is contained in:
parent
738e969a06
commit
adadc2de63
1 changed files with 6 additions and 4 deletions
|
@ -76,14 +76,16 @@ $ gcc webrtc-sendrecv.c $(pkg-config --cflags --libs gstreamer-webrtc-1.0 gstrea
|
||||||
|
|
||||||
> The python version requires at least version 1.14.2 of gstreamer and its plugins.
|
> The python version requires at least version 1.14.2 of gstreamer and its plugins.
|
||||||
|
|
||||||
|
#### Running the Rust version
|
||||||
|
|
||||||
|
* Install a recent Rust toolchain, e.g. via [rustup](https://rustup.rs/).
|
||||||
|
* Run `cargo build` for building the executable.
|
||||||
|
* Run `cargo run -- --peer-id=ID` with the `id` from the browser. You will see state changes and an SDP exchange.
|
||||||
|
|
||||||
With all versions, you will see a bouncing ball + hear red noise in the browser, and your browser's webcam + mic in the gst app.
|
With all versions, you will see a bouncing ball + hear red noise in the browser, and your browser's webcam + mic in the gst app.
|
||||||
|
|
||||||
You can pass a --server argument to all versions, for example `--server=wss://127.0.0.1:8443`.
|
You can pass a --server argument to all versions, for example `--server=wss://127.0.0.1:8443`.
|
||||||
|
|
||||||
<!---
|
|
||||||
TODO: Port to Rust.
|
|
||||||
-->
|
|
||||||
|
|
||||||
### multiparty-sendrecv: Multiparty audio conference with N peers
|
### multiparty-sendrecv: Multiparty audio conference with N peers
|
||||||
|
|
||||||
* Build the sources in the `gst/` directory on your machine
|
* Build the sources in the `gst/` directory on your machine
|
||||||
|
|
Loading…
Reference in a new issue