There is a tutorial here which may be helpful: https://web.sdk.qcloud.com/trtc/webrtc/doc/en/tutorial-33-advanced-electron-screen-share.html