mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 03:22:34 -04:00
Added Test Service for determining VoIP possibilities.
* Measures Lag and Clock offset, by pinging peers periodically. * added interface so the results can be plotted. * added serialisers for ping/pong data types. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4519 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3ce44a7720
commit
e993068521
8 changed files with 1197 additions and 11 deletions
|
@ -1718,6 +1718,7 @@ RsTurtle *rsTurtle = NULL ;
|
|||
#include "services/p3tunnel.h"
|
||||
#endif
|
||||
|
||||
|
||||
#include <list>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
|
@ -1757,10 +1758,17 @@ RsTurtle *rsTurtle = NULL ;
|
|||
#endif
|
||||
|
||||
/****
|
||||
#define RS_RELEASE 1
|
||||
* #define RS_RELEASE 1
|
||||
* #define RS_VOIPTEST 1
|
||||
****/
|
||||
|
||||
#define RS_RELEASE 1
|
||||
#define RS_RELEASE 1
|
||||
#define RS_VOIPTEST 1
|
||||
|
||||
|
||||
#ifdef RS_VOIPTEST
|
||||
#include "services/p3vors.h"
|
||||
#endif
|
||||
|
||||
|
||||
RsControl *createRsControl(RsIface &iface, NotifyBase ¬ify)
|
||||
|
@ -2090,6 +2098,13 @@ int RsServer::StartupRetroShare()
|
|||
CachePair cp2(photoService, photoService, CacheId(RS_SERVICE_TYPE_PHOTO, 0));
|
||||
mCacheStrapper -> addCachePair(cp2);
|
||||
#endif
|
||||
|
||||
#ifdef RS_VOIPTEST
|
||||
p3VoRS *mVoipTest = new p3VoRS(mLinkMgr);
|
||||
pqih -> addService(mVoipTest);
|
||||
rsVoip = mVoipTest;
|
||||
#endif
|
||||
|
||||
#endif // MINIMAL_LIBRS
|
||||
|
||||
/**************************************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue