basicExample streams occasionally won't load or video freezes mid-call

Hi,

I’ve installed Licode along with the basic example on two seperate Linux
installations using the tutorial at http://lynckia.com/licode/install.html.

One Virtualbox installation running a fresh install of Ubuntu 14.04 LTS
with the following specs:

1024MB RAM
Intel® Core™ i5-4210U CPU @ 1.70GHz
40GB HDD

One server also running a fresh install of Ubuntu 14.04 LTS.

2048MB RAM
2 CPU (Intel® Xeon® CPU E5-2630L v2 @ 2.40GHz)
40 GB SSD

Both versions appear to run the basic example fine and generally adding
people to the conference call works. Sometimes however, one of three things
happens:

  1. Ice candidates get sent/received but the element is never
    created (not always on both sides, sometimes one side gets the video but
    the other side doesn’t)
  2. Ice candidates get sent/received, the element is created but
    it shows a black screen with an infinitely spinning loading icon.
  3. Ice candidates get sent/received, the element is created, the
    stream loads but after a while the video freezes. Audio generally still
    works at this point but the video freezes entirely. When the non-frozen
    stream refreshes the page they’ll get a frozen stream still, though it
    still seems to transmit a single frame upon which it freezes rather than
    the same frame.

I’ve had this happen with about 3 or 4 people in the call, both on separate
client PCs and when using the same client PC to start 4 streams. The server
logs/basicExample logs seem to show the same thing and top shows an average
server load that’s less than 0.50.

I’ve seen some posts from 2013 of people that seemed to have similar
problems but it being fixed with a patch that came out around that time. Is
this a known bug or are there any (server) settings I need to tweak
somewhere to prevent this from happening?