getMediaSources()

Get a list of all connected media sources.

Synopsis:

#include <qplayer/qplayer.h>
 
void getMediaSources( MediaSourcesCommand *command );

Arguments:

command
A pointer to a MediaSourcesCommand object, which will hold the list of media sources.

Description:

Get a list of all connected media sources. The library fills in the MediaSourcesCommand object referenced in command with information describing each connected media source. When your client receives the complete signal, it can call the result() function on this object to retrieve that information.