webrtc-streamer icon indicating copy to clipboard operation
webrtc-streamer copied to clipboard

Capture hardware cursor on server screen when using screen://0

Open yaowangvrviu opened this issue 6 years ago • 2 comments

The browser part can not see the hardware cursor on server screen. I know in webrtc code, there is module named "desktop_and_cursor_composer", it seems webrtc support capturing hardware cursor with desktop. Do you have any suggestion how to implement this function? Thanks.

yaowangvrviu avatar May 03 '19 14:05 yaowangvrviu

Hi, The screen capturer is created in https://github.com/mpromonet/webrtc-streamer/blob/master/inc/screencapturer.h like this :

 webrtc::DesktopCapturer::CreateScreenCapturer(webrtc::DesktopCaptureOptions::CreateDefault());

Maybe some options should be set to capture cursor position ?

Best Regards, Michel.

mpromonet avatar May 03 '19 14:05 mpromonet

Found in webrtc project, not found any code. :(

yaowangvrviu avatar May 15 '19 15:05 yaowangvrviu