mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-23 06:59:58 -05:00
examples: document how to run
This commit is contained in:
parent
68c2866f7d
commit
8693e416bc
1 changed files with 19 additions and 0 deletions
19
src/examples/README
Normal file
19
src/examples/README
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
# Running the examples
|
||||||
|
|
||||||
|
A pipewire daemon needs to be running for the examples to connect to:
|
||||||
|
|
||||||
|
``` shell
|
||||||
|
./pw-uninstalled.sh
|
||||||
|
./build/src/daemon/pipewire
|
||||||
|
```
|
||||||
|
|
||||||
|
You can then run the examples in a second terminal, for example:
|
||||||
|
|
||||||
|
``` shell
|
||||||
|
./pw-uninstalled.sh
|
||||||
|
./build/src/examples/local-v4l2
|
||||||
|
```
|
||||||
|
|
||||||
|
This assumes the development package for `SDL2` was installed, check the meson
|
||||||
|
build definition in `src/examples` to find out the dependencies for each
|
||||||
|
example.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue