Hi,Great, thanks a lot for the steps. Date: Wed, 9 Jul 2014 13:06:05 -0400 Subject: Re: [FreeRDP-devel] Dynamic Display and Resolution Scaling from client From: marcandre.mor...@gmail.com To: parikhhrus...@hotmail.com CC: freerdp-devel@lists.sourceforge.net
Hi, Ok then, here is how to get started: 1) Enable the disp dynamic virtual channel 2) Grab a pointer to the DispClientContext structure here like what is done for RdpeiClientContext in xfreerdp: https://github.com/FreeRDP/FreeRDP/blob/master/client/X11/xf_channels.c#L37 https://github.com/FreeRDP/FreeRDP/blob/master/include/freerdp/client/disp.h Dynamic virtual channels are registered by the server dynamically. If the server asks for it and you get the data pointer structure, you are good. Once you have that, there is a single callback inside DispClientContext which you can use to send monitor updates to the server. It is then your responsibility to send new monitor dimensions to the server. Certain resolutions are not supported by the protocol (you need a width which is a multiple of 4, etc). I would also advise to avoid flooding the server with updates, just resize when you are done resizing the client locally. On Wed, Jul 9, 2014 at 1:01 PM, Hrushit Parikh <parikhhrus...@hotmail.com> wrote: Hi Marc, Thanks for the response. That makes perfect sense. I am looking at MS-RDPEDISP from a developer point of view. Date: Wed, 9 Jul 2014 12:49:09 -0400 Subject: Re: [FreeRDP-devel] Dynamic Display and Resolution Scaling from client From: marcandre.mor...@gmail.com To: parikhhrus...@hotmail.com CC: freerdp-devel@lists.sourceforge.net Hi, The current code is a protocol-level implementation of MS-RDPEDISP corresponding to Windows Server 2012 R2 Preview. The protocol might have slightly changed in the final build, so one might need to update it. There are no hooks in xfreerdp or any of the open source FreeRDP clients for MS-RDPEDISP, so someone would need to work on it. The main reason why it was not maintained when 2012 R2 was released is because in between the Preview and the final build Microsoft decided to make MS-RDPEDISP dependent on the RDP8 codecs, which we didn't support back then. I have merged yesterday the first working baseline of RDP8 codecs, so it would now be possible to get back onto MS-RDPEDISP. I think the main reason why MS-RDPEDISP was made dependent on RDP8 codecs was because of some possible error conditions resulting from dynamic display changes in the pre-RDP8 server-side encoders. Are you looking at MS-RDPEDISP from a user point of view, or developer point of view? On Wed, Jul 9, 2014 at 12:36 PM, Hrushit Parikh <parikhhrus...@hotmail.com> wrote: Hi,I wanted to know whether the dynamic resolution update mentioned in the Microsoft RDP 8.1 specs: (http://blogs.msdn.com/b/rds/archive/2013/12/16/resolution-and-scaling-level-updates-in-rdp-8-1.aspx?PageIndex=3#comments) and detailed in MS-RDPEDISP is available in FreeRDP master or any other fork? I see the code for this in channels/disp. Is this functional? What is the status of this feature? Thank you. ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel