⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mptestconfig.h

📁 基于sipfoundy 公司开发的sipx协议API
💻 H
字号:
//// Copyright (C) 2004, 2005 Pingtel Corp.// //// $$////////////////////////////////////////////////////////////////////////#ifndef _MpTestConfig_h_#define _MpTestConfig_h_#include "mp/MpMediaTask.h"#include "ps/PsPhoneTask.h"#include "mp/MpCallFlowGraph.h"#include "net/SipUserAgent.h"#include "cp/CallManager.h"// Base URL to find data sources for this test program.  This software expects// to find the followings files://// http://<BASE_URL/nums/0.raw// http://<BASE_URL/nums/0.wav// http://<BASE_URL/nums/1.raw// http://<BASE_URL/nums/1.wav// http://<BASE_URL/nums/2.raw// http://<BASE_URL/nums/2.wav// http://<BASE_URL/nums/3.raw// http://<BASE_URL/nums/3.wav// http://<BASE_URL/longstream.raw// http://<BASE_URL/longstream.wav#define BASE_URL         "sipxchange-test:8880"#define TESTING_ATTEMPTS  4#define MAX_STATES        32#define DELAY_BEWTEEN_CALLS   2100#define RUN_PLAYER_TESTS                  FALSE// npowork#define RUN_PLAYLIST_TESTS                FALSE     // Not used#define RUN_QUEUE_TESTS                   TRUE#define RUN_CALLMGR_TESTS                 TRUE#define RUN_PLAYER_LOOP_TESTS             FALSE#define RUN_CALLMGR_SIMPLE_PLAYER_TESTS   TRUE// Common object between unittests in test/mp/*.cppclass MpTestConfig{public:    static MpTestConfig *getTestInstance(void);    MpMediaTask *getMediaTask(void);    PsPhoneTask *getPhoneTask(void);    MpCallFlowGraph *getFlowGraph(void);    SipUserAgent *getSipAgent(void);    CallManager *getCallManager(void);protected:    MpTestConfig(void);private:    MpMediaTask*     mMediaTask;    PsPhoneTask*     mPhoneTask;    MpCallFlowGraph* mFlowGraph;    SipUserAgent*    mUA;    CallManager*     mCallManager;    static MpTestConfig* spInstance;    void config(void);    void initializeCallManager(void);    void initializeSipUA(void);    void initializeMediaSystem(void);};#endif // _MpTestConfig_h_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -