dh1tw / remoteAudio

Audio streaming application for Amateur Radio purposes
MIT License
166 stars 24 forks source link

Error in Windows startup #22

Closed hamav8tor closed 4 years ago

hamav8tor commented 4 years ago

Has anyone seen this error in starting up the server on a Windows 10 host?

WdmSyncIoctl: DeviceIoControl GLE = 0x00000490 (prop_set = {8C134960-51AD-11CF-878A-94F801C10000}, prop_id = 10)

This appears to be some sort of portaudio issue, though not 100% sure. Sound hardware is the built-in Elecraft K3 USB sound device.

My config file is shown below and I am starting the server with:

remoteAudio.exe server nats --config .remoteAudio.toml

Config file:

[nats] broker-url = "rover" broker-port = 4222 username = "" password = ""

[server] name = "k3" index = 1

[input-device] device-name = "default" samplerate = 48000 latency = "5ms" channels = 1 hostapi = "default"

[output-device] device-name = "default" samplerate = 48000 latency = "5ms" channels = 2 hostapi = "default"

[opus] application = "restricted_lowdelay" bitrate = 24000 complexity = 5 max-bandwidth = "wideband"

[audio] rx-buffer-length = 10 # 10x10ms (@framesize=480 & samplerate=48kHz) frame-length = 480 #10ms @ 48kHz (should work for most cases) tx-volume = 70 rx-volume = 70 stream-on-startup = false vox = false vox-threshold = 0.1 vox-holdtime = "500ms"

[http] host = "localhost" port = 9090

hamav8tor commented 4 years ago

Issue resolved...started client then went back to start server and it worked. Not sure now if the error on the server side was a transient one or not.