Tag | Service | Actions | Effects |
PAUSE | AVT | Pause, GetTransportInfo | If a stream is now playing, set current state, perform the pause action and then update back the current state. Last of all, retrieve current paused song metadata for send back a response to the GUI |
PLAY | AVT | Play, GetTransportInfo | Depending on the player state:
- if player is paused, last played is set with the same URI as before;
- if play is "auto-raised", like for example after the end of a song in a queue list, URI is not updated with the one passed as argument on the incoming message;
- if play is "istantly-raised", or in other words with an user command, URI is updated with the parsed URI.
The final play action is performed if and only if AVTransport V1 is supported by the media renderer; in this case, player status is updated immediately after the requested action
|
SEEK | AVT | Seek | The new position after the seek event is parsed from the received message ("pos" argument) and its format is fixed (mm:ss) |
STOP | AVT | Stop, GetTransportInfo | Like in the PAUSE case, only if there's an active playing stream the current player state info is updated both before and after the stop action |
FFORWARD | AVT | Play | Update last played URI before launch a new play action; if there's no other songs to play on the queue, leave the current played URI empty |
REWIND | AVT | Play | Roll back of a single position the song queue (if it's possible), then update last played and now playing URIs and play the previous song |
QUEUE | - | - | Insert the URI parsed as an incoming message argument to the song queue of the control point (like in a "push" method) |
MUTE_UNMUTE | RC | GetMute, SetMute | Toggle player audio on/off |
VOLUME_ADJ | RC | GetVolume, SetVolume | Change current renderer volume level with the value passed as an argument in the incoming message |