webcam and audio capture

Jan Beich jbeich at vfemail.net
Wed Feb 3 17:59:34 UTC 2016


Marco Beishuizen <mbeis at xs4all.nl> writes:

> So I would like to get it to work with OSS.

virtual_oss seems to be a loopback driver useful for PCM
post-processing, input redirection, etc. If you already run a sound
server it often can do the same albeit with higher latency and more
dependencies.

Firefox Hello (like most telephony apps) allow you to choose audio input e.g,
webcam mic vs. soundcard mic. No need for virtual_oss.

> And I get the feeling that it should be relatively easy because input
> works with uTox after a small change in a config file.

uTox uses OpenAL which has OSS backend. However, WebRTC uses its own
library called audio_device which only has the following backends:

- ALSA
- PulseAudio
- sndio (since ff45, sndio -> alsa not tested)
- OpenSL
- Windows Core Audio
- Core Audio
- AV Foundation
- dummy (used by Chromium)

Feel free to implement OpenAL backend. ;)

If you don't like PulseAudio maybe try lightweight wrappers:
https://github.com/waterlaz/skype_oss_wrapper (pulse -> oss)
https://github.com/i-rinat/apulse (pulse -> alsa)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20160203/6d6a0b0c/attachment.sig>


More information about the freebsd-multimedia mailing list