Skip to content
Snippets Groups Projects
Commit 1c438e5f authored by Adrien Béraud's avatar Adrien Béraud
Browse files

ringdht: update for new OpenDHT API

Refs #61678
Refs #61680

Change-Id: Ifdd35cfe89a7df6227f345a7b3a26ae4d74ee765
parent 5985a30d
No related branches found
No related tags found
No related merge requests found
# OPENDHT # OPENDHT
OPENDHT_VERSION := fde26fef5b2dfbcb5960fb91a75f86a83b5b1f3c OPENDHT_VERSION := 33542e932a3cb7c970ffc2196a21b85aec17807f
OPENDHT_URL := https://github.com/savoirfairelinux/opendht/archive/$(OPENDHT_VERSION).tar.gz OPENDHT_URL := https://github.com/savoirfairelinux/opendht/archive/$(OPENDHT_VERSION).tar.gz
PKGS += opendht PKGS += opendht
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
#include <vector> #include <vector>
#include <map> #include <map>
#include <chrono>
namespace Conf { namespace Conf {
const char *const DHT_PORT_KEY = "dhtPort"; const char *const DHT_PORT_KEY = "dhtPort";
...@@ -254,8 +255,8 @@ class RingAccount : public SIPAccountBase { ...@@ -254,8 +255,8 @@ class RingAccount : public SIPAccountBase {
private: private:
const dht::ValueType USER_PROFILE_TYPE = {9, "User profile", 60 * 60 * 24 * 7}; const dht::ValueType USER_PROFILE_TYPE = {9, "User profile", std::chrono::hours(24 * 7)};
const dht::ValueType ICE_ANNOUCEMENT_TYPE = {10, "ICE descriptors", 15 * 60}; const dht::ValueType ICE_ANNOUCEMENT_TYPE = {10, "ICE descriptors", std::chrono::minutes(15)};
void createOutgoingCall(const std::shared_ptr<SIPCall>& call, const std::string& to_id, IpAddr target); void createOutgoingCall(const std::shared_ptr<SIPCall>& call, const std::string& to_id, IpAddr target);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment