<div dir="ltr">One alternative solution is configuring a proxy on computer B to route all specific domain requests through A, using WebRTC on each computer, capture the video and audio on computer A, test the volume using Web Audio API AnalyzerNode, adjust the volume accordingly, add the track to the MediaStream that is played on computer B. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 19, 2021 at 6:53 PM Matt Garman <<a href="mailto:matthew.garman@gmail.com">matthew.garman@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">If you can login as your child (i.e., same user account as him) on his<br>
Linux system (ssh with X forwarding), then you should be able to run<br>
"pavucontrol". Loosely speaking, pavucontrol is to Pulse Audio as<br>
alsamixer is to ALSA. It's a GUI app. I'm not sure if there exists a<br>
strictly text equivalent of pavucontrol.<br>
<br>
There is also a commandline tool call "pactl". This would allow you<br>
to control the Pulse Audio daemon on your child's computer without a<br>
GUI (though there is a bit of a learning curve).<br>
<br>
<br>
On Tue, Jan 19, 2021 at 12:13 PM Christian Schmitz <<a href="mailto:list@schweb.com.ar" target="_blank">list@schweb.com.ar</a>> wrote:<br>
><br>
> Hi everyone:<br>
><br>
> I am in the office with my computer ( Linux tumbleweed), and my kid of 3 years<br>
> old is in another computer showing videos from youtube. Both computer have a<br>
> normal user sound configuration ( each computer playing their own sound).<br>
><br>
> Some videos are quieter and another are very loudness. With my first kid (10<br>
> years back) i do:<br>
> 1)SSH as root<br>
> 2)amixer and upper or lower the volume.<br>
><br>
> Now i cant find a way to do this with pulseaudio. If i do<br>
> 1)I do ssh as root successfully<br>
> 2)<br>
> 2.1) # amixer<br>
> ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection<br>
> refused<br>
><br>
> 2.2) # alsamixer<br>
> ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Conexión<br>
> negada (Connection refused in spanish)<br>
><br>
><br>
> 2.3) if i do sudo to the same linux user that is showing the video:<br>
><br>
> user@computer> amixer<br>
> XDG_RUNTIME_DIR (/run/user/0) is not owned by us (uid 1001), but by uid 0!<br>
> (This could e.g. happen if you try to connect to a non-root PulseAudio as a<br>
> root user, over the native protocol. Don't do that.)<br>
> ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection<br>
> refused<br>
><br>
> How i can control the sound volume of my kid from my computer?<br>
><br>
> Thanks all<br>
> Christian Schmitz<br>
><br>
> --<br>
> Be Free, Be Linux<br>
> _______________________________________________<br>
> pulseaudio-discuss mailing list<br>
> <a href="mailto:pulseaudio-discuss@lists.freedesktop.org" target="_blank">pulseaudio-discuss@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a><br>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org" target="_blank">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a><br>
</blockquote></div>