78a32ceed0
windows: simplify configure for cross-compilation
...
Refs #70869
Change-Id: I255c790c2a4da7bf1deec695f19c596ca4b60dca
2015-05-15 11:05:36 -04:00
017f7a2f97
windows: add upnp support
...
Refs #71910
Change-Id: Iab724e6c9b9f6e412623a125a5bb076d3c78a57e
2015-05-15 11:00:07 -04:00
a0d2e366f8
ice: implement TURN/STUN servers options
...
This patch modifies the internal IceTransport API.
We now use a IceTransportOptions to select ICE options.
STUN/TURN servers are modified using this options struture.
Refs #72663
Change-Id: I35106000d803c1374f97ce89e7b895faf1e97b77
2015-05-15 10:43:39 -04:00
63b7de4e58
call: rename displayName API to peerDisplayName
...
This solves confusion with Account API.
This is an internal API change, no public API impacted,
nor behavior.
Refs #72742
Change-Id: I34a91a49de414207e1e1bb12a2743438162b32d7
2015-05-15 10:33:54 -04:00
2479a4038e
ringbuffer: fix invalid read access
...
Fix read access to a free'ed memory when waiting for audio data.
Refs #73286
Change-Id: Iefbe6e4540c14a114cd4c8684ff91445eb290922
2015-05-14 16:55:49 -04:00
4d98e0f571
ice: use lock_guard than unique_lock
...
The former has less overhead than later if extra features not needed.
Refs #73286
Change-Id: I2eb988dc546e92c934304a2e9b9419f5a025f23b
2015-05-14 14:48:21 -04:00
b1d2a0de26
ice: fix new/delete mismatching
...
Refs #73286
Change-Id: I4e0559149c468a96ac93f7d377e2a8d255d87974
2015-05-14 14:46:57 -04:00
9ea6ae7338
opendht: bump to 9823395
...
This bump brings fixes:
dht: drop incoming msg with unknown protocol
dht: fix buffer-overflow in Dht::blacklistNodedht: drop incoming msg with unknow
infohash: fix buffer-overflow
Refs #73065
Change-Id: I9dd35914a01acc0df51b75e34c3526959d258c79
2015-05-14 14:07:48 -04:00
dcdab500b1
Revert "opendht: bump to b50f368dc8"
...
This reverts commit 8efba861fe
.
Wrong many changes added
Change-Id: I778844ed74188aafa2a4c07646551740a25fa32c
2015-05-14 13:54:41 -04:00
8efba861fe
opendht: bump to b50f368dc8
...
Include fixes:
[b50f368dc8] infohash: fix buffer-overflow
Refs #73065
Change-Id: Ida437a7dd0043988bca2135842d07ae1bd5c6873
2015-05-13 21:19:15 -04:00
a5acbc5a51
dht: fix random generators on Windows
...
This patch should fix DHT calls on Window platform.
Replacing random_device (deterministic on Windows because of
no /dev/urandom/ support) with a default_random_engine with a time seed.
It's a less secure way of doing it (vulnerable to time attack).
Refs #72538
Refs #72700
Change-Id: I259f80144eeee6732cc969ecb224544a53d7ccf1
2015-05-11 16:13:40 -04:00
f47429097e
ice: prevent nullptr access to non-initalized transport
...
Refs #72663
Change-Id: Ic3e5f60ce14e55957fafd738df40bc811c5baac9
2015-05-07 21:29:58 -04:00
2e9bcc05b0
sipaccountbase: STUN/TURN server details support
...
Move STUN sever related details to sipaccountbase.
Add TURN server enable and url to account details.
Add it to YAML serialization.
Refs #72663
Change-Id: If7120b9b632c0a45693a462b715bbd51d4bb2bcb
2015-05-07 13:29:32 -04:00
c3a24f7091
windows: fix video apply settings bug
...
Refs #72539
Change-Id: I2c7f3e1375d104db89188763bcafa6e78fe49891
2015-05-06 15:13:17 -04:00
ee8201bcaa
windows: fix getLoginName function
...
Refs #72537
Change-Id: Ib4e07a4512914c9e14f7b9ac7a1f90082d5a77ed
2015-05-06 12:16:49 -04:00
405ea47750
windows: fix recursive mkdir
...
Refs #72215
Change-Id: I9aef27bb916da18d5aea094acacb546b6797fcd0
2015-05-04 17:18:19 -04:00
5fa08a2e53
api: change a ConfigurationManager signal
...
Changed IncomingMessage for IncomingAccountMessage to solve
naming overlapping with one defined in CallManager signal API.
The old name is has been introduced into 2.2.x branch,
this new API will be also.
Refs #72396
Change-Id: I98bd6f1efa7b1c1671d963e353b105131249339f
2015-05-04 16:11:45 -04:00
42641a7ab0
ice: output IceIOQueue error as debug than error
...
Some errors are "normal" in usual context, so do not
alert user with big red alert...
Refs #72111
Change-Id: I27f7f0b6d1dffc8f4029484ad30c5f786f21ccbb
2015-05-04 15:51:20 -04:00
c07bb6bd87
daemon: enable image encoders in contrib
...
Refs #71918
Change-Id: I34aa7f0156559a332d648acbe5e8ee548bf04b1f
2015-05-04 14:04:59 -04:00
fbf9f5e225
contrib/gnutls: fix -Wformat-security build error
...
Refs #72274
Change-Id: Ib97d53f0134697a9c83b64c96c5dd2deb79bdf30
2015-05-04 13:05:45 -04:00
4d0f52aecc
contrib/opendht: udpate deps list to gnutls 3.3.0
...
Refs #72274
Change-Id: I0f96457d5597e060dd0d6bbe94c735b919f3c3e9
2015-05-04 12:53:39 -04:00
8d0333ca16
bump to 2.3.0
...
New master
Refs #72274
Change-Id: I4d85be574a1d352dad030b2b13e0c790e8c6ad7d
2015-05-01 16:11:32 -04:00
2fe6c6d51c
update NEWS changelog
...
Refs #72274
Change-Id: Ice0fdfb3eb6fc247f3d3cd9bc52a019df99197cd
2015-05-01 16:10:16 -04:00
1fd161469c
contrib: force minimal version of gnutls to 3.3.0
...
3.2 and below are 2.8 ABI, not compatible anymore with our
requirements.
Refs #72156
Change-Id: I9bc5ca418b28885318032493d66230d2f6baa5b6
2015-05-01 13:26:57 -04:00
bdfaeedfde
contrib: bump opendht to 48c10af32f
...
This bump brings these fixes:
- crypto: revert to DER fmt to pack certificate
Refs #72156
Change-Id: I4e9f8dd9e4a9982fdb73dfc0c9069a26b7de6b14
2015-05-01 11:27:41 -04:00
c4a1520b4b
contrib: bump opendht to 06a32eedd1
...
This version fixes certificate exportation.
Refs #72156
Change-Id: I8f2c34ad151fa2518e91ca69b954180d041c8cc7
2015-04-30 22:35:10 -04:00
b71416efdc
security: re-enable ca_list and regenerate it.
...
Previous commit doesn't fix well the issue.
We really need the ca_list.pem.
It wasn't generated if not existing (removed code).
This patch re-adds this code and call it when tls is initialized
and when a ring account is registered.
Refs #72156
Change-Id: I39fc773bbf2d23a8975359590d60535287ebedfd
2015-04-30 16:43:06 -04:00
0f09f09d1f
contrib: fix gnutls compilation
...
Refs #72184
Change-Id: I8b6d822a4180b12027d0031780f8159d0ecc9172
2015-04-30 15:47:56 -04:00
f35e07ffeb
security: disable ca_list file
...
This patch protects a crash due to a non-existant file access.
This files seems not to be checked as ca list is implemented
in another way (recent patch).
Refs #72156
Change-Id: I950af16bf66c8e9f270d4014750dfe0e20edcfe1
2015-04-30 13:39:36 -04:00
fe736f7888
ice: io handle loop was sub-optimal
...
- remove code noise
- use MAX_NET_EVENTS = 2 after empirical testing
Refs #72111
Change-Id: I516ac3886afbb21b55df8c9ef71f8c3d36aa04bf
2015-04-29 22:29:01 -04:00
e507252d89
sipcall: fix tls details
...
This patch fixes crash when sipcall getDetails is called too early.
Refs #68196
Change-Id: I06248512687db93c40672dbad09508f3a194bc69
2015-04-29 16:36:20 -04:00
bca6be992e
siptransport: fix minor code rules violation
...
Refs #68196
Change-Id: I5f746e1f08861503b042648cdbfaabd00c3ddb49
2015-04-29 16:09:13 -04:00
e22087db7d
security: add daemon certificate store
...
WARNING: this patch breaks dhtcall backward compatibility!
* add certificates storing and various handling API
* bump opendht (ac492aaa7b)
* allows public incoming calls by default (new preference)
Refs #68196
Change-Id: I9f69f680135af26fce2b6a0ca115823686f4c7a9
Signed-off-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com >
2015-04-29 13:54:47 -04:00
42b5e68cf0
windows: fix SIGSEGV occuring when no camera are found
...
Refs #71985
Change-Id: I78aa51ef823a2d48da96d4f0ed58bc838915b4f5
2015-04-29 13:27:14 -04:00
85a890d0e6
daemon: change wrong comments
...
Refs #71531
Change-Id: I5ec58e69f222573101bfac6d83a23e5f7b416174
2015-04-28 20:57:54 -04:00
4c9515d298
call: add connecting state event
...
Refs #71781
Change-Id: I05098c994eec4a7eeeed8867c833f9e8a5754f89
2015-04-28 11:45:27 -04:00
9896feafd4
windows: fix compilation
...
Fix compilation of GnuTLS and Pjproject broke by bump
Fix libvideo compilation (enforcing static, activating opus and speex)
Refs #68888
Change-Id: I29bfb30ec2c7327b022857f851f57b019f9cb6a0
2015-04-28 11:45:09 -04:00
7f174f8d4e
sipaccount: credentials refactoring
...
Refs #71790
Refs #71531
Change-Id: Iddb5dcc5594b4efbf36bc8b97519c76094ae1511
2015-04-28 11:36:36 -04:00
e2ec6d960d
sipaccount: fix pointer to deinitialised local variable
...
Refs #71790
Change-Id: Ica542e01c1f6a4d8305b3653923ed6a0078e6e41
2015-04-27 18:44:39 -04:00
ac4ce3f422
pulseaudio: cleanup
...
* factor duplicated code
* replace AudioStream pointers with unique_ptr
* replace static function with inline lambdas
* #define-disable some verbose logs
* use temporary buffers in a consistent way accros audiostreams
Refs #71531
Change-Id: Id70dc45206f3869217a88d598973b628769af87e
2015-04-27 17:16:08 -04:00
81aad4bef5
daemon: use all available threads for decoding
...
Refs #71777
Change-Id: I5bfd462f1eb3da4e6586a6775c53dda3b7e63859
2015-04-27 16:41:14 -04:00
f63decac70
daemon: remove NumberCleaner
...
Refs #71726
Change-Id: I167f7563247243201134ff417595294a49e1b3df
2015-04-27 14:25:05 -04:00
f7fe93d133
pulseaudio: fix memory corruption
...
Refs #71680
Change-Id: Ibe64bc2fa323c589c2323d2bea4a80269a2a84e0
2015-04-27 13:54:18 -04:00
4e8c7f3269
daemon: re-register SIP account when credentials change
...
Refs #71715
Change-Id: Ie3bcb8a4e7c9118c3ff9b39209fd06e53e18fa26
2015-04-27 11:57:56 -04:00
b245bcd766
sipaccount: fix NAT-overriden sips contact header
...
Refs #71677
Change-Id: I8593e0c79f3b298a85ccd7f6cd7b4a6438fd2f30
2015-04-27 01:12:07 -04:00
74b6b7623e
account: log cleanup
...
Refs #71531
Change-Id: I2fa1fb5792daf31cd76995c590e452b1d291494e
2015-04-27 01:12:07 -04:00
98e5895373
gnutls: fix osx
...
Refs #71318
Change-Id: I627ade6c6904979b1126dc934f798eb89d9730d1
2015-04-23 17:06:19 -04:00
0ebae27ccd
manager: merge managerimpl code in manager files
...
Note: Manager namespace is not longer existing.
Refs #71531
Change-Id: I55e2281afefbd42e39512b3c7ace15e693bf32ff
Signed-off-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com >
2015-04-23 16:15:31 -04:00
649a22e070
fileutils: add isDirectory
...
The method returns true if given path is a directory filesystem entry
Refs #68196
Change-Id: I983b23aec24e30321483b3f90d0ef9ccacbc515f
2015-04-23 16:04:28 -04:00
a3f9cd7bd2
api: remove unused methods
...
Refs #71525
Change-Id: I11b8629fa42e4fbf413dde14493dccd2c4944242
2015-04-23 15:26:37 -04:00