|
ÖÐÐļÏñ·þÎñÆ÷³ÌÐò¿ª·¢Ö¸ÄÏ
Ò»¡¢ÒµÎñ·þÎñÆ÷³ÌÐò¿ª·¢£º
a£©Ôö¼Ó»Øµ÷º¯Êý£º- // ·þÎñÆ÷¼Ïñ»Øµ÷º¯Êý¶¨Òå
- typedef void (CALLBACK * BRAS_OnServerRecord_CallBack)(DWORD dwUserId, DWORD dwParam, DWORD dwRecordServerId, DWORD dwElapse, LPCTSTR lpRecordFileName, LPVOID lpUserValue);
¸´ÖÆ´úÂë dwUserId£ºÂ¼ÏñÓû§Id£»
lpRecordFileName£ºÂ¼ÏñÎļþÃû£¨º¬Â·¾¶£¬¿ÉÒÔÊÇÏà¶Ô·¾¶£¬¿ÉÒÔÊǾø¶Ô·¾¶£¬ÔÚAnyChatRecordServer.iniÖÐÅäÖã©
ÆäËü²ÎÊý±£Áô
b£©Ôö¼Ó»Øµ÷º¯ÊýÉèÖÃAPI£º- // ÉèÖ÷þÎñÆ÷¼Ïñ֪ͨ»Øµ÷º¯Êý
- BRAS_API DWORD BRAS_SetOnServerRecordCallBack(BRAS_OnServerRecord_CallBack lpFunction, LPVOID lpUserValue=NULL);
¸´ÖÆ´úÂë c£©Ôö¼Ó¼Ïñ¿ØÖÆAPI£º- // ÖÐÐĶ˼Ïñ¿ØÖÆ
- BRAS_API DWORD BRAS_StreamRecordCtrl(DWORD dwUserId, BOOL bStartRecord, DWORD dwFlags, DWORD dwParam, DWORD dwRecordServerId);
¸´ÖÆ´úÂë dwUserId£ºÂ¼ÏñÓû§Id£»
bStartRecord£º 1 ¿ªÊ¼Â¼Ïñ£¬ 0 ֹͣ¼Ïñ£»
ÆäËü²ÎÊýĬÈÏΪ0
¶þ¡¢¿Í»§¶Ë³ÌÐò£º
API½Ó¿ÚûÓб仯£º- // Óû§Òô¡¢ÊÓƵ¼ÖÆ
- BRAC_API DWORD BRAC_StreamRecordCtrl(DWORD dwUserId, BOOL bStartRecord, DWORD dwFlags, DWORD dwParam);
¸´ÖÆ´úÂë ÐÂÔö³£Á¿±êʶ¶¨Ò壺- #define BRAC_RECORD_FLAGS_SERVER 0x00000004L ///< ·þÎñÆ÷¶Ë¼ÖÆ
¸´ÖÆ´úÂë µ±¿Í»§¶Ëµ÷ÓÃAPI£ºBRAC_StreamRecordCtrlʱ£¬µÚÈý¸ö²ÎÊý£¨dwFlags£©ÉèÖÃΪ£ºBRAC_RECORD_FLAGS_SERVERʱ£¬±íʾÔÚ·þÎñÆ÷¶Ë½øÐмÏñ¡£
|
|