62 questions
0
votes
0
answers
48
views
react-native-webrtc IOS: Mic is enabled even if only consuming
I got the library to work ('react-native-webrtc'), and I can receive an audio stream. But on iOS, the mic permission is turned on and I can see the orange dot in the top right corner of the screen ...
0
votes
0
answers
47
views
Issue with iOS routing microphone input to speaker/headphones in react native project
I’m building a react native app with expo (unmanaged workflow) to hold a live audio call over a server.
Audio sharing between users is fine but I got a weird issue when using a real iOS device.
The ...
0
votes
0
answers
52
views
Webrtc using default internal mic instead of bluetooth mic in react native iOS
I'm using react-native-incall-manager lib in my RN project (that also uses react-native-webrtc) to help route the audio to come in from the bluetooth mic. It works in Android but iOS still uses the ...
0
votes
0
answers
47
views
Why does my program crash when I enter pip mode and execute the startIOSPIP method
This is my code, When I execute the togglePIP method, my program crashes. May I ask if I have missed anything
<RTCPIPView
ref={rtcViewRef}
key={stream.id}
streamURL={...
1
vote
0
answers
83
views
App not using the connected bluetooth mic with React-native-webrtc
My app uses react-native-webrtc and handles calls through it. It uses the device microphone by default. When a bluetooth headset is connected to the device, the app still routes the audio to be picked ...
0
votes
0
answers
113
views
React Native WebRTC gives Exception in HostFunction: <unknown>
I have a React Native app that related to the VoIP calls. So I am planning to use WebRTC for the app. I am running it with the Expo. I know react-native-webrtc is not directly work with Expo and I am ...
0
votes
0
answers
69
views
iPhone Audio coming from top speaker for Open AI Realtime API Expo and Web RTC
I am trying to implement the Open AI realtime API with Expo mobile app using react-native-webrtc-web-shim library. The functionality works. However, whenever the audio plays on the iPhone, it is out ...
0
votes
0
answers
52
views
(React Native)Connect to websocket when the app is in background or closed without user interaction
So I am trying to create an app 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 ...
1
vote
1
answer
84
views
peerConnection.ontrack is not triggering
Here is my App.tsx file. I am receiving stream content from a web app and using WebRTC with React Native. While everything seems to be working fine, I’m facing an issue where peerConnection.ontrack is ...
0
votes
0
answers
126
views
Remote user stream is not displaying in react-native-webrtc
I'm currently working with react-native-webrtc in our project, and I'm facing an issue where the remote user's stream is not showing on the screen. scenario -
I’m able to successfully access and ...
0
votes
0
answers
135
views
How to Ensure H264 Codec is Negotiated in WebRTC SDP on React Native?
I’m working on a React Native app that uses react-native-webrtc and SIP.js for video calls. The SIP server sends an INVITE SDP that includes support for multiple codecs, including H264, VP8, and VP9. ...
0
votes
1
answer
536
views
Integrating SIP.js or similar library with react-native-webrtc
Please, HELP.
I am trying like for few weeks or months already to make outbound call with sip.js or jssip and react-native-webrtc.
I have stun and turn server from telnyx.
I have default sip.js with ...
0
votes
1
answer
1k
views
Can't use webrtc on expo-go
I cannot use react-native-webrtc. When I open Expo Go, I encounter this error:
Invariant Violation: Your JavaScript code tried to access a native module that doesn't exist.
If you're trying to use a ...
1
vote
0
answers
90
views
ERROR Failed to make a call: logger.debug is not a function (it is undefined) using sip.js with React-Native-WebRTC
I am using sip.js with React-Native-WebRTC for audio calling feature in react native app but getting this error when trying to make outgoing call with Inviter.invite()
here my simplest code is
import {...
1
vote
0
answers
256
views
React-native-webrtc displays black screen (IOS) in one of the devices
If this is repeated question please let me know for this post to be deleted. I am having an error in react-native-webrtc where I get 3 weird things happening.
All calls get a remote stream of a black ...
0
votes
1
answer
461
views
React Native WebRTC Remote Stream is black
React Native Webrtc remote stream is black during Video Call. It's getting both audio/video from remote candidate but it just won't display.
{"_id": "28967b2b-d555-4438-a8e8-...
1
vote
0
answers
83
views
RTCView is not honouring the opacity styles in android
RTCView is not working with opacity style changes in Android. The RTC view not considering the added opacity (and the same opacity changes are working in case of iOS). Wrapping RTCView into a react-...
0
votes
1
answer
337
views
does webrtc use turn server if established p2p connection is failed?
Hi I'm trying to build app with webRTC and
I' m little confused about how the webRTC handle the turn server .
I do understand that in establishing connection step if the network environment is not
for ...
0
votes
1
answer
279
views
React Native WebRTC TypeError
I don't understand how to properly import components from webrtc into a project file without errors.
When importing the lines:
import { RTCPeerConnection, RTCIceCandidate, RTCSessionDescription, ...
1
vote
0
answers
668
views
How to toggle/force speaker phone in react-native-webrtc?
I've looked through countless guides and articles about react-native-webrtc and, surprisingly, I was not able to find a solution to my problem. Everything else works just fine (audio calls and video ...
0
votes
0
answers
67
views
Webrtc status stuck on "connecting" and status become "failed"
I can't let two Android devices connect to each other even if both devices are connected to same wifi. In sometime it is successful to connect, but most of the time the status will stuck in "...
-2
votes
1
answer
446
views
React-native WebRTC with socket.io on Expo development build does not work as expected
i tyry to develop videocall on react-native expo on development build refer from old code and i just update react-native WebRTC version from 1.9.4 to 111.0.3 and then my remoteStream does not take ...
2
votes
0
answers
245
views
Error: The remote description was null react-native-webrtc
When i click start meeting, i see the following error in terminal. When i call first time i dont see error, but after ending call when i start meeting second time then i see this error:
WARN Possible ...
1
vote
0
answers
536
views
react-native-webrtc shows remote stream Blank
I'm stuck on this problem since last 3 days, I'm making simple videocalling app but remote stream shows blank. However, when i add objectFit={"cover"} to RNView it shows Black instead of ...
0
votes
1
answer
1k
views
error on expo go using react-native-webrtc "Cannot read property 'senderGetCapabilities' of null, js engine: hermes"
When I Import This statements
import {
RTCPeerConnection,
RTCIceCandidate,
RTCSessionDescription,
RTCView,
MediaStream,
MediaStreamTrack,
mediaDevices,
registerGlobals
} from 'react-...
1
vote
0
answers
102
views
null is not an object (evaluating webrtcmodule.sendergetcapabilities)
I have integrated the 'react-native-webrtc' package into my React Native application for video call functionality. While it works perfectly on the iOS simulator, I encountered an issue when testing it ...
1
vote
1
answer
85
views
Persisting non-serializable values in react native
Is there any way to persist non-serialisable values in react native?
I am building a calling app using SIP js, everything works fine. Now i want to implement the call receiving functionality when the ...
0
votes
1
answer
659
views
React-Native-webrtc black remote stream
I added video call to my React Native app using react-native-webrtc, everything is working fine two devices are connected on the same network but always get a black remote stream on both devices when ...
0
votes
1
answer
1k
views
Error: WebSocket closed wss://my.websocket.server:port (code: 1006)] sip.js react native
I am integrating sipjs in react native and here is the code;
import {Registerer, UserAgent} from 'sip.js';
export const registerUserAgent = async () => {
try {
let sipUsername = 'my ...
-1
votes
1
answer
793
views
VoIP between two different applications - React Native
I am researching how to implement VoIP between two different apps. In my case there are two applications. First one is for service users and the other one is for service providers. Final goal is to ...
2
votes
0
answers
518
views
RNCallKeep.backToForeground() doesn't work as expected always
When a call is initiated when the app is in background or in a completely closed state, the callkeep UI is invoked. When the call is accepted, the required behavior is that it must open our app and ...
5
votes
1
answer
2k
views
sdp: The order of m-lines in subsequent offer doesn't match order from previous offer/answer
**i am using React Native and getting these two errors in my console log :
Failed to set local offer sdp: The order of m-lines in subsequent offer doesn't match order from previous offer/answer.
...
1
vote
1
answer
1k
views
Could not find method compile() for arguments in react native project
I have a react native project (v0.71.4). I installed react-native-webrtc (v1.67.1) in the project and followed these steps for android upto R8/ProGuard Support section.
Now when I try and build the ...
1
vote
0
answers
87
views
setEnableVolumeLogger not found
I am using the latest version of react-native-webrtc (106.0.7). When I try to build the android project, I’m getting these errors:
> /react-native-webrtc/android/src/main/java/com/oney/WebRTCModule/...
1
vote
0
answers
503
views
Play audio when app is in background in react-native-webview
I am building a mobile app with react-native. In the app, I have a react-native-webview which opens a website with an HTML5 tag.
Everything works well when the app is in the foreground, but the audio ...
2
votes
1
answer
1k
views
Dart Sip Ua va Call Keep flutter vs Flutter_webrtc
I am familiar with webrtc and worked with it before. callkeep service can be used for managing calling states in mobile application but then what is the use case of dart-sip-ua. The documentation is ...
1
vote
0
answers
290
views
I am creating expo project with react-native-webrtc, but I got the build error DSO error and after No static method createEGl14
I have issue in build.gradle first i got DSO error tht i solved by using custom plugin and added into app.json but after that I got another error like No static method createEGl14 so I updated the ...
1
vote
0
answers
417
views
Get availableAudioDeviceList React Native
I'm using react-native-incall-manager and React-Native-WebRTC to make audio calls.
I want to know the available audio device list to choose an audio route.
I was only discovered:
Event {"...
0
votes
1
answer
437
views
npm install react-native-webrtc failed
npm install react-native-webrtc --save
C:\Windows\system32\cmd.exe /d /s /c node tools/downloadWebRTC.js
npm ERR! Downloading https://github.com/jitsi/webrtc/releases/download/v106.0.1/android-webrtc....
1
vote
2
answers
4k
views
Video Calling in Expo React Native Application
I am building a React Native Application using Expo and I want to integrate a 1:1 video calling functionality in the app.
From what I have researched so far on the topic is that I can use SDKs of ...
0
votes
1
answer
748
views
Android crash on react-native-webrtc addIceCandidates
I'm trying to stream live video from a remote webcam but it crashes on Android when I try to add the ice candidates to the peerConnection. This same code works on ios and I believe have followed the ...
0
votes
1
answer
275
views
node tools/downloadWebRTC.js command fails when installing "react-native-webrtc" package
I am trying to install the package "react-native-webrtc" but getting this error (yarn install react-native-webrtc --verbose):
react-native-webrtc
verbose 189.970120017 Error: /Users/samwin/...
1
vote
1
answer
235
views
Where should I save data like peer connection, media stream,... when I use WebRTC
I am new in WebRTC and I try to use it in my app. Like the tittle I am wondering should I save data like peer connection, media stream,... in useState or in Redux.
0
votes
2
answers
201
views
Cannot initialize a peer connection, because of 'cyclical structure in JSON object'
I am trying to create a peer connection like this:
const iceServers: RTCIceServer[] = data.iceServers.map((s) => {
return {
urls: [s.uri],
username: s.username,
credential: s....
5
votes
0
answers
1k
views
React Native support PiP (Picture-in-Picture) mode for video calling app
I need to add PiP(Picture in Picture) mode to a react native app (both Android and iOS).
Some video calling apps such as Google Meet, etc are already support PiP mode, and I want to make the app like ...
2
votes
1
answer
488
views
How to implement Mini View like PipView in mobile app with React-Native
I want to implement a Mini View or Floating View (for WebRTC calling) in React-Native that should be persist or opened until we close it and it should be remain opened if we navigate to other screen ...
0
votes
1
answer
2k
views
How to fix React native app stopped working on android
i added firebase to my react native project and it's stopped running on my emulator. I've had this issue with firebase & react-native some years back, don't know what the fix was.
Running adb ...
2
votes
2
answers
4k
views
React Native CallKeep : answerCall' CallKeep Listener occasionally does not run, when answering call while app is terminated/background
Someone, please help! 🙏
answerCall event is not firing in Android only. When we call displayIncomingCall and the incoming call shows on Android, and when we press the call end button, the endCall ...
2
votes
1
answer
931
views
react-native-webrtc getDisplayMedia don't work
I try to use react-native-webrtc to my project.
When I check media with getUserMedia(), it's working well. But when I try to use getDisplayMedia(), stream view RTCView return a white view has nothing.
...
1
vote
1
answer
2k
views
React-Native - How is it possible that when I close an app like messenger I can still receive incoming call notifications from others
I am building an app like Messenger, everything works normally like sending messages, receiving messages, video calling. the technologies i use are react-native, reactJS, socket.io, nodeJS, react-...