POSIX plugin

The mm-player service uses the POSIX plugin to browse and play media files stored on devices with POSIX filesystems. Such devices include USB sticks, SD cards, or CDs.

Figure 1. POSIX Plugin Architecture

The POSIX plugin uses C APIs to communicate with the mm-browse library for browsing media files and with the mm-renderer service for managing playback. When devices with POSIX filesystems are attached to the CAR system, services in the QNX OS layer mount the device filesystems. The plugin uses the mm-browse library to search these mounted filesystems and read metadata from their files. To deliver the metadata to the HMI, mm-player uses the car.mediaplayer WebWorks extension (for more information, see the multimedia architecture overview in the QNX CAR Multimedia Architecture Guide).

When the user starts playing a media file stored on a POSIX device, the POSIX plugin passes the appropriate URL to mm-renderer as the input. The mm-renderer service reads the input media off the device and then sends the media content to io-audio for output.