ok i have set the variable screen_type=4 and modified the files. Now i resize my screenshot before sending via rtmp at a resolution of 320x200 pixel and now i can use the screensharing. As i told in other discussion, 90kn/s in upload is impossible to obtain (I have a business ADSL and the best for uploading is 50 kb/s) so i think that "we" must find a new solution for screensharing.
I have made some tests: FIRST TEST: T=1 : send a complete screenshot (time used = (resolution*32) / (upload_bandwidth)) and convert the screenshot in three matrix R G B T=2..N : convert the screenshot in three matrix R G and B and send to the server only the differences between the matrices at time (T-1) Problems: - Sending the first screenshot take too many time. - I have to put a server in the middle that takes the differences and rebuild the image with the differences and finally send the image in the correct format - If the differences are too many, the data sent could be bigger than the data sent with the actual screensharing. - I have made a UDP server but the time for remaking the image is a bit long. I think the only way to use the screensharing for low bandwidth is to allow the user to resize the screenshot so he can send a smaller screenshot via rtmp. I hope this helps for future development Giovanni PS For Matrix operations i have use the package JAMA On 26 Apr, 17:58, Sebastian Wagner <seba.wag...@gmail.com> wrote: > Okay, in general: > > The link above leads to the ScreenSharing Application that is used by > default. > Its the screen_type=4 > > That is the latest and needs 90KB in bandwidth. > > The JrDesktop needs in general more then that. > So if you optimize you should go for the new one. > > Sebastian > > 2010/4/26 Giovanni <giovanni.possem...@gmail.com> > > > > > > > ops, sorry i thought that these files are for JrDesktop > > > I have modified these files: > > ScreenShare.java > > VirtualScreen.java > > VirtualScreenBeans.java > > > On 26 Apr, 15:35, Sebastian Wagner <seba.wag...@gmail.com> wrote: > > > Hi Giovanni, > > > > the JrDesktop is not used in the RTMP-Viewer. > > > So you would need to modifyhttp:// > > openmeetings.googlecode.com/svn/trunk/singlewebapp/src/red5-sc... > > > > Sebastian > > > > 2010/4/26 Giovanni <giovanni.possem...@gmail.com> > > > > > Hi all, > > > > I have modified the screensharing system for allowing the > > > > screensharing to all user with a low bandwith. > > > > I have done this for 2 reasons: > > > > > 1) In italy we don't have 90Kb/s for uploading data :-( > > > > 2) I think is useless send a scrennshot about 1280x800 pixel (ok,i > > > > want to show my screen, but not in HD) :-) > > > > > so i have modified the JrDesktop method and I have inserted 2 values > > > > that are the Resize of the screen that will be sent over internet. > > > > The screen will be captured, and next resized with your favourite > > > > resolution; the other clients will see your screen at the resolution > > > > you have set. > > > > > This is a my own edit, but if can be helpfull for other users or for > > > > the openmeetings team too, i'll be very happy to share this with all. > > > > > Giovanni > > > > > -- > > > > You received this message because you are subscribed to the Google > > Groups > > > > "OpenMeetings User" group. > > > > To post to this group, send email to > > openmeetings-u...@googlegroups.com. > > > > To unsubscribe from this group, send email to > > > > openmeetings-user+unsubscr...@googlegroups.com<openmeetings-user%2Bunsubscr > > > > i...@googlegroups.com> > > <openmeetings-user%2bunsubscr...@googlegroups.com<openmeetings-user%252Buns > > ubscr...@googlegroups.com> > > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/openmeetings-user?hl=en. > > > > -- > > > Sebastian > > Wagnerhttp://www.webbase-design.dehttp://openmeetings.googlecode.comhttp:// > >www.laszlo-forum.de > > > seba.wag...@gmail.com > > > > -- > > > You received this message because you are subscribed to the Google Groups > > "OpenMeetings User" group. > > > To post to this group, send email to openmeetings-u...@googlegroups.com. > > > To unsubscribe from this group, send email to > > openmeetings-user+unsubscr...@googlegroups.com<openmeetings-user%2Bunsubscr > > i...@googlegroups.com> > > . > > > For more options, visit this group athttp:// > > groups.google.com/group/openmeetings-user?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "OpenMeetings User" group. > > To post to this group, send email to openmeetings-u...@googlegroups.com. > > To unsubscribe from this group, send email to > > openmeetings-user+unsubscr...@googlegroups.com<openmeetings-user%2Bunsubscr > > i...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/openmeetings-user?hl=en. > > -- > Sebastian > Wagnerhttp://www.webbase-design.dehttp://openmeetings.googlecode.comhttp://www.laszlo-forum.de > seba.wag...@gmail.com > > -- > You received this message because you are subscribed to the Google Groups > "OpenMeetings User" group. > To post to this group, send email to openmeetings-u...@googlegroups.com. > To unsubscribe from this group, send email to > openmeetings-user+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/openmeetings-user?hl=en. -- You received this message because you are subscribed to the Google Groups "OpenMeetings User" group. To post to this group, send email to openmeetings-u...@googlegroups.com. To unsubscribe from this group, send email to openmeetings-user+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.