Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
e8b1209b
Commit
e8b1209b
authored
Jul 3, 2023
by
Sébastien Blin
Committed by
Adrien Béraud
Jul 5, 2023
Browse files
Options
Downloads
Patches
Plain Diff
misc: fix some build warning and add ut_bootstrap to CMakeLists
Change-Id: I114a876bf6becacac00eec362a4481f3b0de6494
parent
498b6d06
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+4
-0
4 additions, 0 deletions
CMakeLists.txt
src/connectivity/connectionmanager.h
+24
-25
24 additions, 25 deletions
src/connectivity/connectionmanager.h
with
28 additions
and
25 deletions
CMakeLists.txt
+
4
−
0
View file @
e8b1209b
...
@@ -701,6 +701,10 @@ else()
...
@@ -701,6 +701,10 @@ else()
target_compile_definitions
(
ut_library PUBLIC ENABLE_VIDEO
)
target_compile_definitions
(
ut_library PUBLIC ENABLE_VIDEO
)
endif
()
endif
()
add_executable
(
ut_bootstrap test/unitTest/swarm/bootstrap.cpp
)
target_link_libraries
(
ut_bootstrap ut_library
)
add_test
(
NAME bootstrap COMMAND ut_bootstrap
)
add_executable
(
ut_conversationRepository test/unitTest/conversationRepository/conversationRepository.cpp
)
add_executable
(
ut_conversationRepository test/unitTest/conversationRepository/conversationRepository.cpp
)
target_link_libraries
(
ut_conversationRepository ut_library
)
target_link_libraries
(
ut_conversationRepository ut_library
)
add_test
(
NAME conversationRepository COMMAND ut_conversationRepository
)
add_test
(
NAME conversationRepository COMMAND ut_conversationRepository
)
...
...
This diff is collapsed.
Click to expand it.
src/connectivity/connectionmanager.h
+
24
−
25
View file @
e8b1209b
...
@@ -233,6 +233,24 @@ public:
...
@@ -233,6 +233,24 @@ public:
~
Config
()
{}
~
Config
()
{}
std
::
shared_ptr
<
dht
::
DhtRunner
>
dht_
;
const
dht
::
crypto
::
Identity
&
id_
;
const
dht
::
crypto
::
Identity
&
identity
()
const
{
return
id_
;
}
/**
* UPnP IGD controller and the mutex to access it
*/
bool
upnpEnabled_
;
mutable
std
::
mutex
upnp_mtx
{};
std
::
shared_ptr
<
jami
::
upnp
::
Controller
>
upnpCtrl_
;
/**
* returns whether or not UPnP is enabled and active
* ie: if it is able to make port mappings
*/
bool
getUPnPActive
()
const
;
/**
/**
* Determine if STUN public address resolution is required to register this account. In this
* Determine if STUN public address resolution is required to register this account. In this
* case a STUN server hostname must be specified.
* case a STUN server hostname must be specified.
...
@@ -244,13 +262,6 @@ public:
...
@@ -244,13 +262,6 @@ public:
* softphone stay behind a NAT.
* softphone stay behind a NAT.
*/
*/
std
::
string
stunServer_
{};
std
::
string
stunServer_
{};
/**
* Determine if TURN public address resolution is required to register this account. In this
* case a TURN server hostname must be specified.
*/
bool
turnEnabled_
{
false
};
/**
/**
* The TURN server hostname (optional), used to provide the public IP address in case the
* The TURN server hostname (optional), used to provide the public IP address in case the
* softphone stay behind a NAT.
* softphone stay behind a NAT.
...
@@ -260,31 +271,19 @@ public:
...
@@ -260,31 +271,19 @@ public:
std
::
string
turnServerPwd_
;
std
::
string
turnServerPwd_
;
std
::
string
turnServerRealm_
;
std
::
string
turnServerRealm_
;
/**
* Determine if TURN public address resolution is required to register this account. In this
* case a TURN server hostname must be specified.
*/
bool
turnEnabled_
{
false
};
mutable
std
::
mutex
cachedTurnMutex_
{};
mutable
std
::
mutex
cachedTurnMutex_
{};
std
::
unique_ptr
<
IpAddr
>
cacheTurnV4_
{};
std
::
unique_ptr
<
IpAddr
>
cacheTurnV4_
{};
std
::
unique_ptr
<
IpAddr
>
cacheTurnV6_
{};
std
::
unique_ptr
<
IpAddr
>
cacheTurnV6_
{};
std
::
string
cachePath
{};
std
::
string
cachePath
{};
std
::
shared_ptr
<
dht
::
DhtRunner
>
dht_
;
const
dht
::
crypto
::
Identity
&
id_
;
const
dht
::
crypto
::
Identity
&
identity
()
const
{
return
id_
;
}
tls
::
CertificateStore
*
certStore_
;
tls
::
CertificateStore
*
certStore_
;
/**
* UPnP IGD controller and the mutex to access it
*/
bool
upnpEnabled_
;
mutable
std
::
mutex
upnp_mtx
{};
std
::
shared_ptr
<
jami
::
upnp
::
Controller
>
upnpCtrl_
;
/**
* returns whether or not UPnP is enabled and active
* ie: if it is able to make port mappings
*/
bool
getUPnPActive
()
const
;
};
};
}
// namespace jami
}
// namespace jami
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment