phoboslab / jsmpeg-vnc

A low latency, high framerate screen sharing server for Windows and client for browsers
2.39k stars 396 forks source link

Stretched/zommed in image on browser (Chrome/IE/Edge) #37

Open sirdashadow opened 7 years ago

sirdashadow commented 7 years ago

The image on the browser is zoomed in 2x or 3x or maybe more. I am trying to capture a 480x800 area and even with cropping it still will not show in the original size. I already tried to ctrl-0 and hold down the ctrl key then scroll down to try to force the browsers to scale the image but it will not work.

phoboslab commented 7 years ago

The video canvas is always stretched to 100% width. You can change this by removing these two lines of CSS in the index.html.