Janus Presence Server Part 3


6 x JanusVR clients and the Janus Presence Server running on my PC

6 x JanusVR clients and the Janus Presence Server running on my PC

So, it’s up and running 🙂  Kinda.

The 6 x JanusVR clients above are connected to the Janus Presence Server running within a CentOS 7 instance (Vagrant and Virtualbox).  All on my PC!

I added a bit of console logging to the server to make it easier to know what it was up to.

Progress check:

A. Develop JMeter Scripts
A1. Install Eclipse XX DONE
A2. Compile JMeter DONE
A3. Run JMeter DONE
A4. Create simple test set to call against Janus Presence Server API – share on GitHub – FAILING
A5. Maybe see if the Janus Presence Server scales…

B. Build Janus Presence Server Box
B1. Create CentOS 7.0 Vagrant box DONE.
B2. Upload Vagrant base box to Atlas DONE
B3. Configure new CentOS 7.0 box with Node – upload to Atlas  DONE (Download here!)
B4. Configure new CentOS 7.0 box with Janus Presence Server preinstalled – upload to Atlas – IN PROGRESS

C. JMeter Test Client Box
C1. Build JMeter Base Test Client Box
C2. Build janus presence test client box – upload to Atlas

So after quite a lot of messing around I have a CentOS 7.0 box which I can kinda mess around with 🙂  I’ve installed Janus Presence Server on it and it works – but will probably rebuild to a cleaner version before I upload a copy onto Atlas.

Some notes:

  • Default requiretty from has been commented out of **/etc/sudoers** file
# Disable "ssh hostname sudo <cmd>", because it will show the password in clear.
# You have to run "ssh -t hostname sudo <cmd>".
#Defaults requiretty

  • The latest feature on vagrant which will replace the default vagrant key with a new one was a bit of a pain in the butt… during packaging it would replace the default key with a safer random one.  This meant that if you downloaded the version that I uploaded to Atlas earlier on then you would be prompted for a login details before being to SSH in… however, there was a workaround – simply switch off the box that you want to package before kicking off the vagrant packaging process.
  • Need to sort out the firewall rules.  At the moment I just switch off the firewall to make things work.
systemctl stop firewalld

Once the Janus Presence Server was up and running  I could mess around with it.  It was particularly interesting to see the interactions between each of the JanusVR client.  Head spinning amount of potential here.  Fascinating stuff! – especially the way that users can move shared objects around… wooo magic!  Wondering how the various Janus Presence Server’s may share information one day.  It was also interesting to see the connections and disconnections with the various servers when I walked around the vr space.  I’ll post up a video to show this later on.

Leave a Reply

Your email address will not be published. Required fields are marked *