Commit graph

31 commits

Author SHA1 Message Date
a7c1bba666 reorganised some parts of the code
Utils moved to subdirectories
Task activation have been moved to static member of the Task class, instead of being manually activated.
2024-11-26 21:57:37 +01:00
61a57a7529 added backend for AES / RSA encryption, implemented variable size packets. 2024-11-26 09:29:56 +01:00
523c86237c peer now calculate an asymetric private and public key, for future encrypted communication. 2024-11-17 22:34:52 +01:00
7871a4f4dd simplified some constructor syntax, made the "id" value of a peer not required for the program to work correctly (id will be removed later) 2024-11-17 14:21:49 +01:00
11e4861082 improved latency before playing an audio
prevented playing packets that are too old to avoid offset
2024-11-14 13:24:49 +01:00
3c044249f4 improved messages and structure of the program 2024-11-11 13:39:13 +01:00
454e86a982 fixed small overflow in the serialization 2024-11-11 13:22:16 +01:00
cd239e1eea improved packet serialization and readability 2024-11-11 13:20:23 +01:00
349e807649 fixed IPv6 mode not receiving loopback messages 2024-11-11 10:02:50 +01:00
05142cbb1f fixed IPv6 mode not being able to receive response 2024-11-10 19:26:21 +01:00
5567ad0df0 added argparse 2024-11-10 15:05:32 +01:00
ec72e8888b improved program startup stability 2024-11-10 14:45:27 +01:00
0745b725a7 use broadcast address 2024-11-10 13:09:58 +01:00
3d38302e2f fixed audio not being received properly. 2024-11-09 14:19:26 +01:00
724cad320f added an id system to the peers 2024-11-08 16:29:11 +01:00
bea5704282 improved StatList behavior 2024-11-08 00:14:39 +01:00
1c5442c267 moved sleep into the tasks instead of the event loop 2024-11-06 23:53:25 +01:00
4f84c8186a added timestamp to broadcast search message 2024-11-06 15:52:56 +01:00
aa24bb3509 continued developping the undefined task behavior 2024-11-06 00:08:29 +01:00
93f8701ac5 fixed missing include, added context to tasks. 2024-11-05 14:58:31 +01:00
218ee71118 reorganised the way the program share data (Context, Peer, RemotePeer) 2024-11-04 23:40:40 +01:00
23732795d0 restructured the program 2024-11-04 00:01:48 +01:00
824a48f8d2 fixed the sampleFormat size used in the frames calculation 2024-10-22 20:21:29 +02:00
c3c452ff5d audio settings can now change dynamically 2024-10-22 20:14:45 +02:00
21f14948b9 improved error message 2024-10-22 12:10:45 +02:00
33033b0c96 added a small fix : if a new audio shall be played now, immediately stop the previous audio and play the new one instead 2024-10-22 12:04:05 +02:00
73be1f9a80 cleaned some messages and improved the documentation 2024-10-22 12:03:24 +02:00
b8edda302d splitted the client player and receiver into two distinct threads 2024-10-21 22:05:19 +02:00
ced6dea00e implemented schedule and queue system to make the audio play at a specific time 2024-10-21 20:56:00 +02:00
145d4b8c2c splitted the program into a server and a client, communicating through sockets. 2024-10-13 23:07:08 +02:00
270017b1d3 example of playing audio in chunk 2024-10-13 16:58:43 +02:00