Get information on all connected media sources.
#include <mmplayer/mmplayerclient.h> int mm_player_get_media_sources( mmplayer_hdl_t *hdl, mmp_ms_t **media_sources, int *len )
Get information on all media sources connected to the system. The library allocates memory for the array that gets stored in media_sources but it's the caller's responsibility to later deallocate that memory. Each array element stores information on a single media source. This information includes the media source's name, hardware type, and supported browsing and playback operations. Client applications can display this information in the HMI to provide users with data describing the accessible media devices.
0 on success, -1 on failure