# Openvidu screen share in electron platform

**URL:** <https://openvidu.discourse.group/t/openvidu-screen-share-in-electron-platform/1659>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [July 29, 2020, 10:50am UTC](https://openvidu.discourse.group/t/openvidu-screen-share-in-electron-platform/1659 "2020-07-29T10:50:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kinserlam](https://avatars.discourse-cdn.com/v4/letter/k/c37758/32.png) [@kinserlam](https://openvidu.discourse.group/u/kinserlam)\
**Post date:** [July 29, 2020, 10:50am UTC](https://openvidu.discourse.group/t/openvidu-screen-share-in-electron-platform/1659/1 "2020-07-29T10:50:30Z")

</div>

I’m developing a video conference native application using openvidu-browser in electron.There’s a problem that other participations can see my electron application such as the camera window,toolbar When someone share screen.I use electron desktopCapture API to get media source and publish.  
It’s there any solutions can fix the problem?

---

<div class="post-metadata">

**Author:** ![pabloFuente](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/pablofuente/32/2536_2.png) [@pabloFuente](https://openvidu.discourse.group/u/pabloFuente)\
**Post date:** [July 29, 2020, 11:21am UTC](https://openvidu.discourse.group/t/openvidu-screen-share-in-electron-platform/1659/2 "2020-07-29T11:21:16Z")

</div>

I don’t know what the problem is. You didn’t really explained it.

---

<div class="post-metadata">

**Author:** ![kinserlam](https://avatars.discourse-cdn.com/v4/letter/k/c37758/32.png) [@kinserlam](https://openvidu.discourse.group/u/kinserlam)\
**Post date:** [July 29, 2020, 11:35am UTC](https://openvidu.discourse.group/t/openvidu-screen-share-in-electron-platform/1659/4 "2020-07-29T11:35:37Z")

</div>

I use openvidu-brower develop a native application in electron plaform.It’s a video conference application with screen share function. This screen share function when some one start share screen then the app will hide and remain a toolbar to control stop or start screen share in the top of the screen .In The following scenarios:

1. UserA and UserB are both connect to the same room.UserA share his desktop(screen).In the UserB’s app can see UserA’s desktop(screen) including the control toolbar.
2. UserA and UserB are both connect to the same room.UserA share his desktop(screen) and open camera.  
In the UserB’s app can see UserA’s camera and UserA’s desktop(screen) including the control toolbar and the camera.So in this scense UserB will see 2 camera,one in the app window,and the other in UserA’s share screen.

My expectation is UserA share his screen ,and UserB only can see UserA’s share screen without anything of UserA’s video conference application.

---

<div class="post-metadata">

**Author:** ![pabloFuente](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/pablofuente/32/2536_2.png) [@pabloFuente](https://openvidu.discourse.group/u/pabloFuente)\
**Post date:** [July 29, 2020, 11:41am UTC](https://openvidu.discourse.group/t/openvidu-screen-share-in-electron-platform/1659/5 "2020-07-29T11:41:27Z")

</div>

I’m still a little bit lost… You want to share a screen, but only a specifc part of the “physical” screen? Like “cutting” parts of it? That’s way out of range of OpenVidu (or even Electron). That depends on how the OS system manages the available screens that can be captured by an application (an Electron one in this case, which in the end is Chromium).
