mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-15 08:56:38 -05:00
doc: add video capture tutorial
This commit is contained in:
parent
f78e44c28a
commit
9c049f23ae
3 changed files with 372 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ Now we're ready to connect the stream and run the main loop:
|
|||
pw_main_loop_run(data.loop);
|
||||
```
|
||||
|
||||
To connect we speficy that we have an `PW_DIRECTION_OUTPUT` stream. `PW_ID_ANY`
|
||||
To connect we specify that we have an `PW_DIRECTION_OUTPUT` stream. `PW_ID_ANY`
|
||||
means that we are ok with conneting to any consumer. Next we set some flags:
|
||||
|
||||
* `PW_STREAM_FLAG_AUTOCONNECT` automatically connect this stream. This instructs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue