# IOs background process problem audio and video stops when app goes to background after 15 seconds

**URL:** <https://react-native-webrtc.discourse.group/t/ios-background-process-problem-audio-and-video-stops-when-app-goes-to-background-after-15-seconds/1227>\
**Category:** iOS\
**Created:** [April 30, 2021, 8:17am UTC](https://react-native-webrtc.discourse.group/t/ios-background-process-problem-audio-and-video-stops-when-app-goes-to-background-after-15-seconds/1227 "2021-04-30T08:17:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vnijat](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/vnijat/32/433_2.png) [@vnijat](https://react-native-webrtc.discourse.group/u/vnijat)\
**Post date:** [April 30, 2021, 8:17am UTC](https://react-native-webrtc.discourse.group/t/ios-background-process-problem-audio-and-video-stops-when-app-goes-to-background-after-15-seconds/1227/1 "2021-04-30T08:17:34Z")

</div>

Hello all, we have problem with audio and video stream.

In ios when app goes to background after 15 seconds audio and video stops. in Android we fixed this with foreground services libriary.

In ios Xcode we added audio mode and voip notification also we dont have js timers we changed it to backgroundTimers. Please Help! what are we missing ?

---

<div class="post-metadata">

**Author:** ![vtr0n](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/vtr0n/32/444_2.png) [@vtr0n](https://react-native-webrtc.discourse.group/u/vtr0n)\
**Post date:** [May 9, 2021, 5:50pm UTC](https://react-native-webrtc.discourse.group/t/ios-background-process-problem-audio-and-video-stops-when-app-goes-to-background-after-15-seconds/1227/2 "2021-05-09T17:50:03Z")

</div>

I have the same problem.  
In iPhone logs I find this:  
Received (FATAL) CPU usage trigger:  
app[848] (/private/var/containers/Bundle/Application/20C482CF-…) used 9.00s of CPU over 9.57 seconds (averaging 94%), violating a CPU usage limit of 9.00s over 15 seconds.
