Re: Sourcecode for the Screensharing? + Recompiling?

2013-11-24 Thread Alexei Fedotov
That's great! Maxim you rule! :-) -- With best regards / с наилучшими пожеланиями, Alexei Fedotov / Алексей Федотов, http://dataved.ru/ +7 916 562 8095 [1] Start using Apache Openmeetings today, http://openmeetings.apache.org/ [2] Join Alexei Fedotov @linkedin, http://ru.linkedin.com/in/dataved/ [

Re: Sourcecode for the Screensharing? + Recompiling?

2013-11-23 Thread Maxim Solodovnik
Hello Alexander, I seems to was able to enhance performance of screen sharing applet: VeryHigh > 10 fps High = 10fps others = 2fps Committed revision 1544855 On Fri, Oct 25, 2013 at 8:35 PM, Alexander Brovman < alexander.brov...@gmail.com> wrote: > Maxim thanks for the code, its interessting t

Re: Sourcecode for the Screensharing? + Recompiling?

2013-10-25 Thread Alexander Brovman
Maxim thanks for the code, its interessting that the screenshot capture takes so long.. its surprising that the encode is faster than the actual capture, i am still researching methods on how to improve this, will share my findings with you. On Fri, Oct 25, 2013 at 9:57 AM, Maxim Solodovnik wrote

Re: Sourcecode for the Screensharing? + Recompiling?

2013-10-25 Thread Maxim Solodovnik
The method should be changed as follows: private static final Logger log = LoggerFactory.getLogger(CaptureScreen.class); public void run() { try { while (active && !core.isReadyToRecord()) { Thread.sleep(60); } Robot robot = new Robot(); BufferedImage image = null; while (active) { final long ctim

Re: Sourcecode for the Screensharing? + Recompiling?

2013-10-24 Thread Alexander Brovman
Maxim, A) Interessting to say the very least, how did you manage to measure the encode and the screencapture? or what tools did you use in order to measure those, might come in handy for me when measuring performance. Right now i changed the sourcecode in the following way: 1) " timeBetweenFrames

Re: Sourcecode for the Screensharing? + Recompiling?

2013-10-24 Thread Maxim Solodovnik
Here are my measurements: Screen is captured in ~ 160-170ms Encoded in ~120-200ms Will try to speed up this somehow On Thu, Oct 24, 2013 at 3:27 PM, Alexander Brovman < alexander.brov...@gmail.com> wrote: > nevermind used the wrong ANT build. > > Got it to work now :) > > > On Thu, Oct 24, 2013

Re: Sourcecode for the Screensharing? + Recompiling?

2013-10-24 Thread Alexander Brovman
nevermind used the wrong ANT build. Got it to work now :) On Thu, Oct 24, 2013 at 9:11 AM, Alexander Brovman < alexander.brov...@gmail.com> wrote: > Maxim i made some changes to the code, i downloaded the source on the > server, changed the lines with nano. and then from the mainfolder simply >

Re: Sourcecode for the Screensharing? + Recompiling?

2013-10-24 Thread Alexander Brovman
Maxim i made some changes to the code, i downloaded the source on the server, changed the lines with nano. and then from the mainfolder simply ran the ant command and it started compiling (albeit some errors appeared since i only entered "ant" without any options/parameters. Openmeeting is working

Re: Sourcecode for the Screensharing? + Recompiling?

2013-10-23 Thread Maxim Solodovnik
I'm currently trying to modify the code to get 20+ fps (was requested many times, but I had no time on this :( currently I'm on vacation, will try to implement it) On Thu, Oct 24, 2013 at 10:02 AM, Alexander Brovman < alexander.brov...@gmail.com> wrote: > Maxim, > > Thank you for responding so q

Re: Sourcecode for the Screensharing? + Recompiling?

2013-10-23 Thread Alexander Brovman
Maxim, Thank you for responding so quickly. The primary reason i asked is because we sometimes need to output data like Financial Stock charts or similar dynamic content and in a resolution size of 1650x1080. As you can imagine right now the delay is.. manageable, perhaps somewhere along the lines

Re: Sourcecode for the Screensharing? + Recompiling?

2013-10-23 Thread seba.wag...@gmail.com
Do we still have the super high quality setting in the sharing client? My problems in the past was more around the bandwidth issues then the FPS. If you do 2-4 FPS the bandwidth usage will go that up... there is probably a trick, maybe there is also something todo in the way the tiles are calculate

Re: Sourcecode for the Screensharing? + Recompiling?

2013-10-23 Thread Maxim Solodovnik
Hello Alexander, Your findings are correct :) With the only exception: Screenshots are taken in single thread, so there are some limitations in the speed :( I believe Thread.sleep(xxx) doesn't work at all I'm planning to rewrite this part And hopefully will be able to increase FPS. Basic compilat

Sourcecode for the Screensharing? + Recompiling?

2013-10-23 Thread Alexander Brovman
Hi, I have two quick questions, but first of all i just wanted to say that Openmeetings is fantastic. I had both OpenMeetings and BBB Installed and we have decided to go with OM. I am relatively apt at programming with Python and C# but I have never worked with a lot of Javaapplications like thes