From fe4273ca2ac60c1254a286297c13ea7823b8e6f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Brzezi=C5=84ski?= Date: Fri, 29 Sep 2023 17:03:21 +0200 Subject: [PATCH] webrtc: Fix paths in README Part-of: --- net/webrtc/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/webrtc/README.md b/net/webrtc/README.md index bc3a3d63..f10806ef 100644 --- a/net/webrtc/README.md +++ b/net/webrtc/README.md @@ -85,6 +85,7 @@ cargo build Open three terminals. In the first one, run the signalling server: ``` shell +cd signalling WEBRTCSINK_SIGNALLING_SERVER_LOG=debug cargo run --bin gst-webrtc-signalling-server ``` @@ -99,7 +100,7 @@ npm start In the third one, run a webrtcsink producer from a GStreamer pipeline: ``` shell -export GST_PLUGIN_PATH=$PWD/target/debug:$GST_PLUGIN_PATH +export GST_PLUGIN_PATH=/target/debug:$GST_PLUGIN_PATH gst-launch-1.0 webrtcsink name=ws meta="meta,name=gst-stream" videotestsrc ! ws. audiotestsrc ! ws. ``` @@ -114,7 +115,7 @@ a GStreamer pipeline. Click on the "Start Capture" button and copy the Then open a new terminal and run: ``` shell -export GST_PLUGIN_PATH=$PWD/target/debug:$GST_PLUGIN_PATH +export GST_PLUGIN_PATH=/target/debug:$GST_PLUGIN_PATH gst-launch-1.0 playbin uri=gstwebrtc://127.0.0.1:8443?peer-id=[Client ID] ```