Phil Taylor
921bf2025b
Add connection speed detection and connection timeout
2021-02-14 07:53:55 +00:00
Phil Taylor
67d6d06a9a
Try to fix token renewal failure
2021-02-14 07:15:49 +00:00
Phil Taylor
d9b280cdcf
Complete rework of UdpHandler
...
Only tested on Windows so far but should be more in-line with the native implementation
2021-02-13 23:25:24 +00:00
Phil Taylor
941c586243
Yet more audio fixes
2021-02-13 11:04:26 +00:00
Phil Taylor
7dc580ce9c
Another TX audio fix
2021-02-12 23:56:02 +00:00
Phil Taylor
f83f40bee8
Test tx audio sending (again)
2021-02-12 20:42:56 +00:00
Phil Taylor
5a55d5fd3d
Fix for remote connection IP detection
2021-02-12 14:46:02 +00:00
Phil Taylor
62d0c1d681
Update udphandler.cpp
2021-02-12 14:31:26 +00:00
Phil Taylor
dc151f5268
Always use 16bit samples internally
2021-02-12 14:28:55 +00:00
Phil Taylor
06105c0e6b
Hopefully now fixed linux TX!
2021-02-12 12:53:35 +00:00
Phil Taylor
3ea7a9b8ed
Update udphandler.cpp
2021-02-12 12:44:10 +00:00
Phil Taylor
66f35dbe7f
Update udphandler.cpp
2021-02-12 12:26:32 +00:00
Phil Taylor
1b0160b18c
Update udphandler.cpp
2021-02-12 12:24:45 +00:00
Phil Taylor
be6c55bfde
Delete duplicate rxaudio signal
2021-02-12 11:04:42 +00:00
Phil Taylor
00a55ef4b0
Merge branch 'lan-alpha' of https://gitlab.com/eliggett/wfview into lan-alpha
2021-02-12 11:03:08 +00:00
Phil Taylor
9648211739
Add a bit more debugging for TX audio
2021-02-12 09:20:15 +00:00
Elliott Liggett
55983bfa66
Found two connections that were the same, commented out one of the two
...
RxAudio setup connections.
2021-02-11 18:49:56 -08:00
Elliott Liggett
ce5c6e3c7f
Minor change from setupAudio to setupRxAudio within the udpAudio signal
...
slot connection.
2021-02-11 18:44:47 -08:00
Phil Taylor
20e681dc91
Merge remote-tracking branch 'origin/ui-enhance' into lan-alpha
2021-02-11 19:47:29 +00:00
Phil Taylor
b7f8ad1dee
Add initial TX audio support
2021-02-11 19:18:35 +00:00
roeland jansen
53fd008f3a
Added support for various spectrum sizes and rig capability support.
...
wfview has been tested with the following Icom radios over USB port:
IC-7300, IC-7610, IC-7851 (and IC-7850), and IC-9700. It likely works
fine with the IC-705 as well. At this time, the rig's CIV address must
be changed in the preference file to indicate the rig you are using, and
this must be in integer, not hex.
2021-02-10 17:32:56 +00:00
Phil Taylor
b8fe90ebc0
Fix location of received devname.
2021-02-09 13:57:03 +00:00
Phil Taylor
e6dee05ab1
Add support for codec/bitrate selection
2021-02-09 12:43:28 +00:00
Phil Taylor
228fb07eed
Add audio buffersize slider and ability to select samplerate and number of channels.
2021-02-08 16:53:26 +00:00
Phil Taylor
b6ad6218e1
Fix for audio latency?
2021-02-08 12:38:30 +00:00
Phil Taylor
9078ee79bb
Start the audio thread!
2021-02-08 11:14:17 +00:00
Phil Taylor
563b7feb1c
Remove IP address from inuse detection
2021-02-08 10:23:23 +00:00
Phil Taylor
f1817874b5
Fix audio thread crash on exit
2021-02-08 10:22:20 +00:00
Elliott Liggett
6fee18df9a
Moved audio to separate thread.
2021-02-08 00:31:48 -08:00
Phil Taylor
84f10fe238
Ignore non-IPv4 addresses
2021-02-07 19:09:19 +00:00
Phil Taylor
33821e0515
Allow hostname or ip address for radio.
2021-02-07 18:46:47 +00:00
Phil Taylor
3fe60decea
Add checking that IP address matches
2021-02-07 18:13:22 +00:00
Phil Taylor
136c176cbb
Don't connect if radio is in use
2021-02-07 17:40:38 +00:00
Phil Taylor
fdda23c21f
Allow connect/disconnect
...
Not tested on serial connection!
2021-02-07 12:59:41 +00:00
Phil Taylor
8b6cc02b9e
Fix the fixed port fix!
2021-02-07 07:34:06 +00:00
Phil Taylor
e7685147ba
Remove hard-coded ports in sendRequestSerialAndAudio()
2021-02-06 20:08:58 +00:00
Phil Taylor
ee9517159a
Fix for pkt7 (ping) requests and improve rtt counter
2021-02-06 10:54:20 +00:00
Phil Taylor
f2d32b143f
Rename latency to rtt
2021-02-05 21:25:03 +00:00
Phil Taylor
5daf846602
Add network latency measurement
2021-02-05 21:23:00 +00:00
Phil Taylor
8dd8b3a088
Add widget to rhs of statusBar
2021-02-05 20:26:18 +00:00
Phil Taylor
163af0be66
Add audio destructor to delete buffer and fix lots of missing braces
2021-02-05 17:40:58 +00:00
Phil Taylor
90f8cb91c1
Another try for retransmit!
2021-02-05 15:49:08 +00:00
Phil Taylor
415c499238
Remove unnecessary buffer debug message
2021-02-05 14:38:30 +00:00
Phil Taylor
fc69c9d151
Put wf data back!
2021-02-05 14:33:07 +00:00
Phil Taylor
f7945bffd4
Stop infinite growth of audio buffer
2021-02-05 14:30:50 +00:00
Phil Taylor
1ab4ad94f9
Fixes to retransmit feature
2021-02-05 13:16:48 +00:00
Phil Taylor
aa913167ef
Merge branch 'lan-alpha' of https://gitlab.com/eliggett/wfview into lan-alpha
2021-02-05 10:45:37 +00:00
Phil Taylor
112706e2b2
Add credit for Kappanhang
2021-02-05 10:45:19 +00:00
roeland jansen
c427d93008
changed the audio->setBufferSize from 6000 to 10000 as 6000/8000 gave too many pops, clicks and other dropouts of audio
2021-02-05 10:41:32 +00:00
Elliott Liggett
1a1b7d0673
Adopted closing scheme for linux by default (may remove #ifdef soon).
...
Changed default buffer size on receive audio to 6ksamples, which is
0.125 seconds. Added debug info for audio.
2021-02-04 22:06:48 -08:00
Phil Taylor
3791c68f5d
Lots of <static_cast> additions!
2021-02-04 21:12:38 +00:00
Phil Taylor
ea1537a006
More linux compile fixes after code tidy.
2021-02-04 20:20:23 +00:00
Phil Taylor
d172b2ec75
Fix linux compile error
2021-02-04 20:09:09 +00:00
Phil Taylor
fe7fc46301
Better error messages and more udp code cleanup
2021-02-04 19:53:48 +00:00
Phil Taylor
33b55f8bbf
Remove duplicate code from DataReceived() functions
2021-02-04 18:52:00 +00:00
Phil Taylor
7fd165aefd
Merge branch 'lan-alpha' of https://gitlab.com/eliggett/wfview into lan-alpha
2021-02-04 16:07:08 +00:00
Phil Taylor
45c3adb958
More retransmit fixes
2021-02-04 16:06:55 +00:00
roeland jansen
934edbea92
fixing typo in debug message
2021-02-04 15:44:28 +00:00
Phil Taylor
215c8863e9
More debugging for retransmit
2021-02-04 13:33:58 +00:00
Phil Taylor
4d0ef4fdc0
Implement single packet retransmit
2021-02-04 13:12:08 +00:00
Elliott Liggett
c9fdda4f93
removed accidental merge garbage. oops.
2021-02-03 22:07:12 -08:00
Elliott Liggett
a1a1a03580
Merge of local changes, including rejection of brodcast echos.
...
Merge branch 'lan-alpha' of gitlab.com:eliggett/wfview into lan-alpha
2021-02-03 22:04:50 -08:00
Elliott Liggett
fff8a6b6a3
Fixed situation where broadcast commands from wfview that were echo'd
...
back to wfview were parsed. Minor change to udphandler.cpp to remove
_sleep() calls (they can be later replaced with either qt's threading
library sleep call, or the unix-native usleep/msleep calls, if windows
has those. Also did a minor thing with a type conversion in udphandler.
2021-02-03 22:00:13 -08:00
Phil Taylor
65f5486c5b
Attempt to call rig destructor on exit, and remove windows specfic _sleep()
2021-02-03 23:58:11 +00:00
Phil Taylor
5566518d44
Remove hard-coded local IP address!
2021-02-03 20:10:21 +00:00
Phil Taylor
6e074375e7
Add udphandler classes
2021-02-03 20:00:40 +00:00