The UPnP control point:
Media Renderer Interface
After NAS selection and songs infos loading, the search for a valid audio renderer can be performed. The UPnP class for this device is "urn:schemas-upnp-org:device:MediaRenderer:1". The devCPHandler interface manages the AVTransport Service informations sent to/from the smart speaker and also the playing queue(s).
srcCPHandler |
---|
-devName,devIPV4,devPort: string -AVTransport: Service* -AVTMetadata: string -URIStack: deque‹string› -URIStory: deque‹string› -nowPlaying: string -lastPlayed: string -currentState: string -isPaused: bool |
+«constructor» devCPHandler() +«constructor» devCPHandler(d:Device&,ip_addr:string,port_num:string="4004") +qPlayNext(): string +qPopBack(): string +qInsert(song_uri:string) +qRollBack() +qBottom(): string +qTop(): string +qSize(): int +hBack(): string +hFront(): string +hSize(): int |