Skip to content
Snippets Groups Projects
Commit 82dbf27b authored by Adrien Béraud's avatar Adrien Béraud Committed by Guillaume Roguez
Browse files

add an ICE annoucement DHT value type

Refs #61425

Change-Id: I1f33ee0ad801c77827de4916a2d97aa7b306c2ae
parent 37562a57
No related branches found
No related tags found
No related merge requests found
......@@ -503,6 +503,8 @@ void RingAccount::doRegister()
);
dht_.registerType(USER_PROFILE_TYPE);
dht_.registerType(ICE_ANNOUCEMENT_TYPE);
dht_.importValues(loadValues());
// Publish our own CA
......
......@@ -255,6 +255,7 @@ 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};
void createOutgoingCall(const std::shared_ptr<SIPCall>& call, const std::string& to, const std::string& toUrl, const IpAddr& peer);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment