Hey,
I test the code of webrtc screen_capturer_win_magnifier.cc
, find that if you want use magnification API to capture sub screen, maybe you should satisfy following conditions:
- make sure that the sum of
left
of host_window_ and magnifier_window_ is zero - make sure that the sum of
top
of host_window_ and magnifier_window_ is zero - make sure that the native_rect of MagSetWindowSource() equals to sub screen's position