Developer

API Reference

ICAMERA_SetMediaData()

Brew Release
Brew MP 1.0.2
See Also
ICAMERA_GetParm()
Description
This function sets the media data where the recorded and encoded data will be saved.
Parameters
  • pICamera
    []:
    Pointer to ICamera Interface.
  • pmd
    []:
    Pointer to media data
  • cpszMIME
    []:
    Optional MIME type of the media If this is not-null, it is presumed to be the file format of the new movie file that will be recorded. It should be set
Interface
ICAMERA
Prototype
    int ICAMERA_SetMediaData
    (
       ICamera * pICamera,
       AEEMediaData * pmd,
       const char * cpszMIME
    )
Return
SUCCESS: Successful. Synchronous operation completed. EBADPARM: Bad parameter is passed ENOMEMORY: Not enough memory EBADSTATE: Cannot execute operation because the camera is in the wrong mode. EUNSUPPORTED: Parameter is not supported EFAILED: General failure
Side Effect
None.
Comment
This function is always synchronous. Not all of the file types and brands may be supported.
  • Follow