From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; spf=pass (mailfrom) smtp.mailfrom=irif.fr (client-ip=2001:660:3301:8000::1:2; helo=korolev.univ-paris7.fr; envelope-from=jch@irif.fr; receiver=) Received: from korolev.univ-paris7.fr (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]) by mail.toke.dk (Postfix) with ESMTPS id 724E7849A0C for ; Wed, 12 May 2021 18:37:13 +0200 (CEST) Received: from mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [81.194.30.253]) by korolev.univ-paris7.fr (8.14.4/8.14.4/relay1/82085) with ESMTP id 14CGbDqU015561; Wed, 12 May 2021 18:37:13 +0200 Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id 22833DC791; Wed, 12 May 2021 18:37:13 +0200 (CEST) X-Virus-Scanned: amavisd-new at math.univ-paris-diderot.fr Received: from mailhub.math.univ-paris-diderot.fr ([127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id YyLA67ixNqId; Wed, 12 May 2021 18:37:11 +0200 (CEST) Received: from pirx.irif.fr (unknown [78.194.40.74]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id 3DF8BDC78B; Wed, 12 May 2021 18:37:11 +0200 (CEST) Date: Wed, 12 May 2021 18:37:11 +0200 Message-ID: <87im3noqmg.wl-jch@irif.fr> From: Juliusz Chroboczek To: err404@free.fr In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/28.0 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [194.254.61.138]); Wed, 12 May 2021 18:37:13 +0200 (CEST) X-Miltered: at korolev with ID 609C0439.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 609C0439.000 from mailhub.math.univ-paris-diderot.fr/mailhub.math.univ-paris-diderot.fr/null/mailhub.math.univ-paris-diderot.fr/ X-j-chkmail-Score: MSGID : 609C0439.000 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham Message-ID-Hash: X6G7VZX3QGGMN7S3U7HZVQBHJTBOVXHP X-Message-ID-Hash: X6G7VZX3QGGMN7S3U7HZVQBHJTBOVXHP X-MailFrom: jch@irif.fr X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: galene@lists.galene.org X-Mailman-Version: 3.3.4 Precedence: list Subject: [Galene] Re: how to share audio when screen sharing? List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: > In galene, I want present my screen, but also sharing the sound from my > computer, not only from my microphone. it is possible without trick > from the operating system? It's only supported under Windows, as far as I know. Try the following patch: diff --git a/static/galene.js b/static/galene.js index d2c614c..071f8ba 100644 --- a/static/galene.js +++ b/static/galene.js @@ -1356,7 +1356,9 @@ async function addShareMedia() { if(!('getDisplayMedia' in navigator.mediaDevices)) throw new Error('Your browser does not support screen sharing'); /** @ts-ignore */ - stream = await navigator.mediaDevices.getDisplayMedia({video: true}); + stream = await navigator.mediaDevices.getDisplayMedia({ + video: true, audio: true, + }); } catch(e) { console.error(e); displayError(e);