API Reference | developer.brewmp.com API Reference | developer.brewmp.com

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.
Params
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.
Comments
This function is always synchronous. Not all of the file types and brands may be supported.