# How to display react-native-webrtc streaming in Python?

**URL:** <https://react-native-webrtc.discourse.group/t/how-to-display-react-native-webrtc-streaming-in-python/1306>\
**Category:** Help\
**Created:** [July 13, 2021, 7:43pm UTC](https://react-native-webrtc.discourse.group/t/how-to-display-react-native-webrtc-streaming-in-python/1306 "2021-07-13T19:43:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![diegocndd](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/diegocndd/32/483_2.png) [@diegocndd](https://react-native-webrtc.discourse.group/u/diegocndd)\
**Post date:** [July 13, 2021, 7:43pm UTC](https://react-native-webrtc.discourse.group/t/how-to-display-react-native-webrtc-streaming-in-python/1306/1 "2021-07-13T19:43:50Z")

</div>

The connection between two mobile devices works perfectly. It uses a node server. But is there a way to display the react-native-webrtc video in Python? This would be needed for future video processing.

---

<div class="post-metadata">

**Author:** ![SnowMan](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/snowman/32/509_2.png) [@SnowMan](https://react-native-webrtc.discourse.group/u/SnowMan)\
**Post date:** [September 19, 2021, 12:04pm UTC](https://react-native-webrtc.discourse.group/t/how-to-display-react-native-webrtc-streaming-in-python/1306/2 "2021-09-19T12:04:01Z")

</div>

I’m looking for a way to connect react-native-webrtc to a python server too.  
I found this python library which makes it possible to host a webRTC python server: [aiortc/examples/server at main · aiortc/aiortc · GitHub](https://github.com/aiortc/aiortc/tree/main/examples/server)

You will need to connect the python server to your react-native application, I searched for an example which connects them both together but couldn’t find one. Please let me know if you managed to connect them together.

---

<div class="post-metadata">

**Author:** ![diegocndd](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/diegocndd/32/483_2.png) [@diegocndd](https://react-native-webrtc.discourse.group/u/diegocndd)\
**Post date:** [September 26, 2021, 12:42pm UTC](https://react-native-webrtc.discourse.group/t/how-to-display-react-native-webrtc-streaming-in-python/1306/3 "2021-09-26T12:42:00Z")

</div>

I had seen this Python library before, but found it poorly documented and unclear. I “solved” the problem using the Selenium lib. Basically I connect the mobile device with the browser and get the image by opening the browser with Selenium. I needed the server to do image processing with Media Pipe. This was the most optimized way I found, but I’m still looking for better solutions.
