|
YAACC - UPNP Client and Server
|
What the play, pause and stop buttons of an FCast card do when no player of this app plays to the receiver (task 6.2: another sender, for example a second YAACC, started the playback). More...

Classes | |
| enum | Action |
| The button. More... | |
| enum | Command |
| What to send. More... | |
Static Public Member Functions | |
| static Command | commandFor (Action action, Playback playback) |
What the play, pause and stop buttons of an FCast card do when no player of this app plays to the receiver (task 6.2: another sender, for example a second YAACC, started the playback).
The buttons then act on what the receiver reports: pause pauses what plays, play resumes what is paused, stop stops. When the state is not known yet (the connection was just made for this tap) the command is sent anyway: a receiver ignores a resume, a pause or a stop when there is nothing to resume, pause or stop. Pure.