martinrunge / muroa Goto Github PK
View Code? Open in Web Editor NEWA multi room audio player
Home Page: muroa.org
A multi room audio player
Home Page: muroa.org
It is for example possible to start muroad on a target without avahi-daemon running there. It will start up normally, but msessiond cannot find it.
Muroa uses system time to keep client and server in sync. If system time is not in sync, the following issues arise:
in CStreamServer::sendToAllClients, there is a race condition that can cause msessiond to crash when a render client is removed by the avahi thread while playing.
A lock is needed to protect m_connection_list against access by multiple threads.
When a client shuts down the TCP connection, the server can detect that and everything is fine. More complicated cases enclose:
in these cases, the server keeps the TCP connection up and waits for the client coming backand all data sent in between is queued and passed to the client in one rush when client is reached again. This "old" data may not confuse the client as it is only interested in the latest state or in a summary (aka diff) of all changes made since it had a connection last time.
TODO:
Server:
Client:
when loading and storing playlists to and from disk, make sure that the new ID mechanism is staying intact. At least the static member m_next_free_id has to be restored. Maybe it is also neccessary to save the state of the next_free_id variable instead of having it static.
CFloatResampler::resampleFrame: not all input frames were used!
muroad: /home/martin/git/muroa/muroad/cfloatresampler.cpp:187: int CFloatResampler::copyResampledFramesToRingbuffer(): Assertion `frames_to_copy < m_src_data->input_frames_used' failed
Enable the client GUI not before the client joined a session. Enabling the GUI as soon as the TCP connection is up is too early.
Selecting and joining a session is mandatory for a new TCP connection.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.