[jitsi-users] Jitsi Hammer


#1

Hi,
Does anyone know if the Jitsi Hammer project is still being worked on?
The last commit was a long time ago....

I don't think it has been updated to work with current Jitsi releases and I
get an error :

java.lang.IllegalArgumentException: minPort (0) and maxPort (50) should be
integers between 1024 and 65535.
    at org.ice4j.ice.harvest.HostCandidateHarvester.checkPorts
(HostCandidateHarvester.java:727)
    at org.ice4j.ice.harvest.HostCandidateHarvester.createDatagramSocket
(HostCandidateHarvester.java:645)
    at org.ice4j.ice.harvest.HostCandidateHarvester.harvest
(HostCandidateHarvester.java:367)
    at org.ice4j.ice.Agent.gatherCandidates (Agent.java:582)
    at org.ice4j.ice.Agent.createComponent (Agent.java:508)
    at org.ice4j.ice.Agent.createComponent (Agent.java:455)
    at
org.jitsi.hammer.utils.IceMediaStreamGenerator.generateIceMediaStream
(IceMediaStreamGenerator.java:151)
    at org.jitsi.hammer.FakeUser.acceptJingleSession (FakeUser.java:714)
    at org.jitsi.hammer.FakeUser.access$200 (FakeUser.java:64)
    at org.jitsi.hammer.FakeUser$1.handleIQRequest (FakeUser.java:346)
    at org.jivesoftware.smack.AbstractXMPPConnection$3.run
(AbstractXMPPConnection.java:1119)
    at java.util.concurrent.ThreadPoolExecutor.runWorker
(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run (Thread.java:748)

If I start the room from a browser before running hammer, I can see the
fake users joining. But if I don't the hammer doesn't seem to start the
room correctly and it can't be joined (so the error above doesn't appear,
but nothing happens...).
I am assuming the error above means that the hammer cannot connect to the
media streams, and so we get no audio/video from the fake users.

I had a look a the code, but don't speak java. I had someone who does speak
java look at it and they got very angry about rewriting static variables,
static singletons passing no config and other such problems...

Anyone got any ideas?

NB If you are connecting it to an https jitsi, you need to use the -u
option instead of the -BOSHUri option, even the shell script has some
fundamental bugs in...

Thanks,
Max