|
|
4 роки тому | |
|---|---|---|
| .gitignore | 5 роки тому | |
| Makefile | 4 роки тому | |
| README.md | 4 роки тому | |
| audio_routing.jpg | 4 роки тому | |
| audio_routing.svg | 4 роки тому | |
| mkobssink.sh | 4 роки тому | |
| obs_video_sink_load.conf | 5 роки тому | |
| obs_video_sink_options.conf | 5 роки тому |
this repo contains configuration for a v4l2 loopback device and pulseaudio routing for streaming OBS Video and Application audio to video chat.
To install a v4l2 Dummy Device at /dev/video9 being created at boot, run:
make install
It will be named OBSSource and can be used by OBS to stream its Output to: obs-v4l2sink
Once OBS is set up, OBSSource can be selected in your video chat application.
For audio sharing support, some additional modules for pulseaudio have to be loaded:
make start
this creates an OBSCombineSink and OBSMicSource.
Any application sending audio to OBSCombineSink will play both on your primary Output and Loopback to
OBSMicSource.
OBSMicSource will also loopback your primary audio input.
To send an application's audio to your video chat,
run pavucontrol ->Playback and set its output to OBSCombineSource.
Also make sure to select OBSMicSource at your Chat application's input settings.
The Schema below shows how audio routing is realized:
re-running make start will unload all involved modules and reload them.
make stop will unload all involved modules.