(06-27-2024, 01:04 PM)Tim Curtis Wrote: (06-10-2024, 02:00 PM)Tim Curtis Wrote: No not latency, trx receiver when running on the sender could not receive multicast packets. It could be that some sort of special network config is require, I don't know.
I ask in the bark repo a long time ago but no response from the maintainer so this project is a non-starter for me.
I've never tried your usage scenario but for sure you can't run two senders using the same multicast address on the network. I suppose you could try using a different multicast address for the second sender and receivers and see what happens.
I'm not sure what type of networking Snapcast uses, or any of its other capabilities. My interest in it has to do with its capability to maintain clock sync between sender and receivers which improves the to-the-ear sync.
@lifeform, I did a quick test this morning running two senders and distributing different streams to their respective receivers and no problems.
Sender-1 and Receiver-1 at 238.0.0.1
Sender-2 and Receiver-2 at 238.0.0.2
The multicast address is not exposed in the config UI but here are the commands to update the address. Restart the sender and receiver after updating.
Code:
# Sender Pi
moodeutl -q "update cfg_multiroom set value='239.0.0.2' where param='tx_host'"
# Receiver Pi
moodeutl -q "update cfg_multiroom set value='239.0.0.2' where param='rx_host'"
Currently in the UI there is no address filter on the Receiver and Discovery lists so both senders will see the same list of receivers even though they will only be able to send to receivers configured with their multicast address. I could add that filter and also add the address field to Receiver Config > Advanced.
What do you think?
so the proof of concept is works, right?
i see that in their ROADMAP they will support this "JSON-RPC Possibility to add, remove, rename streams"
but i do not know the "Streams" they said is the multicast ip or not. or another protocol will be used.
if you add the filter and multicast setting it will be the best way to used it.
i thinking how to make it really simple to changing the multicast ip, if it used command it would be hard to change from one to another speaker
the case i want to implement is like this:
for example : i have 5 room, 3 bed room, 1 living room, 1 bath room. every single have 1 speaker with moode integrated.
every room can play different song. but i also can make living room as server, living room also as speaker, bathroom as speaker and one of the bed room as speaker
while living room as server playing song, i also make another bed room play another song sync
another case is, at midnight i playing lullaby song for bed room speaker the server is one of moode in the bed room
i just thinking, how if moode have something like API command to add, remove, set mode? it will be more easier to handle for user