From owner-freebsd-multimedia@freebsd.org Wed Feb 3 17:59:34 2016 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64C94A9793D for ; Wed, 3 Feb 2016 17:59:34 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 49FDE3EC for ; Wed, 3 Feb 2016 17:59:34 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: by mailman.ysv.freebsd.org (Postfix) id 470FFA9793C; Wed, 3 Feb 2016 17:59:34 +0000 (UTC) Delivered-To: multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 459F8A9793A for ; Wed, 3 Feb 2016 17:59:34 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: from vfemail.net (onethreetwo.vfemail.net [199.16.11.132]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0188D3E9 for ; Wed, 3 Feb 2016 17:59:33 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: (qmail 69482 invoked by uid 89); 3 Feb 2016 17:59:23 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 3 Feb 2016 17:59:23 -0000 Received: (qmail 43090 invoked by uid 89); 3 Feb 2016 16:52:56 -0000 Received: by simscan 1.3.1 ppid: 43086, pid: 43089, t: 0.0031s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 3 Feb 2016 16:52:56 -0000 Received: (qmail 19155 invoked by uid 89); 3 Feb 2016 16:52:56 -0000 Received: by simscan 1.4.0 ppid: 19128, pid: 19151, t: 1.5046s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by mail.vfemail.net with ESMTPA; 3 Feb 2016 16:52:54 -0000 From: Jan Beich To: Marco Beishuizen Cc: Hans Petter Selasky , multimedia@freebsd.org Subject: Re: webcam and audio capture References: <567EBCE6.8000907@selasky.org> <56817CF2.5050404@selasky.org> <568EC542.3070307@selasky.org> <568ED8E3.7070105@selasky.org> Date: Wed, 03 Feb 2016 17:52:36 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 17:59:34 -0000 --=-=-= Content-Type: text/plain Marco Beishuizen 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) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJWsjBVXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bjbEH/1zBL4Dm+JFAgtA0XFWshqIL cqMBuL+nUKXooydXnSRrUuk/zkC3BdfECep66DEdQVdDdz/uXTiTs5eIV9UPeqsI vK3VSjuUr2dyBzmePuuPxaf580OR1iZfWIaI+A1XSCqfQD8zGW/LZFgpKydmCOu6 /Be7L2npONreUXy+TTF7iesY6PL5KsQtQHAVnuy1kWppZvF8ffAJIq4rKkwf3MPI XqbIyevqx57CMNk7fq9YAaYsrPrFn8oyScAvBKM7sFGv2Ykey5srlazrejSGOG5s 6ZovAIG/EHnK+kJGPduE8v0vPSnMm2FZgwH95prVX40ecT+DjFGm7ER0cI+tW7o= =lOZ9 -----END PGP SIGNATURE----- --=-=-=--