I have the following setup:
1) Server grabs screen with VH Screen Capture Driver which is send via DirectShow to VLC. VLC encodes with H264 and sends the stream to the client.
2) On the client site VLC retrieves and decodes the screen and displays it on the screen.
This setup results in several seconds latency. I would like to know from you experts what you assume as the main source of latency in this scenario and how to get rid of it. Thank you very much for your help!