This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
The multimedia function set includes:
const char * MvGetDevFromMime( char * buffer, const char * mime, int flag );
The MvGetDevFromMime() function returns the correct /dev entry to handle a URL of a specific MIME type. (Future use.)
const char * MvGetDevFromUrl( char * buffer, const char * url, int flag );
The MvGetDevFromUrl() function returns the correct /dev entry to handle the specific URL provided. (Future use.)
const char * MvGetMimeFromPlugin( char * buffer, const char * plugin, int flag );
Returns the most common MIME type handled by the plugin.
const char * MvGetMimeFromUrl( char * buffer, const char * url, int flag, char * err );
The MvGetMimeFromUrl() function returns the best guess of the MIME Type for a given URL (file:// or http://).
void MvGetMpDefaultSetting( MvSetup_t * setup );
The MvGetMpDefaultSetting() function gets the system-calculated standard settings.
Returns: The new setup values.
int MvGetMpSetting( MvSetup_t * setup );
The MvGetMpSetting() function gets the values stored in the mpsettings file.
Returns:
const char * MvGetPluginFromMime( char * buffer, const char * mime, int flag );
The MvGetPluginFromMime() function returns the plugin to load to handle a specific MIME type.
const char * MvGetPluginFromUrl( char * buffer, const char * url, int flag, char * err );
The MvGetPluginFromUrl() function returns the correct plugin to load to handle the specific URL.
int MvHttpOpen( const char * url, char * mime, char * err );
The MvHttpOpen() function returns a socket to the specified URL.
char * MvPluginName( char * buf, const char * url );
The MvPluginName() function returns the associated plugin name based on an input filename. The pointer to the buffer with the name of the plugin to load is returned on success, or NULL on failure.
void MvRegClose( MvReg_t * );
The MvRegClose() function closes the registry file.
MvRegEntry_t const * MvRegGetEntry( MvReg_t * );
The MvRegGetEntry() function finds which plugin goes with a specific file type.
MvReg_t * MvRegOpen( void );
The MvRegOpen() function opens the registry file.
int MvSetMpSetting( MvSetup_t * setup );
The MvSetMpSetting() function writes to a new mpsettings file.
Returns:
typedef void MvViewerAudioCallbackF_t( MvPluginCtrl_t *ctrl, void * audio_data, unsigned long len );
The MvViewerAudioCallbackF_t() function is called by a plugin that wants phplay to handle the audio PCM data. (Not implemented yet.)
typedef void MvViewerCallbackF_t( MvPluginCtrl_t * ctrl, MvEventFlags_t change, MvPluginStatus_t const * status );
The MvViewerCallbackF_t() function is called by a plugin to report status information about state changes to phplay.
typedef void MvViewerVideoCallbackF_t( MvPluginCtrl_t * ctrl, MvVideoFrameData_t * video_data );
The MvViewerVideoCallbackF_t() function is called by a plugin that wants phplay to handle the video processed data.