Commit graph

606 commits

Author SHA1 Message Date
badaix
daf4591d55 Switch PipeStream to read from stream_descriptor 2019-12-03 00:21:32 +01:00
badaix
eb94867b57 Improve check for systime vs streamtime 2019-12-01 22:56:49 +01:00
badaix
f35efe568a Rename buffer parameter 2019-12-01 22:07:03 +01:00
badaix
0341174d5d Reformat code 2019-12-01 22:06:50 +01:00
badaix
a47849a571 Clean up AsioStream reader code 2019-12-01 11:38:55 +01:00
badaix
3cb9902bbe Rename experimental.tcp to tcp 2019-11-28 22:31:03 +01:00
badaix
fd616956cb Add client mode to TcpStream 2019-11-28 20:07:43 +01:00
badaix
43c58febd7 Add stream buffer to AsioStream 2019-11-28 20:05:54 +01:00
badaix
ea62d8d768 Add server section to config 2019-11-27 23:03:47 +01:00
badaix
22262bd203 Delete UDP stream 2019-11-27 23:03:13 +01:00
badaix
40c910104b Path component in URI is optional 2019-11-27 22:59:12 +01:00
badaix
a625a5d806 Fix crash in TCP stream disconnect 2019-11-27 22:58:32 +01:00
badaix
5c1f35d6db Reintroduce player state 2019-11-27 21:33:25 +01:00
badaix
48e76ea58d Add abstract AsioStream class 2019-11-27 20:44:34 +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
0ad3f1a57d Fix compile error 2019-11-24 21:13:34 +01:00
badaix
646c7593c1 Add experimental TCP and UDP streams 2019-11-24 18:24:39 +01:00
badaix
6e138ff49f Pass io_context to stream readers 2019-11-23 12:09:23 +01:00
badaix
2794d747ff Update version number to v0.17.1 2019-11-22 19:37:07 +01:00
badaix
557c742e47 Fix random crash during client disconnect 2019-11-22 19:35:05 +01:00
badaix
0b94a56fe5 Fix compile error if u_char is not defined 2019-11-22 18:26:59 +01:00
badaix
3fe1d24715 Fix heap corruption 2019-11-21 23:55:40 +01:00
badaix
810c65773c Fix HAS_VORBIS_ENC define 2019-11-21 22:23:34 +01:00
badaix
f20bd1b1e4 update version to 0.17.0 2019-11-20 22:40:21 +01:00
badaix
cdc5dd2bac remove unused function 2019-11-17 15:57:07 +01:00
badaix
ba2e40909e update webinterface 2019-11-17 15:17:32 +01:00
badaix
b8be0e5349 Opus encoder handles arbitrary chunk sizes 2019-11-17 15:17:10 +01:00
badaix
10db57406b force stream buffer to at least 10ms 2019-11-17 15:15:37 +01:00
badaix
dbd0b018e2 update jsonrpc++ to v1.3.0 2019-11-15 17:46:10 +01:00
badaix
e9dbb6c3b6 fix crash during heavy websocket load 2019-11-15 17:45:49 +01:00
badaix
badbef3eb6 Add Opus in stream section 2019-11-04 17:22:52 +01:00
badaix
07e8290ee4 Add namespace for encoder and decoder 2019-11-04 14:53:02 +01:00
badaix
7dffa6ed65 Opus improve error handling 2019-11-03 20:23:54 +01:00
badaix
6cd3b7df67 opus add pseudo header and configurable options 2019-11-03 17:37:04 +01:00
badaix
3fea89a60b move assign function into implementation 2019-11-03 12:41:08 +01:00
Jordan Speicher
17264a0409 Fix relative install paths 2019-11-03 10:54:06 +01:00
badaix
2a47e0b672 add opus options to cmakefiles 2019-11-02 16:19:59 +01:00
badaix
258bab4f65 WIP opus is working, some values are hard coded 2019-11-02 13:19:55 +01:00
badaix
0c7691756c merge PR#4 2019-11-01 23:07:32 +01:00
badaix
017988f99e store server status in a more compact format 2019-11-01 18:48:50 +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
068c6ccc6f fix thread race 2019-11-01 15:23:52 +01:00
badaix
b5d8cefbcc fix data race and speedup batch commands 2019-11-01 15:23:38 +01:00
badaix
698c94bc2d return const references instead of copies 2019-11-01 15:22:38 +01:00
badaix
696752680c add options for DEBUG and SANITIZE 2019-11-01 15:21:56 +01:00
badaix
4022e59018 configurable number of threads 2019-11-01 11:41:20 +01:00
badaix
c58f66a87a less logging 2019-11-01 11:40:31 +01:00
badaix
6fae88dff7 merge with master 2019-10-28 19:33:57 +01:00