# Heavy stream makes react native webrtc freeze

**URL:** <https://react-native-webrtc.discourse.group/t/heavy-stream-makes-react-native-webrtc-freeze/1980>\
**Category:** General040642add70aa006ef56b5af5b5acae3\
**Created:** [May 3, 2024, 11:34am UTC](https://react-native-webrtc.discourse.group/t/heavy-stream-makes-react-native-webrtc-freeze/1980 "2024-05-03T11:34:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vuminhkh](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/vuminhkh/32/813_2.png) [@vuminhkh](https://react-native-webrtc.discourse.group/u/vuminhkh)\
**Post date:** [May 3, 2024, 11:34am UTC](https://react-native-webrtc.discourse.group/t/heavy-stream-makes-react-native-webrtc-freeze/1980/1 "2024-05-03T11:34:40Z")

</div>

Hello,

I’m currently testing react native webrtc on multiple cameras on my iphone via go2rtc with bidirectional audio and H264. On some cameras, it works flawlessly, but on my Annke camera with a high resolution 3632 x 1632, the stream receives mute event every 5 seconds or not work at all. If I reduce the bitrate it works a little bit better, but it still freezes. If I use frigate web ui on my safari from my iphone then it works better. I’m not sure what can differ between the implementation of webrtc on safari and react native web rtc. But anyway I cannot use the highest resolution and bit rate with webrtc even with frigate, it might be the limit of my phone iphone 12 pro max, or the protocol, or the library. Do you guy have any ideas how to improve this ? Thank you in advance for your help.

Regards,

Minh Khang VU

---

<div class="post-metadata">

**Author:** ![vuminhkh](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/vuminhkh/32/813_2.png) [@vuminhkh](https://react-native-webrtc.discourse.group/u/vuminhkh)\
**Post date:** [June 11, 2024, 5:38pm UTC](https://react-native-webrtc.discourse.group/t/heavy-stream-makes-react-native-webrtc-freeze/1980/2 "2024-06-11T17:38:05Z")

</div>

Just for those who have the same issue as me, for a camera usage, video stream with high resolution / bitrate, I could never make react native webrtc work well with UDP, with TCP it’s working fine
