Commit graph

47 commits

Author SHA1 Message Date
badaix
7597f15d24 Tidy up code 2021-02-11 08:33:36 +01:00
badaix
f5d4fcaf43 Tidy up 2021-02-10 18:36:40 +01:00
badaix
fa7340a9bc Remove build date from version information 2021-01-28 11:26:14 +01:00
badaix
61ebc114f6 Add built date to version information 2021-01-21 12:03:19 +01:00
badaix
f743ae717f Terminate client if host is empty and no mDNS 2020-11-16 20:54:04 +01:00
badaix
0f91bb1935 Rename stream.stream to stream.source 2020-08-30 20:45:41 +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
e148d74772 Move --user command line setting into config file 2020-06-07 14:21:58 +02:00
badaix
fce34d82c8 Fix some TODOs 2020-06-01 11:47:28 +02:00
badaix
7c71e0346b Read logging settings from config file 2020-05-15 21:33:40 +02:00
badaix
dd913acff9 Add mixer mode "none" 2020-05-03 20:10:01 +02:00
badaix
0996c04dca Change some log levels 2020-05-01 22:37:25 +02:00
badaix
4bdbc24c52 Fix syslog process name 2020-04-18 21:18:46 +02:00
badaix
a2311dfbfd Make logsink and filter configurable 2020-04-18 15:32:30 +02:00
badaix
ad8332345f Remove SLOG from logging 2020-04-16 09:01:09 +02:00
badaix
c977a884f7 Use -hh to show config file options 2020-03-05 23:26:31 +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
0d4c58fb63 Setting http.doc_root can be empty 2020-02-23 19:12:11 +01:00
badaix
cd9f785425 Code cleanup 2020-01-10 21:28:42 +01:00
badaix
7b268b83df Remove unused shared_from_this 2020-01-08 21:22:56 +01:00
badaix
87d4c00d21 Fix deadlock during shutdown 2020-01-07 20:25:22 +01:00
badaix
db9079c179 Log tag 2020-01-05 21:50:34 +01:00
badaix
8c6d703ec5 Update copyright dates 2020-01-04 01:03:48 +01:00
badaix
33136df424 Use at least two worker threads 2019-12-11 09:17:59 +01:00
badaix
aa3ce3d5ab Rename stream parameter "read_ms" to "chunk_ms" 2019-12-07 14:58:19 +01:00
badaix
b5551d9451 Server can run on the main thread only 2019-12-06 09:12:21 +01:00
badaix
b00ee4aaf8 Auto detect number of threads to use
use min 2 threads, max 4, depending on the number of hardware threads
2019-11-25 23:54:00 +01:00
badaix
b6a4ffa758 Server can run on a single thread
Number of threads can be configure in snapserver.conf:
[server]
threads = 1
2019-11-25 23:00:44 +01:00
badaix
cdc5dd2bac remove unused function 2019-11-17 15:57:07 +01:00
badaix
10db57406b force stream buffer to at least 10ms 2019-11-17 15:15:37 +01:00
badaix
07e8290ee4 Add namespace for encoder and decoder 2019-11-04 14:53:02 +01:00
badaix
0c7691756c merge PR#4 2019-11-01 23:07:32 +01:00
badaix
4d7f411bdc rename config.h to config.hpp 2019-11-01 18:43:03 +01:00
badaix
58da57b6d2 fix warning 2019-11-01 16:50:27 +01:00
badaix
4022e59018 configurable number of threads 2019-11-01 11:41:20 +01:00
badaix
1690f5ccc1 fix signal-unsafe call inside of a signal 2019-10-27 18:22:35 +01:00
badaix
2f06ebed04 stream server uses async send and receive 2019-10-22 23:21:14 +02:00
badaix
ea11505a0b log unknown options as warning 2019-10-18 20:51:04 +02:00
badaix
0b21a5daee rename files to snake_case 2019-10-13 18:43:32 +02:00
badaix
a30f548a31 rename files to snake_case 2019-10-12 18:28:29 +02:00
badaix
484cd5e672 bind stream server to configurable interface 2019-10-12 11:26:47 +02:00
badaix
9ced0aa438 bind to configurable interface 2019-10-11 22:44:26 +02:00
badaix
9fbec6055a fix parsing of bool values 2019-10-09 22:32:27 +02:00
badaix
7cb595db28 move aixlog and popl to common 2019-10-09 22:11:43 +02:00
badaix
6e5ff3c47d update popl include 2019-10-06 21:08:23 +02:00
badaix
c2488091fe rename some files from camel to snake case 2019-10-06 14:07:47 +02:00
Renamed from server/snapServer.cpp (Browse further)