Media sources

Media sources are mm-player objects that represent devices that store media content (mediastores). Applications can request a list of available media sources from mm-player and then select a specific media source to browse or to play media files.

Each media source object contains a media source ID and name field (to distinguish it from other media sources), as well as device information such as the unique ID (UID), hardware type, and supported playback operations.

Clients must pass in a media source ID to mm-player when browsing the contents of mediastores and when retrieving metadata from media files. Also, each tracksession (i.e., track sequence) is associated with a media source, so clients must also provide a media source ID when creating tracksessions.