The tones you included sound to me like dropped packets. You can tune
things up with some command line options.
There are two remedies to try tweaking:
-q (input buffer "cushion")
-r (extra packets to duplicate possible missing packets)
The choice depends on what's killing the packets. If it's jitter, then
move up from -q3 (default) to anywhere, even -q20 and see if that
protects things from jitter "storms." But do it carefully, to find the
lowest queue size that works, since more buffer = more delay.
If the problem is packet loss, rather than jitter, then redundant
packets help. Try -r2, -r3, etc. but beware of "thickening" the
bandwidth (e.g., -r2 takes twice as much as the default). Sometimes
doing that actually provokes a jitter problem you didn't have before.
iperf is a bandwidth tester which can be used to get a sense of the
path
If you want to scale back on bandwidth, stay with 128fpp but reduce
srate to 24kHz, or reduce number of channels.
Hope that helps!
Chris
> If the problem is packet loss, rather than jitter, then redundant
> packets help. Try -r2, -r3, etc. but beware of "thickening" the
> bandwidth (e.g., -r2 takes twice as much as the default). Sometimes
> doing that actually provokes a jitter problem you didn't have before.
>
since you explicitely recommend using the "-r" flag, i'd like to add
that this never ever worked for me with pre1.1 versions (read: all
versions released); it seems to work with current trunk though.
"not working" means, that i've never been able to connect a client to a
server as soon as the "-r" flag was involved; they just sat there,
waiting forever for the other side.
mfasdr
IOhannes
i have to admit that when i tested it right now, it seemed to work (at
least the connection; no sound-system involed at all)
this has probably to do with the pickiness of jacktrip regarding the
order of arguments.
(which btw, i cannot reproduce now either; however i seem to clearly
remember, that jacktrip didn't like the "-s" or "-c IPADDR" to be NOT at
the beginning (or end, dunno which) of the cmdline args)
fgmart
IOhannes
On 12/14/10 5:02 AM, IOhannes m zmoelnig wrote:
> (which btw, i cannot reproduce now either; however i seem to clearly
> remember, that jacktrip didn't like the "-s" or "-c IPADDR" to be NOT at
> the beginning (or end, dunno which) of the cmdline args)
That should have been fixed a loooong time ago (I changed the parsing
long options with getopt_long), and should work in all the releases
through googlecode. That beeing said, if you still can reproduce the
problem please do and we'll try to fix it.
Thanks!
JPC
--
You received this message because you are subscribed to the Google Groups "jacktrip-users" group.
To post to this group, send email to jacktri...@googlegroups.com.
To unsubscribe from this group, send email to jacktrip-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jacktrip-users?hl=en.
iperf is good at identifying packet loss because it can be set to use
similar packets to jacktrip (UDP) and can ratchet up the bandwidth
typical is:
[server]
iperf -u -s -p4464
[client]
iperf -u -c <server_IP_address> -p4464 -b20M
which would report the results of
a) UDP port actually being open
b) blasting across 20Mbps
then you would reverse the server / client to go the other way (or use
-d for duplex)
Change the amount gradually from 1M anywhere up to say 90M to see where
loss starts to become heavy which is often at some "knee" that tells you
what the path can tolerate. From that you can calculate number of
channels, their audio resolution, redundancy level, etc.
1 ch x 48000 x 16bit is approx. 1Mbps (and -r2 is twice that, for ex.)
iperf also reports jitter but it isn't using a similarly-timed packet
stream and therefore doesn't really relate. I recommend finding the
bandwidth capacity for loss, staying under that with your stream and
then if there's still drop outs increase -q -- if that fixes things then
it's jitter.
Phew, there are better ways on the drawing board but this is what we've
arrived at in practice. Ping isn't really useful for fine tuning
jitter / loss but does give a decent rough estimate of what you'll
experience in a round trip delay.
Chris
@Sarah: were you tweaking during the show? We had similar sounds
during the 3-way b/t CU-NYU-IUPUI. I'm always afraid tweaking the
stream will cause disconnection during the show. It's fun for me,
but...
thanks to Michael for firing this up.
synthia
To unsubscribe from this group, send email to jacktrip-user...@googlegroups.com.