修改三方通话功能,在发起三方通话时,先保持住主叫,然后再拉回主叫到会议

DevDsp.h 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*************************************************************************
  2. 【文件名】 DevDsp.h
  3. 【功能模块和目的】 DSP资源管理类头文件
  4. 【开发者及日期】 郑石诺 2015/03/09
  5. 【版本】 V1.0.0
  6. 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
  7. 【更改记录】
  8. *************************************************************************/
  9. #pragma once
  10. #include "DevResource.h"
  11. #include "MeetingPool.h"
  12. class CDspChannel;
  13. class CPrdVirtualDevice;
  14. /*************************************************************************
  15. 【类名】 CDevDsp
  16. 【功能】
  17. 【接口说明】 DSP资源管理类
  18. 【开发者及日期】 郑石诺 2015/03/09
  19. 【版本】 V1.0.0
  20. 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
  21. 【更改记录】
  22. *************************************************************************/
  23. class CDevDsp : public CDevResource
  24. {
  25. public:
  26. CDevDsp(DEV_RES_NO_TYPE NodeNo, DEV_RES_NO_TYPE BoardNo);
  27. ~CDevDsp(void);
  28. int channelCount(void) const { return m_DspChList.GetCount(); }
  29. // 操作接口
  30. bool open(void);
  31. void close(void);
  32. bool isOk(void) const;
  33. CDspChannel* getFreeDspCh(void);
  34. CDspChannel* findChan(int ResId);
  35. bool createMeeting(MeetingInfo& MeetInfo);
  36. void deleteMeeting(MeetingInfo& MeetInfo);
  37. bool meetingAccept(int MeetingId, COneLeg* pAttendee, bool IsOneWay);
  38. bool meetingRemove(int MeetingId, COneLeg* pAttendee);
  39. bool meetingRecord(int MeetingId, COneLeg* pAttendee, RecordContent* pContent, bool IsStop);
  40. bool meetingMute(int MeetingId, COneLeg* pAttendee, bool IsOff);
  41. private:
  42. CArray<CDspChannel*, CDspChannel*> m_DspChList;
  43. int m_CurPos;
  44. CMeetingPool m_MeetingPool;
  45. };