# screenshare stream publishing with react native

**URL:** https://mediasoup.discourse.group/t/screenshare-stream-publishing-with-react-native/730
**Category:** mediasoup libraries
**Created:** [April 2, 2020, 10:14am UTC](https://mediasoup.discourse.group/t/screenshare-stream-publishing-with-react-native/730 "2020-04-02T10:14:04Z")
**Posts on this page:** 2
**Page:** 3

<div class="post-metadata">

### Author: ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)
#### Post date: [April 4, 2020, 10:20am UTC](https://mediasoup.discourse.group/t/screenshare-stream-publishing-with-react-native/730/41 "2020-04-04T10:20:27Z")

</div>

mediasoup-client requires react-native-webrtc \>= 1.75.1. The fork you use is not in sync with that version, it’s done on older code. You can fork mainstream project and add getDisplayMedia.

If it works in p2p is because it uses old hacks no longer needed in 1.75.1. There was a huge refactor in that version. Not a bug in mediasoup-client.

I think I’ve help enough here given that you were using an experimental fork of react-native-webrtc without mentioning it into the topic discussion until I spent my time investigating it. I cannot do magic.

---

<div class="post-metadata">

### Author: ![zaidiqbal](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/zaidiqbal/32/1498_2.png) [@zaidiqbal](https://mediasoup.discourse.group/u/zaidiqbal)
#### Post date: [August 11, 2022, 11:18am UTC](https://mediasoup.discourse.group/t/screenshare-stream-publishing-with-react-native/730/42 "2022-08-11T11:18:56Z")

</div>

@Codeda how did you enable the logs in react-native? I tried with debug.enable but it didn’t work.

[Previous page](https://mediasoup.discourse.group/t/screenshare-stream-publishing-with-react-native/730.md?page=2)
