Commit graph

51 commits

Author SHA1 Message Date
badaix
c01ba2bdde Fix includes 2023-01-22 21:30:11 +01:00
badaix
e1c8250876 Reformat code 2022-12-29 19:10:38 +01:00
badaix
0da026a289 Handle exceptions on message reception 2022-09-09 15:10:42 +02:00
badaix
4f29f000de Use namespace "boost::asio" instead of "net" 2022-01-30 22:07:13 +01:00
badaix
d326252268 Rename PcmListener to PcmStream::Listener
Reorganize include order
2021-12-12 12:19:46 +01:00
badaix
4df05105a9 Fix data races 2021-09-23 20:32:44 +02:00
badaix
2efd00d8ef Clean up mutexes 2021-09-18 13:42:43 +02:00
badaix
e6872593ee Fix data race 2021-09-13 14:44:06 +02:00
badaix
ffa742c49f Use executors with implicit strand 2021-09-11 23:12:31 +02:00
badaix
a5f79cdf90 Remove unused code 2021-09-03 20:33:53 +02:00
badaix
f817602a50 Rename "meta" to "metadata" 2021-06-22 14:35:38 +02:00
badaix
0eaee48f10 Process messages asynchronously 2021-06-10 08:55:31 +02:00
badaix
53e27e0d8b Comment out stream_tags 2021-06-04 10:32:33 +02:00
badaix
bbb47c2069 Lower log severity for inactive sessions 2021-05-23 12:42:50 +02:00
Nick Steel
ea1236feef Added Stream.SetMeta and Stream.OnMetadata to JSON-RPC docs.
Also removed some code comments related to these.

Added Stream.SetMeta and Stream.OnMetadata to JSON-RPC docs.

Also removed some code comments related to these.
2021-04-17 10:26:54 +02:00
badaix
f5d4fcaf43 Tidy up 2021-02-10 18:36:40 +01:00
badaix
27a9e710a2 Add meta stream source 2020-09-26 12:44:33 +02:00
badaix
dec7306a84 Replace some pointers with references 2020-08-18 23:36:17 +02:00
badaix
af93719490 Rename MessageReceiver to StreamMessageReceiver 2020-07-21 17:09:26 +02:00
badaix
d52015ff09 Move logic from StreamServer into new Server class 2020-07-20 11:54:58 +02:00
badaix
01ce9a60c0 Streaming clients can connect via Websockets 2020-07-11 19:39:58 +02:00
badaix
47f7291d4f Rename msg::ClientSettings to msg::ClientInfo 2020-05-01 22:37:25 +02:00
badaix
b5854df960 Server reads and propagates client volume changes 2020-05-01 22:37:25 +02:00
badaix
ad8332345f Remove SLOG from logging 2020-04-16 09:01:09 +02:00
badaix
2b14641704 Makre resync more tolerant 2020-03-01 18:54:00 +01:00
badaix
63ad64dfff Pass encoded chunks as shared_ptr 2020-02-29 21:48:12 +01:00
badaix
31c0dd5287 Fix timesync 2020-02-27 21:25:47 +01:00
badaix
c445deb95a Pop message from queue before sending it 2020-02-27 18:19:02 +01:00
badaix
92088eb9c2 Drop PCM chunks that are too old 2020-02-26 19:35:19 +01:00
badaix
7376c7709c Settings can be overwritten on command line
make pidfile and persistant data dir confgurable
2020-02-25 23:40:23 +01:00
badaix
83ab1cb260 Small time sync fix 2020-02-09 19:51:48 +01:00
badaix
08902ae0a5 Remove call to gettimeofday 2020-02-09 12:22:26 +01:00
badaix
5a3abc31ed Remove unused lambda parameter 2020-02-08 16:01:22 +01:00
badaix
384e71b7c9 Save server config deferred 2020-02-08 12:17:12 +01:00
badaix
062e46060c Fix crash during shutdown
In case there are multiple PosixStreams with the same name, the server crashed during shutdown
2020-01-06 18:50:57 +01:00
badaix
6d7e25e9af Switch stream readers to use asio event loop 2020-01-03 22:40:34 +01:00
badaix
aa3ce3d5ab Rename stream parameter "read_ms" to "chunk_ms" 2019-12-07 14:58:19 +01:00
badaix
a47849a571 Clean up AsioStream reader code 2019-12-01 11:38:55 +01:00
badaix
6e138ff49f Pass io_context to stream readers 2019-11-23 12:09:23 +01:00
badaix
3fe1d24715 Fix heap corruption 2019-11-21 23:55:40 +01:00
badaix
4d7f411bdc rename config.h to config.hpp 2019-11-01 18:43:03 +01:00
badaix
b5d8cefbcc fix data race and speedup batch commands 2019-11-01 15:23:38 +01:00
badaix
f47d0df9d7 reference stream sessions by weak_ptr 2019-10-23 22:23:06 +02:00
badaix
2f06ebed04 stream server uses async send and receive 2019-10-22 23:21:14 +02:00
badaix
7fda592d13 enable extra warnings 2019-10-13 19:01:56 +02:00
badaix
0b21a5daee rename files to snake_case 2019-10-13 18:43:32 +02:00
badaix
7db583f733 fix compile error 2019-10-12 18:38:31 +02:00
badaix
484cd5e672 bind stream server to configurable interface 2019-10-12 11:26:47 +02:00
badaix
7cb595db28 move aixlog and popl to common 2019-10-09 22:11:43 +02:00
badaix
5e90941bfd streaming socket on the stack 2019-10-09 20:23:45 +02:00