# Help

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

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

**Page:** 3

---

## [Can't use speaker, just earpiece](https://react-native-webrtc.discourse.group/t/cant-use-speaker-just-earpiece/1509)

<div class="topic-metadata">

**Author:** [@aguedob](https://react-native-webrtc.discourse.group/u/aguedob)\
**Replies:** 2\
**Last updated:** [March 24, 2022, 7:18am UTC](https://react-native-webrtc.discourse.group/t/cant-use-speaker-just-earpiece/1509 "2022-03-24T07:18:46Z")

</div>

Hi all, I have a RN app using react-native-webrtc and lib-jitsi-meet. All is working fine except the audio output. I would like to use the speaker instead of the earpiece. I tried react-native-incall-manager on this way…

---

## [Calling "mediaDevices.getUserMedia{video: true})" closes the application](https://react-native-webrtc.discourse.group/t/calling-mediadevices-getusermedia-video-true-closes-the-application/1494)

<div class="topic-metadata">

**Author:** [@oystagoymp](https://react-native-webrtc.discourse.group/u/oystagoymp)\
**Replies:** 0\
**Last updated:** [February 20, 2022, 7:37am UTC](https://react-native-webrtc.discourse.group/t/calling-mediadevices-getusermedia-video-true-closes-the-application/1494 "2022-02-20T07:37:06Z")

</div>

Basically what the title says. I call mediaDevices.getUserMedia{video: true}) and the application just exits without an error message. I’m using an iPhone to test and I have: NSCameraUsageDescription Allow $(PRODUCT\_NA…

---

## [Unrecognized selector sent to instance \* while invoking peerConnectionInit](https://react-native-webrtc.discourse.group/t/unrecognized-selector-sent-to-instance-while-invoking-peerconnectioninit/1485)

<div class="topic-metadata">

**Author:** [@whoisdominic](https://react-native-webrtc.discourse.group/u/whoisdominic)\
**Replies:** 1\
**Last updated:** [February 11, 2022, 8:31am UTC](https://react-native-webrtc.discourse.group/t/unrecognized-selector-sent-to-instance-while-invoking-peerconnectioninit/1485 "2022-02-11T08:31:06Z")

</div>

Hello everyone :wave:t5: I have been trying to solve this issue for 2-3 months. I keep on getting the error When I try and create a peer connection using a Janus media server. I have looked far and wide for a reason …

---

## [Build failure on android 10 emulator](https://react-native-webrtc.discourse.group/t/build-failure-on-android-10-emulator/1470)

<div class="topic-metadata">

**Author:** [@StevenDRiggs](https://react-native-webrtc.discourse.group/u/StevenDRiggs)\
**Replies:** 1\
**Last updated:** [February 8, 2022, 11:50pm UTC](https://react-native-webrtc.discourse.group/t/build-failure-on-android-10-emulator/1470 "2022-02-08T23:50:36Z")

</div>

After following the setup here react-native-callkeep/android-installation.md at master · react-native-webrtc/react-native-callkeep · GitHub I am consistently receiving error: package android.support.annotation does not e…

---

## [Webrtc media server](https://react-native-webrtc.discourse.group/t/webrtc-media-server/1479)

<div class="topic-metadata">

**Author:** [@hardik](https://react-native-webrtc.discourse.group/u/hardik)\
**Replies:** 1\
**Last updated:** [February 8, 2022, 11:43pm UTC](https://react-native-webrtc.discourse.group/t/webrtc-media-server/1479 "2022-02-08T23:43:28Z")

</div>

Anyone know about React-native-webrtc media server and how to create and how media server is work for group call.

---

## [React native webrtc multi connection problem](https://react-native-webrtc.discourse.group/t/react-native-webrtc-multi-connection-problem/1477)

<div class="topic-metadata">

**Author:** [@hardik](https://react-native-webrtc.discourse.group/u/hardik)\
**Replies:** 0\
**Last updated:** [January 29, 2022, 10:12am UTC](https://react-native-webrtc.discourse.group/t/react-native-webrtc-multi-connection-problem/1477 "2022-01-29T10:12:23Z")

</div>

5th peer can not receive another 4 user stream but all 4 peer receive 5th user stream and connection was successfully created between 5 peer in react native

---

## [Keeping application alive in background](https://react-native-webrtc.discourse.group/t/keeping-application-alive-in-background/444)

<div class="topic-metadata">

**Author:** [@e.sinanturan](https://react-native-webrtc.discourse.group/u/e.sinanturan)\
**Replies:** 20\
**Last updated:** [January 27, 2022, 10:07am UTC](https://react-native-webrtc.discourse.group/t/keeping-application-alive-in-background/444 "2022-01-27T10:07:08Z")

</div>

Hi, I am using react-native-webrtc plugin to make a conference app and it works pretty good in foreground (when the app is active) but in background after a while when there is a connection problem which app state fails …

---

## [TypeError: null is not an object (evaluating 'WebRTCModule.peerConnectionInit')](https://react-native-webrtc.discourse.group/t/typeerror-null-is-not-an-object-evaluating-webrtcmodule-peerconnectioninit/1245)

<div class="topic-metadata">

**Author:** [@Kater](https://react-native-webrtc.discourse.group/u/Kater)\
**Replies:** 3\
**Last updated:** [January 16, 2022, 4:08am UTC](https://react-native-webrtc.discourse.group/t/typeerror-null-is-not-an-object-evaluating-webrtcmodule-peerconnectioninit/1245 "2022-01-16T04:08:58Z")

</div>

Hello, i cannot get react-native-WebRTC to run on a real android phone. I ejected expo and then built the app. This is my function componentDidMount = async () =\> { const configuration = {“iceServers”: \[{“url”: “stu…

---

## [What version of WebRTC does this library use on Android?](https://react-native-webrtc.discourse.group/t/what-version-of-webrtc-does-this-library-use-on-android/1436)

<div class="topic-metadata">

**Author:** [@ntaylorbishop](https://react-native-webrtc.discourse.group/u/ntaylorbishop)\
**Replies:** 1\
**Last updated:** [December 16, 2021, 3:29pm UTC](https://react-native-webrtc.discourse.group/t/what-version-of-webrtc-does-this-library-use-on-android/1436 "2021-12-16T15:29:21Z")

</div>

I’m trying to build libwebrtc.jar from source so I can modify it, but it crashes when it’s built with arm and the x64 configurations. Is there a specific branch / release of webrtc I need to be using in order to have it …

---

## [Black screen when receiving video (resolved)](https://react-native-webrtc.discourse.group/t/black-screen-when-receiving-video-resolved/130)

<div class="topic-metadata">

**Author:** [@yaiceltg](https://react-native-webrtc.discourse.group/u/yaiceltg)\
**Replies:** 4\
**Last updated:** [December 11, 2021, 5:57pm UTC](https://react-native-webrtc.discourse.group/t/black-screen-when-receiving-video-resolved/130 "2021-12-11T17:57:32Z")

</div>

Hello I’m using openvidu, kurento and react-native to build an app and I’m having the following problem, and that is that the screen that receives the streaming is black, transmits everything well, even on the web you c…

---

## [How to handle device rotation/orientation properly (media freeze in portrait)](https://react-native-webrtc.discourse.group/t/how-to-handle-device-rotation-orientation-properly-media-freeze-in-portrait/1434)

<div class="topic-metadata">

**Author:** [@B-R-Bender](https://react-native-webrtc.discourse.group/u/B-R-Bender)\
**Replies:** 0\
**Last updated:** [December 11, 2021, 3:48pm UTC](https://react-native-webrtc.discourse.group/t/how-to-handle-device-rotation-orientation-properly-media-freeze-in-portrait/1434 "2021-12-11T15:48:06Z")

</div>

Can anyone share a knowledge of how to handle device orientation properly? I’m using janus as a SFU and building a client with react-native-webrtc. I’ve successfully established a connection and I can see a stream on a…

---

## [How can i get each frame as image from stream](https://react-native-webrtc.discourse.group/t/how-can-i-get-each-frame-as-image-from-stream/1428)

<div class="topic-metadata">

**Author:** [@rameshjega](https://react-native-webrtc.discourse.group/u/rameshjega)\
**Replies:** 0\
**Last updated:** [December 8, 2021, 8:50am UTC](https://react-native-webrtc.discourse.group/t/how-can-i-get-each-frame-as-image-from-stream/1428 "2021-12-08T08:50:38Z")

</div>

How can I get each frame (of the media stream) as image, either as file or JPG or PNG or blob or base64…by using WEBRTC stream = await mediaDevices.getUserMedia({ video: true , audio: true }); output: STREAM: {"\_reac…

---

## [Get media stream frame as image](https://react-native-webrtc.discourse.group/t/get-media-stream-frame-as-image/202)

<div class="topic-metadata">

**Author:** [@alessandroraffa](https://react-native-webrtc.discourse.group/u/alessandroraffa)\
**Replies:** 3\
**Last updated:** [December 8, 2021, 8:44am UTC](https://react-native-webrtc.discourse.group/t/get-media-stream-frame-as-image/202 "2021-12-08T08:44:41Z")

</div>

Here is my code… import Permissions from 'react-native-permissions'; import { RTCPeerConnection, RTCIceCandidate, RTCSessionDescription, RTCView, MediaStream, MediaStreamTrack, mediaDevices } from 'react-n…

---

## [Connecting Audio call in iPhone locked stage React native](https://react-native-webrtc.discourse.group/t/connecting-audio-call-in-iphone-locked-stage-react-native/1397)

<div class="topic-metadata">

**Author:** [@BlackCrow](https://react-native-webrtc.discourse.group/u/BlackCrow)\
**Replies:** 1\
**Last updated:** [November 7, 2021, 10:50am UTC](https://react-native-webrtc.discourse.group/t/connecting-audio-call-in-iphone-locked-stage-react-native/1397 "2021-11-07T10:50:19Z")

</div>

When I try to answer an audio call from the locked stage I cannot able to hear the voice from the remote user and vice versa. How to receive and transmit the audio in ios in the locked stage. I am using the react-native…

---

## [Hang call got problem](https://react-native-webrtc.discourse.group/t/hang-call-got-problem/1394)

<div class="topic-metadata">

**Author:** [@akashefrath](https://react-native-webrtc.discourse.group/u/akashefrath)\
**Replies:** 0\
**Last updated:** [October 29, 2021, 11:50am UTC](https://react-native-webrtc.discourse.group/t/hang-call-got-problem/1394 "2021-10-29T11:50:16Z")

</div>

hey While hanging the call am just close remote local stream and also I close peer connection by pc.close() and when I re-offer its say peer connection is null and signaling also no stable var pc = () =\> { …

---

## [How to play remote video's stream in full screen mode?](https://react-native-webrtc.discourse.group/t/how-to-play-remote-videos-stream-in-full-screen-mode/537)

<div class="topic-metadata">

**Author:** [@haruja](https://react-native-webrtc.discourse.group/u/haruja)\
**Replies:** 3\
**Last updated:** [October 22, 2021, 11:16am UTC](https://react-native-webrtc.discourse.group/t/how-to-play-remote-videos-stream-in-full-screen-mode/537 "2021-10-22T11:16:21Z")

</div>

I have played remote video’s stream by RTCView. I would play it in full screen. P/s I tried pass data to video player of react-native-video, but not success.

---

## [Picture-in-picture mode for webRTC videos](https://react-native-webrtc.discourse.group/t/picture-in-picture-mode-for-webrtc-videos/1385)

<div class="topic-metadata">

**Author:** [@charlie](https://react-native-webrtc.discourse.group/u/charlie)\
**Replies:** 1\
**Last updated:** [October 22, 2021, 11:15am UTC](https://react-native-webrtc.discourse.group/t/picture-in-picture-mode-for-webrtc-videos/1385 "2021-10-22T11:15:10Z")

</div>

Is there a way to allow PiP mode for webRTC videos? Are there examples or documents that would help set this up in an ios application using react-native-webrtc?

---

## [WebRTC work only on local network](https://react-native-webrtc.discourse.group/t/webrtc-work-only-on-local-network/1373)

<div class="topic-metadata">

**Author:** [@TheSkynetZ](https://react-native-webrtc.discourse.group/u/TheSkynetZ)\
**Replies:** 0\
**Last updated:** [October 4, 2021, 9:22pm UTC](https://react-native-webrtc.discourse.group/t/webrtc-work-only-on-local-network/1373 "2021-10-04T21:22:26Z")

</div>

HI everyone, I am trying to create a project using react-native-webrtc and signalling server using socket.io. I have working stun servers and turn servers from xirsys and viagenie, but when I try calling from a different…

---

## ["WebRTC Error" on incoming jssip call with video](https://react-native-webrtc.discourse.group/t/webrtc-error-on-incoming-jssip-call-with-video/1371)

<div class="topic-metadata">

**Author:** [@serg](https://react-native-webrtc.discourse.group/u/serg)\
**Replies:** 0\
**Last updated:** [October 2, 2021, 3:11pm UTC](https://react-native-webrtc.discourse.group/t/webrtc-error-on-incoming-jssip-call-with-video/1371 "2021-10-02T15:11:11Z")

</div>

I’m not sure whether my question is more related to jssip or to webrtc, but i’m desperate so i’ll try here. I have a door bell, which can initiate sip video calls with ulaw/h264. I’ve installed asterisk and configured i…

---

## [Error Setting Remote Description - TypeError: Attempted to assign to readonly property](https://react-native-webrtc.discourse.group/t/error-setting-remote-description-typeerror-attempted-to-assign-to-readonly-property/1365)

<div class="topic-metadata">

**Author:** [@mger](https://react-native-webrtc.discourse.group/u/mger)\
**Replies:** 0\
**Last updated:** [September 29, 2021, 3:27pm UTC](https://react-native-webrtc.discourse.group/t/error-setting-remote-description-typeerror-attempted-to-assign-to-readonly-property/1365 "2021-09-29T15:27:30Z")

</div>

Hello, I’m encountering a weird error when I attempt to set my peer’s remote description from another peer’s offer. I’m using the command: peerConn.setRemoteDescription(new RTCSessionDescription(offer)) however, it re…

---

## [RTCView not working with remote streaming](https://react-native-webrtc.discourse.group/t/rtcview-not-working-with-remote-streaming/1358)

<div class="topic-metadata">

**Author:** [@aolid](https://react-native-webrtc.discourse.group/u/aolid)\
**Replies:** 2\
**Last updated:** [September 27, 2021, 7:57am UTC](https://react-native-webrtc.discourse.group/t/rtcview-not-working-with-remote-streaming/1358 "2021-09-27T07:57:48Z")

</div>

Hello all, I have a problem with use of RTCView to make a videoRoom app in react-native. Now i can send local stream to server (checked in web browsers) and i can receive video streaming from the server, but i can\`t …

---

## [How to display react-native-webrtc streaming in Python?](https://react-native-webrtc.discourse.group/t/how-to-display-react-native-webrtc-streaming-in-python/1306)

<div class="topic-metadata">

**Author:** [@diegocndd](https://react-native-webrtc.discourse.group/u/diegocndd)\
**Replies:** 2\
**Last updated:** [September 26, 2021, 12:42pm UTC](https://react-native-webrtc.discourse.group/t/how-to-display-react-native-webrtc-streaming-in-python/1306 "2021-09-26T12:42:00Z")

</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.

---

## [Not working on m1 mac iOS simulator?](https://react-native-webrtc.discourse.group/t/not-working-on-m1-mac-ios-simulator/1347)

<div class="topic-metadata">

**Author:** [@goulash](https://react-native-webrtc.discourse.group/u/goulash)\
**Replies:** 2\
**Last updated:** [September 9, 2021, 8:20pm UTC](https://react-native-webrtc.discourse.group/t/not-working-on-m1-mac-ios-simulator/1347 "2021-09-09T20:20:41Z")

</div>

Is it possible to use this library on the iOS simulator for m1 macs? Installing this library works fine using pod install, but trying to build the app in xcode shows errors like: .../react-native-webrtc/ios/RCTWebRTC/We…

---

## [RTCView zOrder not working](https://react-native-webrtc.discourse.group/t/rtcview-zorder-not-working/1352)

<div class="topic-metadata">

**Author:** [@Pandazaur](https://react-native-webrtc.discourse.group/u/Pandazaur)\
**Replies:** 0\
**Last updated:** [September 9, 2021, 4:31pm UTC](https://react-native-webrtc.discourse.group/t/rtcview-zorder-not-working/1352 "2021-09-09T16:31:25Z")

</div>

Hello, I have two RTCView on my screen (remote & local), but it looks like the zOrder has no effect on my views. \<View style={{ position: 'relative', flex: 1, padding: 20, backgroundColor: 'black' }}\> \<View…

---

## [I want to record the stream in RTCview, what should I do](https://react-native-webrtc.discourse.group/t/i-want-to-record-the-stream-in-rtcview-what-should-i-do/1350)

<div class="topic-metadata">

**Author:** [@code-zyp1](https://react-native-webrtc.discourse.group/u/code-zyp1)\
**Replies:** 0\
**Last updated:** [September 9, 2021, 4:16am UTC](https://react-native-webrtc.discourse.group/t/i-want-to-record-the-stream-in-rtcview-what-should-i-do/1350 "2021-09-09T04:16:53Z")

</div>

Are there related plugins?

---

## [How to display a normal view component on top of zOrdered RTCView](https://react-native-webrtc.discourse.group/t/how-to-display-a-normal-view-component-on-top-of-zordered-rtcview/1331)

<div class="topic-metadata">

**Author:** [@loganathan-s](https://react-native-webrtc.discourse.group/u/loganathan-s)\
**Replies:** 0\
**Last updated:** [August 12, 2021, 5:54pm UTC](https://react-native-webrtc.discourse.group/t/how-to-display-a-normal-view-component-on-top-of-zordered-rtcview/1331 "2021-08-12T17:54:19Z")

</div>

I have multiple RTCView components with zorder and it works well. But when try to place a View(not an RTCView Component) on top of RTCview it’s not displaying in front of the RTCView component since the RTCView always a…

---

## [How can I make customised constraints?](https://react-native-webrtc.discourse.group/t/how-can-i-make-customised-constraints/1318)

<div class="topic-metadata">

**Author:** [@sagark1510](https://react-native-webrtc.discourse.group/u/sagark1510)\
**Replies:** 0\
**Last updated:** [July 26, 2021, 11:12am UTC](https://react-native-webrtc.discourse.group/t/how-can-i-make-customised-constraints/1318 "2021-07-26T11:12:11Z")

</div>

If I start the call with mediaConstraint = {audio: true, video: false} How can I later turn the video: true and let the other peers know I have started video too? This I need because I have feature where user can start …

---

## [Functional example](https://react-native-webrtc.discourse.group/t/functional-example/1307)

<div class="topic-metadata">

**Author:** [@AmirDoreh](https://react-native-webrtc.discourse.group/u/AmirDoreh)\
**Replies:** 0\
**Last updated:** [July 14, 2021, 5:53pm UTC](https://react-native-webrtc.discourse.group/t/functional-example/1307 "2021-07-14T17:53:54Z")

</div>

i wonder how to use webrtc as logical as possible for react-native-webrtc and it signaling server. can anyone provide examples for client and signaling server ? thanks @saghul

---

## [Cannot be disconnected / leave from room](https://react-native-webrtc.discourse.group/t/cannot-be-disconnected-leave-from-room/945)

<div class="topic-metadata">

**Author:** [@oarsoy](https://react-native-webrtc.discourse.group/u/oarsoy)\
**Replies:** 5\
**Last updated:** [July 13, 2021, 11:22pm UTC](https://react-native-webrtc.discourse.group/t/cannot-be-disconnected-leave-from-room/945 "2021-07-13T23:22:22Z")

</div>

I’m trying to add an hangup button at the client side. I tried to trigger the function like this; hangupFunc = () =\> { localStream.getAudioTracks().forEach(track =\> { track.stop(); }); local…

---

## [How we can send mutliple streams from a users to other users](https://react-native-webrtc.discourse.group/t/how-we-can-send-mutliple-streams-from-a-users-to-other-users/1302)

<div class="topic-metadata">

**Author:** [@vaibhavpathak999](https://react-native-webrtc.discourse.group/u/vaibhavpathak999)\
**Replies:** 0\
**Last updated:** [July 12, 2021, 12:04pm UTC](https://react-native-webrtc.discourse.group/t/how-we-can-send-mutliple-streams-from-a-users-to-other-users/1302 "2021-07-12T12:04:03Z")

</div>

Hello everyone, I am trying to send multiple streams from a user. i.e. Video + Audio stream and screen display video to other users in peer-to-peer connection. I want to make a google meet clone. I don’t want to use o…

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

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