Commit graph

47 commits

Author SHA1 Message Date
Nonoo 7b6194a702 Fix function and result names 2020-11-21 18:48:24 +01:00
Nonoo 7102938893 Reduce RX buffer sizes 2020-11-21 18:46:37 +01:00
Nonoo f870a0f7c4 Revert "Remove other out of order check"
This reverts commit 69375f7915.
2020-11-21 18:43:49 +01:00
Nonoo 69375f7915 Remove other out of order check 2020-11-21 11:43:12 +01:00
Nonoo bed7d95f7c Decrease latency of RX seqbuf 2020-11-21 11:01:37 +01:00
Nonoo 0888eea5a6 Display running time when there's an audio stream timeout 2020-11-14 10:11:15 +01:00
Nonoo cf79868ae1 Increase audio stream timeout 2020-11-03 14:05:01 +01:00
Nonoo 1a30f43cb0 Fine tune buffer lengths 2020-10-29 17:05:40 +01:00
Nonoo 9c8e356a21 Init virtual sound card, serial port and serial port TCP server only once
We init only once with the first device name we acquire, so apps using these
interfaces won't have issues with the interface going down while the app is
running.
2020-10-28 22:32:45 +01:00
Nonoo 34f690484b Remove server audio time logging 2020-10-28 18:04:12 +01:00
Nonoo bbcde03608 Restructure status log handling 2020-10-28 18:03:35 +01:00
Nonoo 330f6175de Add (inactive) drop test for debugging purposes 2020-10-28 16:40:58 +01:00
Nonoo 7ec72ecd5e Use buffer length recommended by the official app 2020-10-28 16:39:21 +01:00
Nonoo c0afc17190 Filter late retransmitted packets 2020-10-26 17:43:22 +01:00
Nonoo d3ddee359a Report packet loss percentage in status 2020-10-26 15:17:16 +01:00
Nonoo f42efc1f04 Use some constants 2020-10-26 10:33:24 +01:00
Nonoo 49d6fcab4b Restructure stream inits 2020-10-26 09:13:30 +01:00
Nonoo d2efa14e9c Move log into the main package 2020-10-26 09:09:30 +01:00
Nonoo d764108359 Move common stuff 2020-10-26 08:56:30 +01:00
Nonoo cec92f6fd8 Remove debug message 2020-10-25 20:43:44 +01:00
Nonoo a99478f297 Use the pkt0 tracker for sending audio data, so retransmissions can be requested by the radio 2020-10-25 20:41:38 +01:00
Nonoo 8d2d81d3a9 Move function to common 2020-10-25 18:29:31 +01:00
Nonoo c5e4ad2230 Move retransmit send functions 2020-10-25 18:02:23 +01:00
Nonoo 094b0f01ab Send retransmit requests for missing audio frames 2020-10-25 17:54:48 +01:00
Nonoo 89c57a6a6e Make the login process more reliable 2020-10-23 22:52:14 +02:00
Nonoo f79d23f755 Add support for restarting the whole process on failure 2020-10-23 14:00:59 +02:00
Nonoo 9dbd5760ce Use radio name for pulse dev description 2020-10-21 16:09:10 +02:00
Nonoo 0678ac84bb Turn off ping timeout checks 2020-10-20 19:47:25 +02:00
Nonoo 030acc7e86 Add module name to errors 2020-10-20 17:50:50 +02:00
Nonoo e484a51c31 Add audio recording 2020-10-20 16:04:35 +02:00
Nonoo fed1672c0d Add audio playback 2020-10-20 15:23:12 +02:00
Nonoo d6217fe706 Add using rx seqbuf 2020-10-20 14:14:05 +02:00
Nonoo 1f601c11c7 Add retransmit request functions 2020-10-20 11:44:07 +02:00
Akos Marton cbfe35a7de Add audio pipes 2020-10-20 09:47:42 +03:00
Nonoo 91166ca937 Use the exit handler 2020-10-19 09:45:49 +02:00
Nonoo 6f2826c134 Cleanup 2020-10-18 21:35:36 +02:00
Nonoo 2df73b2811 Add PCM data send functions 2020-10-18 20:09:12 +02:00
Nonoo 547462a624 Fix lost audio packets message when reopening a stream 2020-10-18 18:59:23 +02:00
Nonoo 5037ce56f2 Send disconnect on startup if stream is still active 2020-10-18 18:34:22 +02:00
Nonoo 5ce78b74d1 Add received audio data handling 2020-10-18 15:40:25 +02:00
Nonoo dec1be0c41 Move pkt7 handling to a separate file 2020-10-18 14:21:58 +02:00
Nonoo 4612aaeba3 Rewrite missing packet calculation 2020-10-18 13:52:38 +02:00
Nonoo c80ecd2d3b Add audio stream close 2020-10-18 13:19:52 +02:00
Nonoo 91b3eb7358 Make opening serial/audio stream consistent 2020-10-18 12:50:09 +02:00
Nonoo bfb7789996 Use stream name in common logging 2020-10-18 11:17:40 +02:00
Nonoo df47a24a6d Cleanup 2020-10-18 11:01:53 +02:00
Nonoo 3e92a8add6 Clarify type names 2020-10-18 10:33:47 +02:00