Commit graph

47 commits

Author SHA1 Message Date
badaix
6c02252d84 Add client support for websockets 2025-01-24 21:30:19 +01:00
badaix
780d8f3f1a Fix crash while calling Stream.RemoveStream 2025-01-19 22:46:24 +01:00
badaix
2b6ad6b90b Add some documentation 2024-12-19 22:44:51 +01:00
badaix
6f040d3d22 Cleanup Snapserver includes 2024-04-04 19:02:45 +02:00
badaix
275a53a845 Remove PosixStream layer 2024-03-13 20:27:13 +01:00
badaix
c01ba2bdde Fix includes 2023-01-22 21:30:11 +01:00
badaix
9e3c0fdf55 Add "mute" to stream API 2022-07-13 17:35:49 +02:00
badaix
60dc1aa48a Add support for controlscriptparams 2022-07-13 14:14:00 +02:00
badaix
bdc6299523 io_context cleanups 2022-04-03 15:27:28 +02:00
badaix
caef2b7b87 Clean up asio includes 2022-01-31 21:07:34 +01:00
badaix
d326252268 Rename PcmListener to PcmStream::Listener
Reorganize include order
2021-12-12 12:19:46 +01:00
badaix
ee158b521d Fix thread races 2021-09-21 08:16:33 +02:00
badaix
12aeb5859c Use strand executors 2021-09-18 11:11:34 +02:00
badaix
a5f79cdf90 Remove unused code 2021-09-03 20:33:53 +02:00
badaix
b348bb3379 Move properties and metatags into server dir 2021-09-01 21:12:29 +02:00
badaix
004ea21e3f Make metadata part of the properties 2021-09-01 18:18:36 +02:00
badaix
077a6fc1a4 Add control functions to PcmStream
-move json parsing to Server class
-improve error handling with the new ErrorCode object
2021-07-04 21:33:45 +02:00
badaix
41833d63fa Use recursive mutex 2021-06-29 08:44:54 +02:00
badaix
2cc9567847 Switch to C++17 2021-06-27 13:07:07 +02:00
badaix
0853c7c701 Make metadata thread safe, poll properties 2021-06-23 20:48:25 +02:00
badaix
1f51befbad Move StreamCtrl into separate file 2021-06-22 19:49:06 +02:00
badaix
f817602a50 Rename "meta" to "metadata" 2021-06-22 14:35:38 +02:00
badaix
149c2ae9a2 Rename jsron RPC commands, add "Ready" and "Log" 2021-06-10 08:56:43 +02:00
badaix
5c28809b43 Add reponse handlers for requests 2021-06-06 22:31:08 +02:00
badaix
bba3968f50 Change Stream.SetProperties to Stream.SetProperty 2021-06-05 23:00:12 +02:00
badaix
53e27e0d8b Comment out stream_tags 2021-06-04 10:32:33 +02:00
badaix
7c11cb7559 Add support for Player.Properties 2021-05-30 22:20:49 +02:00
badaix
6e6b63ec26 Communicate via stdin/stdout with ctrl script 2021-05-26 23:57:59 +02:00
badaix
91ea368121 Add RPC "Stream.Control" command 2021-05-24 22:36:16 +02:00
badaix
2e64d81f79 Add control_script to stream sources
New parameter "control_script", starting a script on stream start.
Parameters "--snapcast-port" and "--stream" are passed to the script
2021-05-23 12:39:47 +02:00
badaix
1725cffc6e Log stream state as string 2021-05-04 23:51:57 +02:00
badaix
876f424bae Add null encoder for use with meta streams 2020-09-27 12:55:32 +02: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
ed0521a1d2 Rename onChunkRead to onNewChunk 2020-07-11 19:39:58 +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
21d259d0af Fix crash during client disconnect 2020-01-25 22:20:02 +01:00
badaix
9353c61d7b Use helper function for async_wait
PosixStream waits 100ms before reconnecting
2020-01-05 14:36:46 +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
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
07e8290ee4 Add namespace for encoder and decoder 2019-11-04 14:53:02 +01: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
Renamed from server/streamreader/pcmStream.h (Browse further)