-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
audio packets from anonymous clients result cause segmentation fault on server #37
Comments
Hi Michael, Tobias |
Hi Tobias, actually on both devices the version was 0.5.4. Tested twice. Now I have installed version 0.5.3 on both computers - and the error does not occur. That's why I'm using this version now and I'm looking forward to version 0.5.5 ;-) vy 73 de Micha, DD0UL |
For each user an Audio Codec is created on the fly with the first received packet. The Protobuf Message contains a UserID field which should be set by the client. The UserID is used to ensure that the audio frames are correcty decoded and that simultaneously received packets from multiple users are not mixed. In case a packet with an empty UserID is received, the userID will be set to 'unknown-client' and a warning is logged.
I was able to reproduce and fix the problem. Should be solved with v0.5.5 |
FWIW, I ran into this on 0.5.4, and found two fixes ...use 0.5.5, or fill in the user= parameter in the [NATS] section info the .remoteAudio.toml file. |
Moin,
Server 1: Raspberry Pi 3 Model B Plus Rev 1.3 with Raspbian 11.3 and USB Logitech Headset (also tested with simple USB Sound Adapter)
Server 2: AMD64 Notebook with Debian 11 and internal Sound
Client: Ubuntu with pulseaudio
Nats-Server: 2.7.4 in the same network
Receiving is working fine.
As soon as a press the PTT button serverside remoteaudio crash:
This happens in every combination (server / soundcard)
Server:
pi@alschain:~ $ remoteAudio server nats -Y "PuxingPX2R" -i 'Logitech USB Headset: Audio (hw:1,0)' -o 'Logitech USB Headset: Audio (hw:1,0)' -u hermes.fritz.box
Client:
renner@solaris:~$ remoteAudio client nats -Y "PuxingPX2R" -i 'pulse' -o 'pulse' -u hermes.fritz.box
I am lost. Any hint?
The text was updated successfully, but these errors were encountered: