gardners
dfb8d0d482
getting ready for making dna lookup work via mdp
2012-04-25 14:35:44 +09:30
Andrew Bettison
0cbdd5b37b
Android NDK build sets HAVE_JNI_H
2012-04-25 09:06:12 +09:30
Andrew Bettison
219e863999
Add another JNI command-line interface test
2012-04-25 09:06:12 +09:30
gardners
6c044d5e8d
sample times are now contiguous. DTMF tone length changed to 80ms
...
to be multiple of 20ms as used by most codecs.
2012-04-25 05:38:45 +09:30
gardners
12be1e326e
fixed unix domain socket "no buffer space" message (sockets
...
are buffered on receive side, not send side).
2012-04-24 21:09:27 +09:30
gardners
993412184e
cleaned out some debug messages.
2012-04-24 20:58:28 +09:30
gardners
d9fd7ce33e
tried to fix unix domain socket "no buffer space available" bug,
...
but to no avail.
2012-04-24 20:57:59 +09:30
gardners
30471f19ef
added system for resending recent samples as a form of
...
preemptive retransmission to deal with wifi packet loss.
2012-04-24 20:49:59 +09:30
gardners
2831507c8d
Added sample time info to audio packets.
...
Added codec default sample block times.
2012-04-24 20:26:16 +09:30
gardners
5abcbc7995
passing audio samples for VoMP now works. Sample times are not set.
2012-04-24 18:56:41 +09:30
gardners
8c86cf3b0e
Fixed various bugs towards getting audio flow happening.
2012-04-24 18:56:41 +09:30
Andrew Bettison
6746fc4e36
Fix commandline.c when undefined HAVE_JNI_H
2012-04-24 18:03:52 +09:30
Andrew Bettison
f9d8536d7d
JNI-ize the output of "dna rhizome list"
2012-04-24 17:50:27 +09:30
Andrew Bettison
54b1642bf1
Add test for servald non-JNI output delimiter
2012-04-24 17:15:50 +09:30
Andrew Bettison
a496919e8a
First real servald JNI command-line test works!
2012-04-24 17:07:20 +09:30
gardners
131a34617f
work towards pushing audio sample blocks out over the network.
2012-04-24 15:27:59 +09:30
gardners
321de2b189
Disable lots of debug output, and stop vomp dtmf command expecting
...
to receive a response when sending.
2012-04-24 15:27:59 +09:30
gardners
c1191c779b
enlarge MDP unix domain socket send buffers.
2012-04-24 15:27:59 +09:30
Andrew Bettison
4e9b35160e
Improve configure.in VoIP options:
...
- if --disable-voiptest is given, does not test for VoIP headers and libraries,
and sets HAVE_VOIPTEST=0 (as before)
- if --enable-voiptest is given, tests for VoIP headers and libraries,
and fails with an error if any are missing
- if neither option is given, behaviour is opportunistic: tests for VoIP
headers and libraries and sets HAVE_VOIPTEST accordingly
2012-04-24 13:56:11 +09:30
Andrew Bettison
9bd0a15ea9
Fix configure.in to adapt to missing VoIP dependencies
...
- if any dependency is missing, defines HAVE_VOIPTEST=0
2012-04-24 13:18:00 +09:30
gardners
70eb0a8cc4
Changes Andrew and Jeremy made to get it building again on my mac.
...
More permanent fixes coming.
2012-04-24 12:15:20 +09:30
gardners
53504fe694
Fixed function prototypes for JNI compatability.
2012-04-24 12:14:53 +09:30
gardners
03004bcfdc
added vomp dtmf command line interface to inject DTMF characters
...
into a call. This will be the initial codec/audio xfer app.
2012-04-24 12:06:28 +09:30
gardners
a553eb0942
added code to vomp monitor to show when audio packets arrive.
2012-04-24 12:04:49 +09:30
Andrew Bettison
b82a8c35cd
Add other libtool scripts created by libtoolize -i
...
- needed for ./configure to work on libtool-less platforms
2012-04-24 11:46:35 +09:30
Andrew Bettison
d49bd51ba6
Add install-sh created by "libtoolize -i"
...
- needed so that Autoconf AC_CANONICAL_SYSTEM AC_CANONICAL_HOST etc. macros
will work in configure.in
- Autoconf ACX_PTHREAD macro depends on those macros
2012-04-24 11:33:30 +09:30
Daniel O'Connor
2188c807b2
Hook up dummy phone app to commandline.c
2012-04-23 20:58:28 +09:30
Daniel O'Connor
98b614d9b4
Merge branch 'master' of github.com:servalproject/serval-dna
2012-04-23 20:41:52 +09:30
Daniel O'Connor
4cb677b737
Fix codec2 detection & compilation now I tried compiling it..
2012-04-23 20:40:34 +09:30
Daniel O'Connor
9a06c1c4bd
Add configure fu to allow pa_phone.c to not be compiled.
2012-04-23 20:17:11 +09:30
Andrew Bettison
1494172da6
Trival test of dna JNI command line entry point
2012-04-23 18:25:26 +09:30
Andrew Bettison
a73916e85a
Implement JNI command-line interface (untested)
...
- argv is (const char *const *) everywhere, to avoid having to strdup() all the
Java arg strings
- changed (char*) to (const char*) in lots of places to fix cascading compiler
warnings as a result of argv constness
- fixed a bug in "config get" command when used without 'variable' arg
2012-04-23 17:18:15 +09:30
Daniel O'Connor
b585ff962b
Merge branch 'master' of github.com:servalproject/serval-dna
2012-04-23 17:16:04 +09:30
Daniel O'Connor
258f2b98f0
Sort source & header files and make them one per line (tidy tidy!)
2012-04-23 17:03:07 +09:30
gardners
71c57794e6
local/remote codec hinting now in place.
2012-04-23 16:59:39 +09:30
Daniel O'Connor
71d597ec23
Disable for now while I sort out build deps.
2012-04-23 16:54:39 +09:30
Daniel O'Connor
1d10ee7ba8
Merge branch 'master' of github.com:servalproject/serval-dna
2012-04-23 16:33:44 +09:30
Daniel O'Connor
63ec1d017b
Ignore [g]libtoolize detritus.
2012-04-23 16:33:12 +09:30
Daniel O'Connor
ee72e69e29
Add PA setup and FIFO code (still not plumbed into the main program)
2012-04-23 16:32:47 +09:30
Andrew Bettison
87e072f172
Fix <jni.h> detection on Mac OS X
2012-04-23 15:29:26 +09:30
gardners
953e836ba6
fixed bug introduced in adding codec hints.
2012-04-23 13:55:17 +09:30
gardners
0cff6b5abf
making a vomp call now requires a registerest listener to call
...
state information.
when registering a listener you can also specify a list of codecs
that are supported. These are included in the initial 3-way
call initiation process so that each party knows which codecs
the other supports.
2012-04-23 13:30:22 +09:30
gardners
801d55dc00
removed some debug output.
2012-04-23 13:30:12 +09:30
Andrew Bettison
551f22092f
Make javac and jni.h optional in ./configure
2012-04-23 12:05:00 +09:30
gardners
44e9449988
added beginnings of portaudio based phone interface for testing
...
VoMP.
2012-04-23 08:24:39 +09:30
gardners
38941d92af
added portaudio checks.
2012-04-23 07:37:25 +09:30
gardners
b3cc3eb644
changed poll behaviour in vomp monitor so that it avoids poll/select
...
bug on OSX and thus doesn't use 100% CPU.
2012-04-22 20:17:32 +09:30
gardners
e8eaa32227
modified neighbour structure to include record of when route metrics
...
were last updated, so that we can avoid excessive updating and thus
wasting of CPU/energy.
2012-04-22 20:16:48 +09:30
gardners
ae3715ae99
Fixed excessive CPU usage when no neighbours.
2012-04-22 20:16:24 +09:30
gardners
458ff3665b
fixed poll/select issue that was causing 100% cpu utilisation on mac.
2012-04-22 20:15:57 +09:30