Commit 1c438e5f authored by Adrien Béraud's avatar Adrien Béraud

ringdht: update for new OpenDHT API

Refs #61678
Refs #61680

Change-Id: Ifdd35cfe89a7df6227f345a7b3a26ae4d74ee765
parent 5985a30d
# OPENDHT
OPENDHT_VERSION := fde26fef5b2dfbcb5960fb91a75f86a83b5b1f3c
OPENDHT_VERSION := 33542e932a3cb7c970ffc2196a21b85aec17807f
OPENDHT_URL := https://github.com/savoirfairelinux/opendht/archive/$(OPENDHT_VERSION).tar.gz
PKGS += opendht
......
......@@ -50,6 +50,7 @@
#include <vector>
#include <map>
#include <chrono>
namespace Conf {
const char *const DHT_PORT_KEY = "dhtPort";
......@@ -254,8 +255,8 @@ class RingAccount : public SIPAccountBase {
private:
const dht::ValueType USER_PROFILE_TYPE = {9, "User profile", 60 * 60 * 24 * 7};
const dht::ValueType ICE_ANNOUCEMENT_TYPE = {10, "ICE descriptors", 15 * 60};
const dht::ValueType USER_PROFILE_TYPE = {9, "User profile", std::chrono::hours(24 * 7)};
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment