修改記錄
1.2009-2-27,截圖函數有問題
1.1 委托CapPicFun的參數pBuf數據類型改為IntPtr
改前代碼 :public delegate void CapPicFun(int StockHandle, [MarshalAs(UnmanagedType.LPArray, SizeConst = 152064)] byte[] pBuf, int nSize, int nWidth, int nHeight, int nStamp, int nType, int nReceaved);
改後代碼:public delegate void CapPicFun(int StockHandle, IntPtr pBuf, int nSize, int nWidth, int nHeight, int nStamp, int nType, int nReceaved);
1.2 截圖函數參數
改前代碼:public static extern bool MP4_ClIEntSavePicFile([MarshalAs(UnmanagedType.LPArray)] byte[] pBuf, int nSize, int nWidth, int nHeight, int nType,
string sFileName);
改後代碼:public static extern bool MP4_ClIEntSavePicFile (IntPtr pBuf, int nSize, int nWidth, int nHeight, int nType, string sFileName);
2.2009-3-4,客戶端的數據捕獲(錄像)
2.1 開始錄像
改前代碼:public static extern bool MP4_ClIEntStartCaptureFile(long StockHandle, string FileName);
改後代碼:public static extern bool MP4_ClIEntStartCaptureFile(int StockHandle, string FileName);
2.2 停止錄像
改前代碼:public static extern bool MP4_ClIEntStopCapture(long StockHandle);
改後代碼:public static extern bool MP4_ClIEntStopCapture(int StockHandle);
結束
我的客戶端主要實現的功能是播放視頻和音頻,有些API都沒有 用到,我估計有些API參數類型仍然是不對的,請大家注意了!!