|
YAACC - UPNP Client and Server
|
The right to feed one server: a snapserver's tcp source takes one producer at a time, and a phone has one stream per server, so only one feed per server may be open. More...

Public Member Functions | |
| boolean | tryAcquire (long waitMillis) |
| Takes the slot, waiting for the time given if somebody else (the feed of a player that is just ending) holds it. | |
| void | release () |
| Gives the slot back; a no-op if this holder does not have it. | |
The right to feed one server: a snapserver's tcp source takes one producer at a time, and a phone has one stream per server, so only one feed per server may be open.
FeedSlots hands them out.
| boolean de.yaacc.snapcast.feed.FeedSlot.tryAcquire | ( | long | waitMillis | ) |
Takes the slot, waiting for the time given if somebody else (the feed of a player that is just ending) holds it.
Taking it again while this holder has it is fine.