Anthony Minessale
5646957c5b
FS-5937
2014-02-26 04:06:59 +05:00
Brian West
463f32c4e3
FS-5937: i need to build a test rig for this, go go gadget iphone commit
2014-02-24 23:44:44 -06:00
Jeff Lenk
7aff64b2d2
fix compiler warning vs2010
2014-02-24 23:29:15 -06:00
Marc Olivier Chouinard
780890b5de
FS-6240 --resolve
2014-02-24 17:06:01 -05:00
Anthony Minessale
a900eadf5b
FS-5937 --resolve
2014-02-24 14:56:49 -06:00
Anthony Minessale
97e234048c
FS-6204 refactor some dtls code to generate a 1024 bit cert suitable for dtls in all version of chrome
2014-02-19 07:05:37 +05:00
Ken Rice
6e7d5d0897
update copyright header for 2014
2014-02-12 12:08:56 -06:00
Anthony Minessale
03c723cfd1
FS-6195 --resolve
2014-02-06 22:24:05 +05:00
Anthony Minessale
5228e02b19
FS-5544 after going over this with a fine tooth comb, all I could find was some issues behind asymetrical nat. If there is a real problem here, post the flipping logs I asked for days ago.......
2014-02-04 11:56:30 +05:00
Travis Cross
59d10edd79
Fix build on x86/i386 systems
2014-01-31 17:49:44 +00:00
Jeff Lenk
7b44e5b27c
compiler warnings
2014-01-29 20:46:38 -06:00
Anthony Minessale
4591088971
remove extra debug
2014-01-30 05:37:05 +05:00
Anthony Minessale
32b2a45efc
add more rtp statistics with several new vars for cdr processing in_jitter_min_variance in_jitter_max_variance in_jitter_loss_rate in_jitter_burst_rate in_mean_interval in_flaw_total in_quality_percentage in_mos
2014-01-30 05:08:34 +05:00
Anthony Minessale
0e68325319
only send cng when its setup
2014-01-25 03:51:27 +05:00
Anthony Minessale
358b5db0e4
block all possible routes to write data during ice and dtls negotiation
2014-01-25 03:48:32 +05:00
Anthony Minessale
6fef880f12
FS-5675 --resolve
2014-01-24 00:23:58 +05:00
Peter Olsson
084e245085
Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks.
2014-01-22 22:30:23 +01:00
Anthony Minessale
8dfbd91a3d
fold version macros into runtime functions to avoid cascade rebuilds when modifying the core
2014-01-17 01:54:47 +05:00
Anthony Minessale
f4a4ba1716
FS-5544 --resolve
2014-01-15 21:20:06 +05:00
Anthony Minessale
1b9c21ee88
some webrtc tweaks
2014-01-15 07:04:24 +05:00
Anthony Minessale
e71dabae50
FS-6007
2013-12-31 00:21:51 +05:00
Jeff Lenk
910c661508
fix trivial compiler warning for last commit
2013-12-27 14:52:52 -06:00
Anthony Minessale
de65c19c3c
FS-6007 FS-5083 FS-4514 --resolve
2013-12-28 01:39:41 +05:00
Anthony Minessale
6c5a17894c
accept any payload when no payload map is present
2013-12-05 16:35:49 -06:00
Anthony Minessale
2747660269
FS-5959 FS-5958
2013-11-25 12:08:17 -06:00
Anthony Minessale
b8dc07132a
FS-5959 i hate this ticket
2013-11-22 08:55:45 +05:00
Anthony Minessale
c07a6b6b9e
add polycom support to multicast paging, broadcast all formats at once to support most every popular phone at once
2013-11-22 04:52:11 +05:00
Anthony Minessale
ccaa3ae732
FS-5959
2013-11-21 01:38:21 +05:00
Anthony Minessale
a4dd6ccb42
fix some issues in passthrough of fec packets
2013-11-09 23:02:11 +05:00
Anthony Minessale
bb9adff511
rework media code
2013-11-08 03:48:00 +05:00
Anthony Minessale
2589bf7750
minor webrtc tweaks
2013-11-02 01:21:35 +05:00
Anthony Minessale
b0d95efd09
dont byteswap the extended bit headers in the actual packet so it can properly echo back without modification
2013-10-31 17:22:09 -05:00
Anthony Minessale
fd97365d4a
detect ca-bundle.crt for chain cert to use in dtls connections
2013-11-01 02:22:11 +05:00
Anthony Minessale
88a13f1fc2
update err msg
2013-10-29 13:40:27 -05:00
Anthony Minessale
562ef81dd9
fix webrtc rtcp issue on reinvite
2013-10-29 03:44:07 +05:00
Anthony Minessale
ce83817318
webrtc tweaks
2013-10-28 23:39:33 +05:00
Anthony Minessale
6a7793f72a
change dtmf vol to 13
2013-10-17 12:33:55 -04:00
Anthony Minessale
af4c91764d
only test for reneg after 20 sec with no activity
2013-10-17 03:58:09 +05:00
Anthony Minessale
4a172402d2
some refactoring and plumbing for 1.4
2013-10-16 02:24:32 +05:00
Anthony Minessale
850c154bd4
fix vid switching in webrtc
2013-10-15 04:57:57 +05:00
Brian West
c0dc8ed6ff
deal with rtp keep alives
2013-10-07 11:38:08 -05:00
Anthony Minessale
d9216daedb
Fix regression from ignoring breaks in video rtp sessions and add a flag to force a break when needed
2013-09-12 21:47:54 +05:00
Anthony Minessale
8def066077
FS-5774 --resolve
2013-09-11 03:01:45 +05:00
Anthony Minessale
5b4b1dce71
FS-5754
2013-09-04 14:15:44 -05:00
Anthony Minessale
952c37d940
FS-5296 --resolve
2013-08-22 02:30:59 +05:00
Anthony Minessale
ef62351c47
FS-5693 --resolve
2013-08-14 02:00:36 +05:00
Seven Du
f7e6c6d6c0
FS-5670 --resolve allow debug rtp if rtp is not attached to a session
2013-08-08 08:22:00 +08:00
Anthony Minessale
39ad799683
FS-4932 FS-5090 --resolve
2013-07-29 10:18:05 -05:00
Anthony Minessale
8253bab19d
send 2 firs to make sure it works
2013-07-17 12:46:10 -05:00
Anthony Minessale
eebac2ea95
webrtc video tweaks
2013-07-16 19:16:01 -05:00
Anthony Minessale
4bf4bf83a8
tweak
2013-07-12 16:59:35 -05:00
Jeff Lenk
92452ad309
fix windows compiler error
2013-07-12 14:27:45 -05:00
Anthony Minessale
5dbf2b3cf7
refactor some video code
2013-07-11 17:38:24 -05:00
Anthony Minessale
8de63a750e
FS-5571 --resolve
2013-07-08 10:02:38 -05:00
Anthony Minessale
e1ed386bb9
FS-5565 --resolve
2013-07-01 12:16:47 -05:00
Anthony Minessale
cd56d774a0
parse error response for code to only change roles on 487
2013-06-27 13:00:20 -05:00
Anthony Minessale
13dacdcde4
FS-5546 --resolve oddly that is the thing I was trying to fix in the first place
2013-06-26 09:17:15 -05:00
Anthony Minessale
ecc4b52d4a
fix typo with some flags related to jingle
2013-06-25 14:54:34 -05:00
Nathan Neulinger
32adc789f6
make noexpandtab explicit in all vim modelines other than xml files
2013-06-25 11:50:17 -05:00
Anthony Minessale
48e1415f64
fix return values from refactor so stun timeouts can trigger error properly
2013-06-21 12:42:37 -05:00
Anthony Minessale
5a0f43d956
make sure sip-hold works on webrtc
2013-06-21 00:41:25 -05:00
Jeff Lenk
a7be251bd8
fix several more windows compiler warnings and mod_gsmopen
2013-06-18 22:44:11 -05:00
Jeff Lenk
ec9eebbf99
fix trivial compiler error and vs2010 reswig
2013-06-18 16:55:03 -05:00
Anthony Minessale
2fac3a8e83
refactor some of the video passthru code
2013-06-17 19:52:37 -05:00
Brian West
ecd8aabf5d
log auto adjust ip and port separate so it doesn't get clobbered on hold/update events
2013-05-28 16:25:39 -05:00
Travis Cross
4ea2ae5d38
Remove extraneous parentheses
...
This resolves a clang warning:
error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
2013-05-26 12:19:19 +00:00
Travis Cross
012003b5ff
Don't setup ZRTP without a session and channel
...
FS-5472 --resolve
2013-05-25 21:10:11 +00:00
Anthony Minessale
ea881b191f
media/srtp refactoring pass
2013-05-17 15:39:30 -05:00
Anthony Minessale
d50366f377
FS-5418 --resolve
2013-05-15 08:08:41 -05:00
Seven Du
a980074f16
FS-4990 Doh! fix unintentional %s
2013-04-27 17:08:35 +08:00
Seven Du
5b9318c109
FS-4990 change uuid_debug_audio to uuid_debug_media and add video params
2013-04-27 06:47:06 +08:00
Anthony Minessale
7a42ec06df
RTP stats were not being logged. There is no JIRA on this sigh
2013-04-26 09:31:28 -05:00
Anthony Minessale
f92528436f
FS-5302 --resolve
2013-04-19 15:25:11 -05:00
Anthony Minessale
4e85f9d544
fix some rtp regressions
2013-04-11 18:11:06 -05:00
Anthony Minessale
455a76434c
save last sent id for validation later
2013-04-10 11:27:09 -05:00
Anthony Minessale
72df7a9fe5
fix udptl issue
2013-04-09 19:43:23 -05:00
Anthony Minessale
d50d43f788
make auto-adjust more logical
2013-04-08 11:00:28 -05:00
Anthony Minessale
bd421d65ff
flush on answer for inbound only
2013-04-04 13:46:57 -05:00
Jeff Lenk
be273b673b
windows compile another step closer
2013-04-03 15:41:46 -05:00
Jeff Lenk
43eaa95746
windows compile another step closer
2013-04-03 08:55:03 -05:00
Anthony Minessale
69c3c7d8e2
FS-5257 --resolve you seem to be setting sip_secure_media on an inbound leg, this is not correct. This patch should auto-correct that but also beware that the variable has changed to rtp_secure_media after this commit
2013-04-02 20:05:46 -05:00
Anthony Minessale
5544db8d5e
FS-5256
2013-04-02 19:10:18 -05:00
Anthony Minessale
293ed932e8
FS-5256 --resolve
2013-04-02 19:08:28 -05:00
Brian West
8839d61523
fix typo
2013-04-02 13:37:04 -05:00
Brian West
e334fd064f
fix variable name
2013-04-02 13:10:00 -05:00
Anthony Minessale
e23b6a22bd
fix 32 bit build
2013-04-01 23:14:14 -05:00
Anthony Minessale
97f0c0301f
fix zrtp build
2013-04-01 09:13:39 -05:00
Anthony Minessale
fa8e199802
fix build
2013-03-31 21:27:27 -05:00
Anthony Minessale
dd878da49d
clean up proxy media mode
2013-03-31 21:27:27 -05:00
Anthony Minessale
45bd5952b1
fix some regressions and improve candidate selection
2013-03-31 21:27:26 -05:00
Anthony Minessale
d33732ed00
MILESTONE: working firefox audio
2013-03-31 21:27:25 -05:00
Anthony Minessale
c4b221c750
trying to get mozilla to work using sipml5, got stun/dtls/rtp flowing and its dead silent. c'mon guys... why do you have to do everything differently?????
2013-03-31 21:27:25 -05:00
Anthony Minessale
01e411c2d7
add ice based auto-adjust
2013-03-31 21:27:25 -05:00
Anthony Minessale
bc3d2b20cd
tweaks for calling local candidates
2013-03-31 21:27:24 -05:00
Anthony Minessale
e1c3d51349
force the version header in the rtp packet to 2 when pulling data out of the jitter buffer because when you get a stun packet it will still be 0 from last time
2013-03-31 21:27:24 -05:00
Anthony Minessale
9b16fb319a
make sure to sort rtp vs rtcp when using rtcp mux
2013-03-31 21:27:24 -05:00
Anthony Minessale
6b12d7b285
fix build against older openssl
2013-03-31 21:27:23 -05:00
Anthony Minessale
8d86577204
fix dtls ifdefs
2013-03-31 21:27:23 -05:00
Anthony Minessale
ff532ec311
try to ifdef so we can still build against openssl older than 1.0.1 (but dtls would not work still in this case)
2013-03-31 21:27:23 -05:00
Anthony Minessale
4cac512b97
change ssl symbol visibility to specific places in core only
2013-03-31 21:27:23 -05:00
Anthony Minessale
16fa338b49
cleanup debug and memory and add stupid code for using sep dtls session when rtcp is not mux
2013-03-31 21:27:23 -05:00
Anthony Minessale
a01ad9a1aa
dtls both ways now
2013-03-31 21:27:22 -05:00
Anthony Minessale
dd9271d6b9
MILESTONE: dtls-srtp inbound
2013-03-31 21:27:22 -05:00
Anthony Minessale
dabb85c3f6
wip
2013-03-31 21:27:22 -05:00
Anthony Minessale
21408d4534
ice tweaks
2013-03-31 21:27:22 -05:00
Anthony Minessale
b1c855e1aa
remove debug
2013-03-31 21:27:20 -05:00
Anthony Minessale
d77241c414
wip
2013-03-31 21:27:19 -05:00
Anthony Minessale
f1e304cc29
wip
2013-03-31 21:27:19 -05:00
Anthony Minessale
aa3368a1ac
wip
2013-03-31 21:27:19 -05:00
Anthony Minessale
daea865e7b
fix rtcp
2013-03-31 21:27:19 -05:00
Anthony Minessale
72e2d183c1
update to cvs head srtp
2013-03-31 21:27:19 -05:00
Anthony Minessale
aad4da5b71
typo
2013-03-31 21:27:18 -05:00
Anthony Minessale
12e70149ff
rtcp-mux
2013-03-31 21:27:18 -05:00
Anthony Minessale
1c120dd2c8
not too shabby audio and vid work both directions but browswer hates our srtcp ...
2013-03-31 21:27:18 -05:00
Anthony Minessale
1db0e26e8e
wip
2013-03-31 21:27:18 -05:00
Anthony Minessale
76502d9027
wip
2013-03-31 21:27:18 -05:00
Anthony Minessale
aea974a91f
MILESTONE: audio and video working inbound
2013-03-31 21:27:18 -05:00
Anthony Minessale
052ee0a1fa
wip
2013-03-31 21:27:17 -05:00
Anthony Minessale
7510bccd6c
MILESTONE: working inbound calls
2013-03-31 21:27:17 -05:00
Anthony Minessale
cb076e6b28
fucked
2013-03-31 21:27:17 -05:00
Anthony Minessale
f5e2a2e0ee
fix cng
2013-03-31 21:27:17 -05:00
Anthony Minessale
330f68d946
convert rtp flags to arrays
2013-03-31 21:27:13 -05:00
Anthony Minessale
3226882682
FS-5203 --resolve
2013-03-27 11:09:07 -05:00
Anthony Minessale
3d2457eddd
FS-5120 please update and test this version
2013-03-01 09:29:47 -06:00
Anthony Minessale
b14fd4a5a4
FS-4923 try this
2013-02-14 14:07:25 -06:00
Travis Cross
388206d784
Whitespace
2013-01-31 19:25:07 +00:00
Travis Cross
69cda3d7cc
Fix handling of the ZRTP cache path and file name
...
libzrtp strings are weird, and we were previously misusing the
function zrtp_zstrcpyc. We can't use ZSTR_GV because it does insane
things and causes an array-bounds warning on gcc 4.7. So we have to
take matters into our own hands and setup the string correctly and
copy data into it.
Because we were doing it wrong, people would get weird pseudo-random
single-character names for the zrtp cache file, and the file would end
up in the wrong place. Now that this is fixed, users will need to
locate and move their zrtp cache file to their db_dir and name it
"zrtp.dat" if they wish to keep their current ZRTP cache.
FS-4344 --resolve
2013-01-31 18:40:24 +00:00
Anthony Minessale
a46c897208
use less expensive time func in rtp stack
2013-01-15 09:15:39 -06:00
Anthony Minessale
d78f4ffb19
fix vid regression
2013-01-13 21:27:17 -06:00
Anthony Minessale
ca6d7a7aa0
FS-4905 This looks like it was only the case adjacent to dtmf; Try this patch.
2013-01-08 11:43:16 -06:00
Anthony Minessale
6f376023a2
send cng less often
2013-01-08 11:47:15 -06:00
Brian West
b1ba926640
fix logging in debug def
2012-12-26 10:57:43 -06:00
Anthony Minessale
40346ff6a8
minor tweaks for udptl mode
2012-12-14 16:52:27 -06:00
Jeff Lenk
17833733aa
fix for last commit - windows compiler warning
2012-12-13 21:54:54 -06:00
Anthony Minessale
d301451782
fix issue where rtp stack was not paying attn to header extensions
2012-12-13 19:49:02 -06:00
Anthony Minessale
e89fe5a03b
FS-4905 hmm, part of my patch did not get comitted... try this...
2012-12-12 09:33:48 -06:00
Anthony Minessale
8aecffef50
don't send cn packet until you have sent some actual audio
2012-12-07 15:11:49 -06:00
Anthony Minessale
924c524197
fix some delay regressions
2012-12-05 13:17:50 -06:00
Anthony Minessale
57a2d59ed6
revert this, probably not needed
2012-12-02 09:58:33 -06:00
Anthony Minessale
444f7924e5
not quite, one more tweak
2012-11-30 14:05:45 -06:00
Anthony Minessale
4e3bb1a1e6
rtp and signal parsing adjustments
2012-11-30 13:54:47 -06:00
Anthony Minessale
6e3c08f590
disable catchup code when jitterbuffer is there
2012-11-30 11:43:48 -06:00
Anthony Minessale
1073f70b6f
spread out timer skips to smooth out socket catch-up
2012-11-29 13:43:01 -06:00
Anthony Minessale
d4f8a79299
try to improve audio stream sync
2012-11-28 23:12:35 -06:00
Brian West
89f4cd75f0
Fix 2833 Debuging
2012-11-21 13:59:23 -06:00
Anthony Minessale
6c1e81a813
FS-4797 --resolve
2012-11-06 08:53:00 -06:00
Anthony Minessale
f1bcc387a3
put back seq number when pulling from jb
2012-10-30 16:05:44 -05:00
Anthony Minessale
986fede6b0
make a way to get the jitter buffer down to the codecs
2012-10-18 15:29:00 -04:00
Anthony Minessale
a20aec182a
add rtp_manual_video_rtp_bugs
2012-10-16 18:43:00 -04:00
Anthony Minessale
4dd1591945
FS-4684 this should help the proxy situation
2012-10-05 11:49:29 -05:00
Anthony Minessale
80c2bd786a
FS-4669 --resolve
2012-10-02 10:31:32 -05:00
Anthony Minessale
8d61404016
fix issue where dtmf was not being sent on an outbound leg when there was no inbound audio
2012-09-28 16:17:20 -05:00
Anthony Minessale
5259814aee
number not true
2012-09-28 14:06:04 -05:00
Anthony Minessale
4bb5c93e4a
use a lower level write func for cng packets
2012-09-26 12:10:37 -05:00
Anthony Minessale
679921d914
FS-4548 --resolve such a little patch for a big problem, good find
2012-08-20 12:11:17 -05:00
Stefan Knoblich
8bcf3b4fb8
FreeSWITCH: Add switch_strerror_r() to fix problems with XSI and GNU variants of strerror_r().
...
GNU variant of strerror_r() returns char *, while the XSI version returns int.
To make things worse, glibc ships both and added a unused result warning
in recent versions (2.16) causing the build to fail.
Add our own custom wrapper that always returns a pointer to the message buffer
and additionally make XSI versions of strerror_r() GNU compatible by
returning "Unknown error xxx" if no error message is available.
Fixes:
src/switch_rtp.c: In function 'rtp_common_read':
src/switch_rtp.c:3313:15: error: ignoring return value of 'strerror_r',
declared with attribute warn_unused_result [-Werror=unused-result]
cc1: all warnings being treated as errors
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-14 14:11:44 +02:00
Stefan Knoblich
3b5b59e693
Revert "FreeSWITCH: Fix warn-unused-result error in rtp_common_read()."
...
*sigh* of course there are two versions of strerror_r():
char *strerror_r() - GNU
int strerror_r() - non-GNU
Revert and back the drawing board...
This reverts commit 3c82033e53
.
2012-07-31 01:58:48 +02:00
Stefan Knoblich
3c82033e53
FreeSWITCH: Fix warn-unused-result error in rtp_common_read().
...
strerror_r() returns the error message string (and expects you to use it).
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-30 13:56:48 +02:00
Anthony Minessale
524468be7b
FS-4373 --resolve this is probably the same issue nobody would file a bug about on the mailing list even after I begged them to from last weekend
2012-07-23 11:36:19 -05:00
Anthony Minessale
db0cca3bf4
FS-4437 try this revision
2012-07-19 12:40:34 -05:00
Anthony Minessale
f4e1fc4bc6
FS-4382 --resolve missing \!
2012-07-19 11:30:00 -05:00
Anthony Minessale
f4715781dc
FS-4382 reverse this so you have to enable instead of disable, this patch has been causing srtp issues because the change in ssrc
2012-07-18 22:01:41 -05:00
Anthony Minessale
d63323977f
turn on send_silence_when_idle whenever we engage srtp
2012-07-18 12:19:47 -05:00
Anthony Minessale
b27aad913e
typo
2012-07-17 10:32:31 -05:00
Anthony Minessale
8ad5d8a6b0
FS-4317 this might help, this fixes a regression cause by another recently altered code path and it sounds similar but I never got the new logs from you so this is a guess
2012-07-16 18:47:45 -05:00
Anthony Minessale
06046e3437
FS-4427 try this revision however i think its a problem with the remote client not properly preserving the headers of the srtp packets.....
2012-07-16 12:51:13 -05:00
Anthony Minessale
b6e962de1d
typo
2012-07-13 18:02:09 -05:00
Anthony Minessale
4a801c8626
only decode rtp packets in srtp mode
2012-07-13 14:58:20 -05:00
Jeff Lenk
fc5490f1dc
FS-4415 --resolve
2012-07-11 22:31:36 -05:00
Anthony Minessale
1e7d214ae6
compiler errs from last commit
2012-07-11 15:35:49 -05:00
Anthony Minessale
088437cab1
add some rtcp stuff for sangoma
2012-07-11 15:23:12 -05:00
Anthony Minessale
2aebe2456f
first pass on some new stuff
2012-07-11 15:15:50 -05:00
Anthony Minessale
9ca929218f
FS-4382 --resolve
2012-07-06 11:12:14 -05:00
Anthony Minessale
59bd4b0f14
fix regression with proxy_packet flag
2012-07-03 13:17:38 -05:00
Anthony Minessale
848f05fb41
FS-3659 this fixes sub issue, this should have been a new jira ticket
2012-06-28 14:02:02 -05:00
Travis Cross
7978bd8921
Don't truncate 5-digit port numbers
...
The adj_port buffer was only 5 bytes wide, so we were truncating any
port numbers >= 10000 that were written to this variable as snprintf
ensures the last byte is null.
FS-4354 --resolve
2012-06-27 20:17:08 +00:00
Jeff Lenk
a97ec71902
fix warnings on windows code verification
2012-06-25 10:06:41 -05:00
Travis Cross
453b42e301
Remove extraneous parenthesis
...
This causes a warning that breaks the build with clang.
2012-06-24 07:36:14 +00:00
Travis Cross
ad53499b42
Always set the ZRTP SAS verified flag on our side
...
When we're terminating ZRTP to an IVR or to a leg which is not
ZRTP-capable, there's no way for us to make an intelligent decision
about whether this flag should be set. For a client to consider the
SAS as verified, however, both sides need to set this flag. By always
setting this flag on our side, we leave the decision completely in the
hands of the client where we hope there is a careful human.
Signed-off-by: Travis Cross <tc@traviscross.com>
2012-06-23 22:34:06 +00:00
Anthony Minessale
a5021fa384
FS-4337 --resolve this actually uncovered a bug cos it was supposed to be rtcp_bytes not bytes
2012-06-23 14:03:06 -05:00
Anthony Minessale
8b4c9dc42c
FS-3659 and some refactor for rtcp ice and video ice and rtcp
2012-06-22 18:15:06 -05:00
Anthony Minessale
8bb55ed4bf
abstract out originate_signal_bond to a function to avoid confustion and regressions
2012-05-29 13:10:15 -05:00
Travis Cross
f37b1f0c54
squelch another source of noise ZRTP protection drops
2012-05-24 03:59:09 +00:00
Travis Cross
d470ae239c
don't log ZRTP protection drops
...
At least until we can distinguish the meaningful ones from the noise.
2012-05-24 03:52:51 +00:00
Travis Cross
236b927780
lower log level on ZRTP protection drop
...
When a call is being setup, a couple seconds of audio may be sent
unencrypted. This seems to trigger the log message here with every
such packet.
2012-05-24 03:50:42 +00:00
Travis Cross
0c1a95f745
fix gcc 4.7.0 warning related to enum type
...
This amends commit 7bd9efc7f5
.
We changed away from using unsigned here because it caused a warning
on Windows. Using the more specific type, however, is causing a
warning on gcc-4.7 (it notices that the switch statement contains
values not present in the specified enum type). So we're switching
back to unsigned here while keeping the type casts and hoping that
keeps Windows happy.
2012-05-24 00:48:59 +00:00
Travis Cross
83e090c30d
add some casts to make things work with both gcc and VS
...
This amends commit 7bd9efc7f5
.
Using the more explicit typedef causes gcc to warn about the
incompatible types for the reasons noted in the earlier commit
message. This is why we just used the unsigned type earlier so we
could avoid all this casting.
The things we do to make Windows happy...
2012-05-17 16:40:30 +00:00
Jeff Lenk
b65c321193
FS-4228 --resolve add zrtp support to windows vs2010 build
2012-05-17 08:38:11 -05:00
Travis Cross
d5484651ce
squelch a Windows VS warning about null termination on the ZID
...
According Jeff Lenk, Windows Visual Studio doesn't understand that
people use the char type for non-null-terminated byte arrays, so it
throws a warning about this that causes the build to fail on Windows.
As the initial value for the ZID doesn't really matter here one iota,
just null-terminate it on Windows.
2012-05-17 06:13:32 +00:00
Travis Cross
fdc9e7f8b6
work around libzrtp API mistake for VS
...
libzrtp's sas_is_verified field is a uint32_t, but zrtp_verified_set
expects a uint8_t. This is a boolean field, so it doesn't matter one
way or the other. gcc doesn't care, but Windows Visual Studio
apparently throws a warning about this.
2012-05-17 05:40:57 +00:00
Travis Cross
7bd9efc7f5
use the typedef for an enum rather than unsigned
...
The callback here receives both zrtp_protocol_event_t and
zrtp_security_event_t events. The latter is numbered contiguously to
the former. Still, it's a bit confusing to have to pick one as a
type, but apparently this fixes a warning on Visual Studio on Windows.
Thanks to Jeff Lenk.
2012-05-16 21:26:50 +00:00
Travis Cross
31e0e17d6b
make some ZRTP-related integer casts explicit
...
...to satisfy Windows Visual Studio. Thanks to Jeff Lenk.
2012-05-16 21:05:41 +00:00
Anthony Minessale
76c0201e89
dtmf tweak
2012-05-08 12:52:52 -05:00
Anthony Minessale
845639025c
FS-4122
2012-04-20 08:04:32 -05:00
Anthony Minessale
677b223579
FS-4122 --resolve this fixes the issue and eliminates the delay unless you configure it to have some
2012-04-18 09:56:06 -05:00
Ken Rice
c5554eb939
Copyright date update.
2012-04-18 11:52:02 -05:00
Ken Rice
4307bee1e5
FS-4100 --resolve
2012-04-11 09:10:56 -05:00
Anthony Minessale
995ae2621c
FS-3769 --resolve
2012-04-10 16:17:16 -05:00
Travis Cross
393b63b7bd
integrate in-tree libzrtp into the build system
...
Thanks to Ken Rice for working with me late into the night to get this
done.
2012-04-05 04:10:55 +00:00
Anthony Minessale
07122bd17c
FS-4032 --resolve please try to avoid the whitespace changes by using git diff -w
2012-03-27 15:53:09 -05:00