webrtc: Update the documentation for using embedded web services

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2487>
This commit is contained in:
Sanchayan Maity 2025-08-21 18:49:39 +05:30
parent 7f0ec3e87c
commit 69d4a2bbdc

View file

@ -95,6 +95,16 @@ prefer that a crash from the host webrtcsink doesn't take down signalling / webs
Head over to the following section if you want to learn how to run services individually.
To use the embedded web server, from the root of `net/webrtc` crate, first execute,
``` shell
cd gstwebrtc-api
npm install
npm run build
```
This generates the necessary artifacts in the `gstwebrtc-api/dist` directory.
In the terminal, from the root of the `net/webrtc` crate:
```