On 2023/03/21 05:41:37 +0000, openbsd_send <[email protected]> wrote:
> Thanks for Replay
> 
> I think "I have any miss understanding for sndiod with -L- flag" correct ?

Yes, I think you got it backward on your previous mail; it's easy to
confuse one end for the other in these cases ;-)

> and, pulseaudio "native-protocol-tcp or RTP" doesn't work on The OpenBSD ?

I don't see any reason why it shouldn't work.  My point is that
pulseaudio itself is *not used* on most stuff you'll find on OpenBSD.

OpenBSD has its own audio stack and most programs (including the
majority of the music/video players and web browsers in ports) use
sndio.  So, configuring the forwarding at the pulseaudio level doesn't
achieve anything since firefox is not using it in the first place.

> [OpenBSD remote: 192.168.2.5]
> ## x11vnc with fvwm runnning on Xvfb by xenodm
> ## and could browsing the internet by firefox-esr
> ## if transmit sound to [*BSD or Linux LOCAL:192.168.2.10]
> ## just do it...these command.
> [email protected]/0 firefox-esr
> 
> [*BSD or Linux LOCAL:192.168.2.10]
> ## waiting the sound data by the sndiod
> ## just do it...these command.
> sndiod -L-
> 
> these are correct?

Yes, it looks correct.  Depending on your workflow you may want to
export AUDIODEVICE from ~/.xsession or even set things up so it's
always defined for you user in /etc/login.conf

> I know "windows doesn't have sndiod ports and doesn't work sndiod.".
> Already I tried pulseaudio running on FreeBSD and Linux (include in Android, 
> Raspberty PI) with Windows.It could get a sound by pulseaudio...

Yes, that's because on FreeBSD and Linux it is more usual to have
pulseaudio (or I guess pipewire now?) running.  OpenBSD instead tends
to use sndio, by default at least.

> pulseaudio is transmit the sound data. between the *BSD and Linux or 
> Windows...
> I think "OpenBSD could too."...
> and /etc/pulse/default.pa have a any modules by install the packages on 
> OpenBSD...

I guess that it should work on OpenBSD too, but the majority of the
programs are not using pulseaudio.  I *guess* that you can configure
some programs to use pulseaudio if you really must...

(no idea how to do that however, I tend to avoid pulseaudio if
possible ;-)

> Almost always I use the OpenBSD...
> a few time use the Linux or Windows for somebody's tasks(include in "connect 
> the my machine by VNC")...
> And "Any time need a sound."...
> 
> I want to any ideas...

Well, on FreeBSD and some Linux distro you can install and run sndiod
from their package managers.  That leaves out Windows though.  Maybe
it could work via the linux subsystem thingy (but it's just a guess --
I don't have any Windows machine.)

Reply via email to