# Screen sharing solution

**URL:** <https://react-native-webrtc.discourse.group/t/screen-sharing-solution/114>\
**Category:** General\
**Created:** [May 8, 2019, 8:43pm UTC](https://react-native-webrtc.discourse.group/t/screen-sharing-solution/114 "2019-05-08T20:43:48Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![NoVizin](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/novizin/32/49_2.png) [@NoVizin](https://react-native-webrtc.discourse.group/u/NoVizin)\
**Post date:** [May 8, 2019, 8:43pm UTC](https://react-native-webrtc.discourse.group/t/screen-sharing-solution/114/1 "2019-05-08T20:43:48Z")

</div>

Has anyone managed to create screen sharing on React Native?  
Any ideas or how to do this?

---

<div class="post-metadata">

**Author:** ![DimitrisTzimikas](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/dimitristzimikas/32/35_2.png) [@DimitrisTzimikas](https://react-native-webrtc.discourse.group/u/DimitrisTzimikas)\
**Post date:** [May 9, 2019, 9:47am UTC](https://react-native-webrtc.discourse.group/t/screen-sharing-solution/114/2 "2019-05-09T09:47:56Z")

</div>

@NoVizin I don’t thing there is a library that can do this. At least react-native-webrtc can’t as long as I know.

---

<div class="post-metadata">

**Author:** ![saghul](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/saghul/32/4_2.png) [@saghul](https://react-native-webrtc.discourse.group/u/saghul)\
**Post date:** [May 9, 2019, 3:56pm UTC](https://react-native-webrtc.discourse.group/t/screen-sharing-solution/114/3 "2019-05-09T15:56:32Z")

</div>

It’s possible on Android with relative ease, I have a WIP here: [https://github.com/jitsi/react-native-webrtc/tree/getdisplaymedia](https://github.com/jitsi/react-native-webrtc/tree/getdisplaymedia)

On iOS is will be quite a bit harder.

---

<div class="post-metadata">

**Author:** ![VitaliyGaliy](https://avatars.discourse-cdn.com/v4/letter/v/eb8c5e/32.png) [@VitaliyGaliy](https://react-native-webrtc.discourse.group/u/VitaliyGaliy)\
**Post date:** [April 2, 2020, 10:11am UTC](https://react-native-webrtc.discourse.group/t/screen-sharing-solution/114/4 "2020-04-02T10:11:26Z")

</div>

Hi guys! I implemented this screensharing in android, got video on my android device, but have trouble with mediasoup-client. It doesnt work with screenshare stream. Did you test this approach with mediasoup?

---

<div class="post-metadata">

**Author:** ![imshreyansh](https://avatars.discourse-cdn.com/v4/letter/i/c67d28/32.png) [@imshreyansh](https://react-native-webrtc.discourse.group/u/imshreyansh)\
**Post date:** [June 16, 2020, 9:35am UTC](https://react-native-webrtc.discourse.group/t/screen-sharing-solution/114/5 "2020-06-16T09:35:46Z")

</div>

Can anyone help me with screen share on React native IOS

---

<div class="post-metadata">

**Author:** ![imshreyansh](https://avatars.discourse-cdn.com/v4/letter/i/c67d28/32.png) [@imshreyansh](https://react-native-webrtc.discourse.group/u/imshreyansh)\
**Post date:** [June 16, 2020, 11:05am UTC](https://react-native-webrtc.discourse.group/t/screen-sharing-solution/114/6 "2020-06-16T11:05:35Z")

</div>

How to do with IOS please tell

---

<div class="post-metadata">

**Author:** ![luckster](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/luckster/32/318_2.png) [@luckster](https://react-native-webrtc.discourse.group/u/luckster)\
**Post date:** [June 18, 2020, 1:29pm UTC](https://react-native-webrtc.discourse.group/t/screen-sharing-solution/114/7 "2020-06-18T13:29:16Z")

</div>

On iOS, can you suggest how to pass the sample buffer to the app?

---

<div class="post-metadata">

**Author:** ![imshreyansh](https://avatars.discourse-cdn.com/v4/letter/i/c67d28/32.png) [@imshreyansh](https://react-native-webrtc.discourse.group/u/imshreyansh)\
**Post date:** [June 19, 2020, 7:14am UTC](https://react-native-webrtc.discourse.group/t/screen-sharing-solution/114/8 "2020-06-19T07:14:47Z")

</div>

Is screen share is working on IOS ?

---

<div class="post-metadata">

**Author:** ![luckster](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/luckster/32/318_2.png) [@luckster](https://react-native-webrtc.discourse.group/u/luckster)\
**Post date:** [June 19, 2020, 7:24am UTC](https://react-native-webrtc.discourse.group/t/screen-sharing-solution/114/9 "2020-06-19T07:24:16Z")

</div>

Need to implement replaykit2

---

<div class="post-metadata">

**Author:** ![kumarutsav111](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/kumarutsav111/32/261_2.png) [@kumarutsav111](https://react-native-webrtc.discourse.group/u/kumarutsav111)\
**Post date:** [July 1, 2020, 6:08am UTC](https://react-native-webrtc.discourse.group/t/screen-sharing-solution/114/10 "2020-07-01T06:08:29Z")

</div>

I have used screen sharing by using " react- native- zoom-us" but its paid and it shows screen sharing as an option along with video calling. And belive me its tough to implement.

---

<div class="post-metadata">

**Author:** ![tumul-vikash](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/tumul-vikash/32/361_2.png) [@tumul-vikash](https://react-native-webrtc.discourse.group/u/tumul-vikash)\
**Post date:** [January 20, 2021, 4:18am UTC](https://react-native-webrtc.discourse.group/t/screen-sharing-solution/114/11 "2021-01-20T04:18:49Z")

</div>

i have not yet tried but according to mdn there is an interface called **MediaDevices** which have a method called **getDisplayMedia** …i think it will work…you can follow this link https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia#browser\_compatibility…i think mediadevices is available in react-native-webrtc also
