Wykres commitów

216 Commity (master)

Autor SHA1 Wiadomość Data
Phil Taylor fe7bdf1345 Flush buffers on excessive missing 2022-01-27 23:24:54 +00:00
Phil Taylor d29c1ddba7 More retransmit fixes 2022-01-27 23:12:07 +00:00
Phil Taylor 77b7462f74 Restore partial QT5.9 compatibility 2022-01-27 22:51:28 +00:00
Phil Taylor bce66393fb Remove unnecessary code 2022-01-27 22:44:30 +00:00
Phil Taylor 2f4fe061b3 Improve missing packet handling 2022-01-27 19:11:16 +00:00
Phil Taylor 5ae3549ba5 Treat GUID as 16 bytes rather than trying to be clever! 2022-01-23 17:54:40 +00:00
Phil Taylor 264ad231c0 Now supports multiple radios on OEM server 2022-01-23 15:06:31 +00:00
Phil Taylor 45e074783a Hopefully fix linux compile 2022-01-22 18:32:08 +00:00
Phil Taylor 39540612c7 More multi-radio support (nearly working!) 2022-01-22 15:12:36 +00:00
Phil Taylor 96de9c55fa More work on multi-radio support 2022-01-21 23:58:18 +00:00
Phil Taylor fcc7c9a5dc Lots of changes, mainly for multi-radio support 2022-01-21 19:23:32 +00:00
Phil Taylor 918238835d Catch excessive missing packets 2022-01-14 20:12:50 +00:00
Phil Taylor 317cbd640a Minor fix to retransmit handling 2022-01-14 15:49:35 +00:00
Phil Taylor e00b598fd9 Hopefully improve retransmit search 2022-01-14 14:10:21 +00:00
Phil Taylor 4696fe6824 Set buffer size with a #define 2022-01-13 21:50:43 +00:00
Phil Taylor 99ca97370b Correctly remove items from the buffers! 2022-01-13 21:12:27 +00:00
Phil Taylor 9b8221b32e Ignore wrong ping seq 2022-01-05 14:45:34 +00:00
Phil Taylor 62771f6b59 Fix silly bug in retransmit code 2021-11-18 15:17:51 +00:00
Phil Taylor 42675ae770 Add mutex for incoming audio on udp and server 2021-11-15 19:28:44 +00:00
Phil Taylor 04526db635 Try using slot for audio again 2021-11-15 15:02:00 +00:00
Phil Taylor 6f4cf6bbbe remove unneeded audio signal handler 2021-11-01 20:28:04 +00:00
Phil Taylor 4e5f315f08 Stuff audio buffer directly rather than signal/slot 2021-10-31 23:53:20 +00:00
Phil Taylor 6d0ad471c7 Remove duplicate setPriority() 2021-09-22 11:07:07 +01:00
Phil Taylor 47d9c52f87 Merge branch 'opus' 2021-08-24 09:24:25 +01:00
Phil Taylor 57b6f955c6 Set audio thread priority in the correct place! 2021-08-24 09:22:40 +01:00
Phil Taylor 58a6477f53 Set audio threads to be realtime priority 2021-08-19 16:34:04 +02:00
Phil Taylor c5c0046e3a Improve detection of unsupported codec. 2021-08-15 11:19:34 +01:00
Phil Taylor bc0d69ffb5 Merge branch 'master' into opus 2021-07-29 16:18:59 +01:00
Phil Taylor f7060edbe4 Remove typo in latency display 2021-07-08 09:28:20 +01:00
Phil Taylor aeaee8de52 Delete oldest entry from UDP buffer before adding new one. 2021-07-08 09:23:53 +01:00
Phil Taylor 0258ae8bf9 Remove extra debugging for Opus and add warning where opus isn't available 2021-06-23 20:25:45 +01:00
Phil Taylor 74382b29ee Enable FEC for Opus codec 2021-06-16 23:44:59 +01:00
Phil Taylor 4747dd4f61 Indicate when TX is not available 2021-06-10 09:20:19 +01:00
Phil Taylor 999dedac1a Show server connection status in taskbar (only for USB connected rigs) 2021-06-10 09:09:26 +01:00
M0VSE bbc81e0a88 Fix TX Audio on Linux 2021-06-06 22:11:48 +01:00
Phil Taylor 24ce16b0b9 Add QtMultimedia as default audio 2021-06-04 08:24:26 +01:00
Phil Taylor 35dd0c9c62 Fix for crashing pty on mac 2021-05-31 17:55:01 +01:00
Phil Taylor 7eeb5f08db Merge branch 'master' into rtaudio 2021-05-29 09:17:07 +01:00
Phil Taylor ba714adb38 Update udphandler.cpp 2021-05-28 10:48:04 +01:00
Phil Taylor 366c2d74f7 Change toolbar display formatting 2021-05-28 10:45:09 +01:00
Phil Taylor 2bad85bb35 udpserver fixes 2021-05-27 18:34:44 +01:00
Phil Taylor b9c5194867 udpServer fixes 2021-05-27 17:59:01 +01:00
Phil Taylor 0c7892bd82 Add tx audio 2021-05-27 13:54:52 +01:00
Phil Taylor 596f2739b9 Use ring buffer with rtaudio to eliminate mutexes 2021-05-27 11:41:08 +01:00
Phil Taylor f22f4224dd Merge branch 'lan-alpha' into rtaudio 2021-05-22 21:09:04 +01:00
Phil Taylor 5ee6ff48ba Add debugging and fix silly error in audiooutput combobox 2021-05-22 17:02:51 +01:00
Phil Taylor cbad7e55fc Attempt to fix crash 2021-05-22 14:58:52 +01:00
Phil Taylor 0bbb9017c9 Stop audiohandler re-enumerating devices on connect. 2021-05-22 10:43:57 +01:00
Phil Taylor b669605e11 Add baud rate detection for remote rigs 2021-05-21 16:30:52 +01:00
Phil Taylor ff3eecdfed Flush buffers if too many lost packets. 2021-05-18 15:41:27 +01:00
Phil Taylor 369ba90897 Allow receive only in udpHandler 2021-05-18 09:32:56 +01:00
Phil Taylor bada37acdf Make audio input buffer a qMap 2021-05-17 16:19:36 +01:00
Phil Taylor 02b9311931 Use qMap instead of qVector for buffers as they are auto-sorted. 2021-05-17 16:03:53 +01:00
Phil Taylor 57bffd73a2 More rtaudio stuff 2021-05-16 21:16:59 +01:00
Phil Taylor 8f135b8ddd Add --debug option to increase debugging for release builds 2021-05-15 18:53:16 +01:00
Phil Taylor d593fb9ac3 Fix CI-V packet length bug in udphandler 2021-05-13 23:15:03 +01:00
Phil Taylor 8a979d56ef Fix crash when radio is shutdown while wfview is connected. 2021-03-29 09:38:31 +01:00
Phil Taylor a8e895e654 Allow user to configure client name 2021-03-27 16:07:17 +00:00
Phil Taylor c2091e9c4e Add local volume control for UDP connections. 2021-03-22 18:53:34 +00:00
Phil Taylor 8583973ca8 Add USB audio handling to UDP server 2021-03-22 09:10:03 +00:00
Phil Taylor 03de9b0dfd Small fix for audio packet handling 2021-03-14 08:44:30 +00:00
Phil Taylor 3187651098 Revert changing hex to Qt:hex as Qt:hex not exposed in earlier Qt namespace 2021-03-13 18:56:19 +00:00
Phil Taylor 7f4be42331 Fix some compile warnings and deprecation. 2021-03-13 16:56:48 +00:00
Phil Taylor 18fe0cba2e Fixes for MacOS 2021-03-13 09:23:06 +00:00
Phil Taylor a0f4a4deeb Add audio resampler 2021-03-09 17:22:16 +00:00
Phil Taylor 5911af1717 Missing file from last commit! 2021-03-06 14:40:43 +00:00
Phil Taylor f5117fd921 Add separate mutex for udp/buffers. 2021-03-03 09:50:15 +00:00
Phil Taylor a254a937ff Allow selection of audio input and output devices for UDP Audio 2021-03-01 20:31:05 +00:00
Phil Taylor 91a60bf918 Create udpPreferences struct and remove civPort and audioPort from UI 2021-03-01 19:53:12 +00:00
Phil Taylor f82e2c9746 Second attempt to fix Linux warnings 2021-02-28 20:15:34 +00:00
Phil Taylor 844214126d Fix inevitable Linux compile warnings 2021-02-28 20:13:45 +00:00
Phil Taylor aef03a6b7e Add audio handling to UDP server 2021-02-28 20:10:07 +00:00
Phil Taylor e593e5e90a Change TX audio to use timed buffer. 2021-02-27 09:34:56 +00:00
Phil Taylor 27eb855adb Create rx audio packets with timestamp
Lots of other changes but if this works OK, I will update tx audio to use the same system.
2021-02-27 00:37:00 +00:00
Phil Taylor 6d8d1df45e Mitigate potential empty buffer crash. 2021-02-26 16:53:11 +00:00
Phil Taylor f54e7e646a Possible fix for Linux audio 2021-02-26 09:44:01 +00:00
Phil Taylor ea32c7f097 Various fixes and add watchdog in case of loss of civ or audio. 2021-02-25 17:53:01 +00:00
Phil Taylor b1d174b0a1 Send "are you there" packets on a timer until "I am here is received" 2021-02-25 11:13:18 +00:00
Phil Taylor 6f6145f726 Many changes to mitigate network instability 2021-02-24 22:56:40 +00:00
Phil Taylor ffc62213cd Fix lockup to 785x 2021-02-24 11:00:23 +00:00
Phil Taylor ef79801081 Add logging categories 2021-02-23 21:21:22 +00:00
Phil Taylor 80148a84bf More fixes to retransmit logic 2021-02-23 20:48:53 +00:00
Phil Taylor ae3005b8f8 Changes to retransmit code 2021-02-22 22:25:09 +00:00
Phil Taylor 7d5a066108 Small fix when requesting stream 2021-02-21 15:06:27 +00:00
Phil Taylor ba0509ba61 Fix txaudio and move udphandler into its own thread 2021-02-21 14:53:42 +00:00
Phil Taylor 4e6d4d5faa Some more packet type fixes and make it not disconnect other users from the radio. 2021-02-21 01:18:14 +00:00
Phil Taylor 938a9f1d1b Add another missing break 2021-02-20 20:27:35 +00:00
Phil Taylor 86d0443fac add break to case statement 2021-02-20 20:23:21 +00:00
Phil Taylor 258b56fc58 Fix tx audio packet 2021-02-20 20:19:18 +00:00
Phil Taylor df2c76588d Change the way that packets are handled
Packets can now be cast to a union of structs that allows each part to be accessed individually. Still a work in progress!
2021-02-20 18:29:23 +00:00
Phil Taylor af314599e8 Fix ping sending that I broke! 2021-02-18 19:12:27 +00:00
Phil Taylor b7164d762c Fix for endian-ness of packets 2021-02-18 17:44:11 +00:00
Phil Taylor 61d06213ad Create all UDP packets using a less error-prone method 2021-02-18 15:54:26 +00:00
Phil Taylor e3b3d2a3f4 server now accepting civ/audio connection. 2021-02-17 23:10:26 +00:00
Phil Taylor 87f41cc20a Fix mixed endianness and change how password is encoded 2021-02-15 19:28:17 +00:00
Phil Taylor dce5d93a6c Starting to create udp server 2021-02-14 18:32:58 +00:00
Phil Taylor 4d4a688733 Change token message 2021-02-14 16:23:25 +00:00
Phil Taylor 192bcb0741 Fix packet loss counter 2021-02-14 16:14:56 +00:00
Phil Taylor 3de45a8f2c Some code tidying and get rid of some Windows compile warnings 2021-02-14 15:30:34 +00:00
Phil Taylor f62077eb28 Add packet loss and remove retransmission warnings 2021-02-14 10:40:47 +00:00