# Help

**URL:** https://react-native-webrtc.discourse.group/c/help/8.md

[Latest](https://react-native-webrtc.discourse.group/latest.md) · [Categories](https://react-native-webrtc.discourse.group/categories.md)

---

## [About the Help category](https://react-native-webrtc.discourse.group/t/about-the-help-category/63)

<div class="topic-metadata">

**Author:** [@saghul](https://react-native-webrtc.discourse.group/u/saghul)\
**Replies:** 0

</div>

Need help but your problem doesn’t fit any other category? This is the place.

---

## [peer.setLocalDescription(answer) crashes the app](https://react-native-webrtc.discourse.group/t/peer-setlocaldescription-answer-crashes-the-app/225)

<div class="topic-metadata">

**Author:** [@laesde](https://react-native-webrtc.discourse.group/u/laesde)\
**Replies:** 5\
**Last updated:** [September 23, 2025, 9:30am UTC](https://react-native-webrtc.discourse.group/t/peer-setlocaldescription-answer-crashes-the-app/225 "2025-09-23T09:30:03Z")

</div>

Hi there, I’m trying to setup the react-native-webrtc in our project. Unfortunately I encountered an issue during setting the localDescription for SDP answer. When I call peer.setLocalDescription with created answer the …

---

## [HEVC support on android](https://react-native-webrtc.discourse.group/t/hevc-support-on-android/2204)

<div class="topic-metadata">

**Author:** [@ZgredekLCD](https://react-native-webrtc.discourse.group/u/ZgredekLCD)\
**Replies:** 0\
**Last updated:** [September 18, 2025, 10:29am UTC](https://react-native-webrtc.discourse.group/t/hevc-support-on-android/2204 "2025-09-18T10:29:10Z")

</div>

Does H265 (HEVC) work for you in React-native-webrtc? I have a problem where it works fine in Chrome, but when I try to run it through the React app, I get an error saying that the codec is not supported. Moreover H265…

---

## [Camera Zoom In/Out](https://react-native-webrtc.discourse.group/t/camera-zoom-in-out/2201)

<div class="topic-metadata">

**Author:** [@Arjit0762](https://react-native-webrtc.discourse.group/u/Arjit0762)\
**Replies:** 0\
**Last updated:** [August 25, 2025, 9:30am UTC](https://react-native-webrtc.discourse.group/t/camera-zoom-in-out/2201 "2025-08-25T09:30:51Z")

</div>

Hi everyone, I’m working with the react-native-webrtc library and I want to add support for camera zoom in/out. I’ve gone through the code, but I couldn’t find any existing support for zoom controls. Specifically, I’d …

---

## [Fairly new: Audio in android is very low and choppy whenever I use React Native WebRTC](https://react-native-webrtc.discourse.group/t/fairly-new-audio-in-android-is-very-low-and-choppy-whenever-i-use-react-native-webrtc/2195)

<div class="topic-metadata">

**Author:** [@dchhetri](https://react-native-webrtc.discourse.group/u/dchhetri)\
**Replies:** 0\
**Last updated:** [July 24, 2025, 2:18am UTC](https://react-native-webrtc.discourse.group/t/fairly-new-audio-in-android-is-very-low-and-choppy-whenever-i-use-react-native-webrtc/2195 "2025-07-24T02:18:40Z")

</div>

Excuse me, but I’m fairly new and I lack some context but I adapted a code from an example I’ve found. In my app I have the user able to talk and then send the audio to gemini for a live audio response. In order to not …

---

## [Audio Not working on both ios and android even though permissions have been granted](https://react-native-webrtc.discourse.group/t/audio-not-working-on-both-ios-and-android-even-though-permissions-have-been-granted/2181)

<div class="topic-metadata">

**Author:** [@makaveli45](https://react-native-webrtc.discourse.group/u/makaveli45)\
**Replies:** 0\
**Last updated:** [June 30, 2025, 10:09pm UTC](https://react-native-webrtc.discourse.group/t/audio-not-working-on-both-ios-and-android-even-though-permissions-have-been-granted/2181 "2025-06-30T22:09:53Z")

</div>

import { useEffect, useRef, useState, useCallback } from “react” import { mediaDevices, RTCPeerConnection, RTCIceCandidate, RTCSessionDescription, MediaStream, } from “react-native-webrtc” import InCallManager fr…

---

## [How to keep the call alive when app is closed or killed?](https://react-native-webrtc.discourse.group/t/how-to-keep-the-call-alive-when-app-is-closed-or-killed/1570)

<div class="topic-metadata">

**Author:** [@zaid.iqbal.softech](https://react-native-webrtc.discourse.group/u/zaid.iqbal.softech)\
**Replies:** 3\
**Last updated:** [June 27, 2025, 9:38pm UTC](https://react-native-webrtc.discourse.group/t/how-to-keep-the-call-alive-when-app-is-closed-or-killed/1570 "2025-06-27T21:38:48Z")

</div>

Is there any way I can keep the call working when I close the app by removing it from recent tasks? Like I am in the call and during the call I minimize it and then remove it from recent tasks as well, then the call wil…

---

## [Can't stop the stream when app is killed](https://react-native-webrtc.discourse.group/t/cant-stop-the-stream-when-app-is-killed/1123)

<div class="topic-metadata">

**Author:** [@ilya-lopukhin](https://react-native-webrtc.discourse.group/u/ilya-lopukhin)\
**Replies:** 2\
**Last updated:** [June 4, 2025, 9:07am UTC](https://react-native-webrtc.discourse.group/t/cant-stop-the-stream-when-app-is-killed/1123 "2025-06-04T09:07:05Z")

</div>

So guys, i’m a bit desperate here: i’m using react-native-foreground-notification together with react-native-webrtc. The problem is i need to stop it when i swipe the app from the multitasking. On android \<= 7 it stops. …

---

## [Not receiving any ICE candidates](https://react-native-webrtc.discourse.group/t/not-receiving-any-ice-candidates/572)

<div class="topic-metadata">

**Author:** [@tylorr](https://react-native-webrtc.discourse.group/u/tylorr)\
**Replies:** 9\
**Last updated:** [May 8, 2025, 9:13pm UTC](https://react-native-webrtc.discourse.group/t/not-receiving-any-ice-candidates/572 "2025-05-08T21:13:54Z")

</div>

None of the ICE related callbacks are being triggered ever. I am running these tests on an iOS simulator. My understanding is that ICE candidates would be fetched after setting local description. Here is my code const…

---

## [Looking for a collaborator](https://react-native-webrtc.discourse.group/t/looking-for-a-collaborator/2156)

<div class="topic-metadata">

**Author:** [@prodev](https://react-native-webrtc.discourse.group/u/prodev)\
**Replies:** 0\
**Last updated:** [April 26, 2025, 9:56pm UTC](https://react-native-webrtc.discourse.group/t/looking-for-a-collaborator/2156 "2025-04-26T21:56:43Z")

</div>

Hi, I am seeking a supporter located in the US, Canada, UK, or Germany. My focus is on the US and European markets, and if you have technical skills, it is a big plus. If you meet all the criteria, we can establish a …

---

## [Remote Stream Issue on IOS](https://react-native-webrtc.discourse.group/t/remote-stream-issue-on-ios/2094)

<div class="topic-metadata">

**Author:** [@vivekeightapp.co](https://react-native-webrtc.discourse.group/u/vivekeightapp.co)\
**Replies:** 1\
**Last updated:** [April 12, 2025, 8:10am UTC](https://react-native-webrtc.discourse.group/t/remote-stream-issue-on-ios/2094 "2025-04-12T08:10:02Z")

</div>

I am using WebRTC with a TURN server. Everything works fine on the local network when using STUN. However, when I make a call from a different network, I encounter a strange issue. Current Issue: When I make a call fro…

---

## [Not able to receive audio stream when the app is in background/closed](https://react-native-webrtc.discourse.group/t/not-able-to-receive-audio-stream-when-the-app-is-in-background-closed/2113)

<div class="topic-metadata">

**Author:** [@utkarsh42](https://react-native-webrtc.discourse.group/u/utkarsh42)\
**Replies:** 0\
**Last updated:** [February 3, 2025, 5:18pm UTC](https://react-native-webrtc.discourse.group/t/not-able-to-receive-audio-stream-when-the-app-is-in-background-closed/2113 "2025-02-03T17:18:15Z")

</div>

So I am trying to create a walkie talkie app like zello in which user can receive audio stream when the app is in background or closed. But when I am trying to connect the audio when the app is opened and putting that in…

---

## [WebRTC: Second and Subsequent Calls Failing After Successful First Call, App Crashes on PeerConnection Close()](https://react-native-webrtc.discourse.group/t/webrtc-second-and-subsequent-calls-failing-after-successful-first-call-app-crashes-on-peerconnection-close/2105)

<div class="topic-metadata">

**Author:** [@anvarbekdev](https://react-native-webrtc.discourse.group/u/anvarbekdev)\
**Replies:** 0\
**Last updated:** [January 25, 2025, 12:14pm UTC](https://react-native-webrtc.discourse.group/t/webrtc-second-and-subsequent-calls-failing-after-successful-first-call-app-crashes-on-peerconnection-close/2105 "2025-01-25T12:14:47Z")

</div>

I am facing an issue with React Native WebRTC where the first call works as expected, but subsequent calls fail. Additionally, if I explicitly call localPCRef.current.close() during the cleanup process, the app crashes o…

---

## [Audio only communication, do not hear any sound from remote stream](https://react-native-webrtc.discourse.group/t/audio-only-communication-do-not-hear-any-sound-from-remote-stream/381)

<div class="topic-metadata">

**Author:** [@quangvinh2080](https://react-native-webrtc.discourse.group/u/quangvinh2080)\
**Replies:** 2\
**Last updated:** [January 1, 2025, 7:35pm UTC](https://react-native-webrtc.discourse.group/t/audio-only-communication-do-not-hear-any-sound-from-remote-stream/381 "2025-01-01T19:35:26Z")

</div>

This is a closed and old issue, I’m trying to play sound from remote stream but still can’t. The mediastream is audio only. From browser, I assign the stream by player.srcObject = remoteStream; player.play(), the sound w…

---

## [Receiving iceGatheringState complete takes a long time](https://react-native-webrtc.discourse.group/t/receiving-icegatheringstate-complete-takes-a-long-time/2078)

<div class="topic-metadata">

**Author:** [@BergDee](https://react-native-webrtc.discourse.group/u/BergDee)\
**Replies:** 0\
**Last updated:** [October 31, 2024, 8:32am UTC](https://react-native-webrtc.discourse.group/t/receiving-icegatheringstate-complete-takes-a-long-time/2078 "2024-10-31T08:32:18Z")

</div>

Hi, I’m using the latest version of this library and it’s great, thanks everyone involved building it. I have once slight issue though I’m wondering if anyone can help me understand. I’m using this library to stream ip…

---

## [How to handle SIP logic in Android headless task](https://react-native-webrtc.discourse.group/t/how-to-handle-sip-logic-in-android-headless-task/1746)

<div class="topic-metadata">

**Author:** [@RamsayRomero](https://react-native-webrtc.discourse.group/u/RamsayRomero)\
**Replies:** 2\
**Last updated:** [September 21, 2024, 4:38pm UTC](https://react-native-webrtc.discourse.group/t/how-to-handle-sip-logic-in-android-headless-task/1746 "2024-09-21T16:38:02Z")

</div>

I’m developing a VoIP app using Callkeep and Sip.js. I’m setting up my SIP handling and Callkeep logic in a useEffect at the root of my app. So I’m creating and starting my user agent, registering, and setting up Callkee…

---

## [Want to add filter video data to local stream in Peerconnection Android](https://react-native-webrtc.discourse.group/t/want-to-add-filter-video-data-to-local-stream-in-peerconnection-android/2052)

<div class="topic-metadata">

**Author:** [@darklordemperor](https://react-native-webrtc.discourse.group/u/darklordemperor)\
**Replies:** 2\
**Last updated:** [September 9, 2024, 3:16am UTC](https://react-native-webrtc.discourse.group/t/want-to-add-filter-video-data-to-local-stream-in-peerconnection-android/2052 "2024-09-09T03:16:59Z")

</div>

my objective are replace filter video data to peerconnection as local stream ,in my progress i already using Camera X to get image then use tensorFlow lite Ai model for filter segmentionMask image with bitmap and r…

---

## [RTCView doesn't show the full view of the incoming media stream](https://react-native-webrtc.discourse.group/t/rtcview-doesnt-show-the-full-view-of-the-incoming-media-stream/2049)

<div class="topic-metadata">

**Author:** [@nagaK](https://react-native-webrtc.discourse.group/u/nagaK)\
**Replies:** 1\
**Last updated:** [September 3, 2024, 7:35pm UTC](https://react-native-webrtc.discourse.group/t/rtcview-doesnt-show-the-full-view-of-the-incoming-media-stream/2049 "2024-09-03T19:35:33Z")

</div>

How do I make RTCView show the full view of the incoming video ? I am using react-native-webrtc@124.0.4 \<View style={{ flex: 1, backgroundColor: '#050A0E', paddingHorizontal: 1, …

---

## [Track event never gets called](https://react-native-webrtc.discourse.group/t/track-event-never-gets-called/2048)

<div class="topic-metadata">

**Author:** [@nagaK](https://react-native-webrtc.discourse.group/u/nagaK)\
**Replies:** 1\
**Last updated:** [September 3, 2024, 7:12pm UTC](https://react-native-webrtc.discourse.group/t/track-event-never-gets-called/2048 "2024-09-03T19:12:09Z")

</div>

I am implementing RTCPeerConnection in React Native app using plain WebSocket I am registering the following events inside the “onmessage” callback of Web Socket addEventListener( ‘icegatheringstatechange’) addEventLi…

---

## [New MediaStream not rendering in RTCView](https://react-native-webrtc.discourse.group/t/new-mediastream-not-rendering-in-rtcview/2016)

<div class="topic-metadata">

**Author:** [@ashfaq-ahmed](https://react-native-webrtc.discourse.group/u/ashfaq-ahmed)\
**Replies:** 0\
**Last updated:** [July 26, 2024, 7:39pm UTC](https://react-native-webrtc.discourse.group/t/new-mediastream-not-rendering-in-rtcview/2016 "2024-07-26T19:39:13Z")

</div>

Hi, I am using react-native-webrtc 124.0.3 and mediasoup-client 3.7.12, To render the remote track that we receive through mediasoup, I use new MediaStream() and then addTrack to that media stream which is then passed t…

---

## [System audio not support for screen sharing in IOS](https://react-native-webrtc.discourse.group/t/system-audio-not-support-for-screen-sharing-in-ios/2013)

<div class="topic-metadata">

**Author:** [@priyankgandhi0](https://react-native-webrtc.discourse.group/u/priyankgandhi0)\
**Replies:** 1\
**Last updated:** [July 24, 2024, 9:08am UTC](https://react-native-webrtc.discourse.group/t/system-audio-not-support-for-screen-sharing-in-ios/2013 "2024-07-24T09:08:17Z")

</div>

I am trying to use the react native webrtc for building a screen sharing application. I have used getDisplayMedia() for getting the screen share with using a broadcast extension plugin. But currently it does not support…

---

## [Doesn't connect when rejoining a call](https://react-native-webrtc.discourse.group/t/doesnt-connect-when-rejoining-a-call/2006)

<div class="topic-metadata">

**Author:** [@marvelous-ikechi](https://react-native-webrtc.discourse.group/u/marvelous-ikechi)\
**Replies:** 0\
**Last updated:** [July 5, 2024, 11:45am UTC](https://react-native-webrtc.discourse.group/t/doesnt-connect-when-rejoining-a-call/2006 "2024-07-05T11:45:30Z")

</div>

I’m currently having an issue where joining a call for the first time works perfectly, however, when a peer who isn’t the host leaves and rejoins, the connection state never changes to connected; it gets stuck at connect…

---

## [Unable to compile for Android](https://react-native-webrtc.discourse.group/t/unable-to-compile-for-android/1982)

<div class="topic-metadata">

**Author:** [@scosmanagraz](https://react-native-webrtc.discourse.group/u/scosmanagraz)\
**Replies:** 1\
**Last updated:** [June 11, 2024, 4:05pm UTC](https://react-native-webrtc.discourse.group/t/unable-to-compile-for-android/1982 "2024-06-11T16:05:12Z")

</div>

This library won’t compile in my project. The only way I can make it compile is by removing the line: .setForegroundServiceBehavior(NotificationCompat.FOREGROUND\_SERVICE\_IMMEDIATE); in MediaProjectionNotification.java …

---

## [Doesnt work on mobile connection](https://react-native-webrtc.discourse.group/t/doesnt-work-on-mobile-connection/402)

<div class="topic-metadata">

**Author:** [@reinkepatrick](https://react-native-webrtc.discourse.group/u/reinkepatrick)\
**Replies:** 5\
**Last updated:** [June 10, 2024, 7:26am UTC](https://react-native-webrtc.discourse.group/t/doesnt-work-on-mobile-connection/402 "2024-06-10T07:26:42Z")

</div>

Good mornin’, I have a problem that I can’t get a connection if the two devices are connected via mobile internet, if they are on the same network there are no problems. WebRTC Version: 1.75.1 React Native Version: 0.…

---

## [Error when using new RTCPeerConnection(peerCons) constructor](https://react-native-webrtc.discourse.group/t/error-when-using-new-rtcpeerconnection-peercons-constructor/1945)

<div class="topic-metadata">

**Author:** [@farid.mansimli](https://react-native-webrtc.discourse.group/u/farid.mansimli)\
**Replies:** 3\
**Last updated:** [April 25, 2024, 4:39pm UTC](https://react-native-webrtc.discourse.group/t/error-when-using-new-rtcpeerconnection-peercons-constructor/1945 "2024-04-25T16:39:14Z")

</div>

hello everyone, when calling const pc = RTCPeerConnection(peerCons) constructor, the error below occurs. it works as soon as i delete that code. react-native-webrtc version: 118.0.1 react-native version: 0.73 i’m …

---

## [Way to set louder speaker in new version of react-native (Kotlin)](https://react-native-webrtc.discourse.group/t/way-to-set-louder-speaker-in-new-version-of-react-native-kotlin/1948)

<div class="topic-metadata">

**Author:** [@farid.mansimli](https://react-native-webrtc.discourse.group/u/farid.mansimli)\
**Replies:** 3\
**Last updated:** [March 15, 2024, 9:56am UTC](https://react-native-webrtc.discourse.group/t/way-to-set-louder-speaker-in-new-version-of-react-native-kotlin/1948 "2024-03-15T09:56:08Z")

</div>

Hello everyone, has anyone used react-native-incall-manager in new version of react-native? Native modules (for example: MainApplication.kt) for android in the new version of react-native is in Kotlin. so, i tried ins…

---

## [Send two audio sources or multiple streams over WebRTC](https://react-native-webrtc.discourse.group/t/send-two-audio-sources-or-multiple-streams-over-webrtc/1943)

<div class="topic-metadata">

**Author:** [@Joe](https://react-native-webrtc.discourse.group/u/Joe)\
**Replies:** 0\
**Last updated:** [February 6, 2024, 10:47am UTC](https://react-native-webrtc.discourse.group/t/send-two-audio-sources-or-multiple-streams-over-webrtc/1943 "2024-02-06T10:47:19Z")

</div>

Can I pass two audio sources at the same time? I can’t do this by adding two audio tracks to the same stream or adding audio tracks to the two streams separately, so I want to ask if this can be done.

---

## [Try get connect Bluetooth headset for VideoCall](https://react-native-webrtc.discourse.group/t/try-get-connect-bluetooth-headset-for-videocall/1923)

<div class="topic-metadata">

**Author:** [@darklordemperor](https://react-native-webrtc.discourse.group/u/darklordemperor)\
**Replies:** 0\
**Last updated:** [January 10, 2024, 10:19am UTC](https://react-native-webrtc.discourse.group/t/try-get-connect-bluetooth-headset-for-videocall/1923 "2024-01-10T10:19:59Z")

</div>

well i try to log Device from enumerateDevices by using my actual Phone Device (samsung a31) const devices = await mediaDevices.enumerateDevices(); console.log("Get Media Device ", devices); and i got LOG as Get Me…

---

## [Get video frame for face detection](https://react-native-webrtc.discourse.group/t/get-video-frame-for-face-detection/250)

<div class="topic-metadata">

**Author:** [@jayaprakash](https://react-native-webrtc.discourse.group/u/jayaprakash)\
**Replies:** 0\
**Last updated:** [September 5, 2019, 2:47pm UTC](https://react-native-webrtc.discourse.group/t/get-video-frame-for-face-detection/250 "2019-09-05T14:47:52Z")

</div>

can you guys please help me with the react-native-webrtc. I have done security camera applications like Alfred using react-native-webrtc it’s working fine. I’m getting difficult to get the motion detection on live stream…

---

## [Candidates never join the same room](https://react-native-webrtc.discourse.group/t/candidates-never-join-the-same-room/1866)

<div class="topic-metadata">

**Author:** [@ugurilgin](https://react-native-webrtc.discourse.group/u/ugurilgin)\
**Replies:** 0\
**Last updated:** [October 2, 2023, 2:30pm UTC](https://react-native-webrtc.discourse.group/t/candidates-never-join-the-same-room/1866 "2023-10-02T14:30:34Z")

</div>

/\* eslint-disable react-hooks/exhaustive-deps \*/ /\* eslint-disable no-undef \*/ import React, {useEffect, useRef, useState} from 'react'; import {View,Text,SafeAreaView,StyleSheet,LogBox,TouchableOpacity} from 'react-nati…

[Next page](https://react-native-webrtc.discourse.group/c/help/8.md?page=1)
