Screen sharing recording issue


We have upgraded our Licode based application with newer commits since
April 2015 and we have detected an issue with screen sharing recording.
Before the update we were able to record both camera and screen streams.
Now when we record screen videos the result mkv files have video and audio
tracks but there’s nothing in them (and then our post-process fails). We
have made a clean clone from github in a clean Ubuntu 14.04 LTS and this
happens there too. The only way to get recorder successfully screen streams
is calling the method startRecording() just when the event stream-added is
fired, if you wait for example a 100ms timeout the recording doesn’t work

Does anybody have the same problem? Hope we can solve this.