bro I need help. when I followed your video for the first time it worked but when I opened and run the project after 2 weeks. it is giving me this error. ERROR TypeError: null is not an object (evaluating 'snapshot.data') ERROR TypeError: null is not an object (evaluating 'snapshot.docChanges') so I figured that something is wrong with my database. so I went and checked my DB I saw that firebase deleted all my data and DB. So I created a new one with a collection of "meet and document "chatId". but the application is still giving the same error. please HELP I need to submit this project I can not figure out the problem. no help from google too. 😞
Hi, congratulations on your work. Would you help me? When I finish the call it generates an error: Mediastreamtrack has been disposed. Any idea what it is?
Hi, I'm a bit confused. You created the project using a bare workflow with expo (then it's ejected). In order to launch the application, you use expo start too? or you switch to npx react-native run-android ? Thx
@tech savvy , do you think its okay to use webrtc in a production app , specially when a app having 4000 - 5000 users . its for a doctor patient appointment app
In documentation of react-native- webrtc it is written that "if you are using expo you cannot use this plugin unless you eject it" Can you explain please how you eject it
I got an error: "FirebaseError: Function CollectionReference.add() requires its first argument to be of type object, but it was: a custom RTCIceCandidate object" can you help i?
I've faced with issue, that app works only if two devices are connected to same wifi, if not i see just black screen . all configs are corrects with , stun, turn, ice
getting this error when create method is called....firebase is also empty.please help Possible Unhandled Promise Rejection (id: 0): TypeError: undefined is not an object (evaluating 'pc.current.addStream') database rules: rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read, write: if true; } } }
hi.. Check out my old videos for chat ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-tNlqILs5oG0.html. Screen share will be tricky. (github.com/react-native-webrtc/react-native-webrtc/issues/57)
someone ought to make screen recorders but where you as the viewer can click the screen on a previously recorded screen and copy the information of any text field, that was i can copy the long lines without having to type them in manually
Hey!!!!, Great work. It works well for the first call but when I try to call again I get WARN Possible Unhandled Promise Rejection (id: 18): Error: The remote description was null And the app crashes. Please help me.
Thanks great, can you continue a little advance like how can add more people to call. how to detect the calle is in other call already. How to call if the calle is not inside the app.
Sure will try in the future. But this might help you We can add more people to the call with the current configuration. You can add flag in the database when we join or receive a call. Which you can use it for the check. You can use this github.com/react-native-webrtc/react-native-callkeep
Hi, I'm somehow confused, I want to create a video app for react-native-web. So my question is, to run the andriod app on the terminal is yarn run android, so I believe to run the web will be yarn run web, am I right? So if yes, it would work on the web exactly how it's working on the android or iOS, am I right?
Yes while deploying it's not supported as I searched in Google it says that we can run webrtc in debugging as we are setting one option to false in properties.gradle. even I tried multiple still getting crash. But it's working fine in emulator while creation
@@jeffraj9937 The gradle assemble is working fine for me. Check this out if ur facing error screen on opening shreyasnisal.medium.com/solved-packing-error-in-react-native-release-apk-f887687edc4f
Hello, great video, would kindly help me with this error? o function setupWebrtc, when it comes to pc.current = new RTCPeerConnection(configuration); i have a promise rejection with the following message " WARN Possible Unhandled Promise Rejection (id: 30): TypeError: null is not an object (evaluating 'WebRTCModule.peerConnectionInit')" i am always getting this error with new RTCPeerConnection(configuration), wherever i call it
Hi I am still getting this error:- Error : Failed to add ICE candidate could you please guide me on how to resolve this problem? and I can see only the local stream on the screen cant see the remote stream together.
Thx. I catch a problem, on 22:00 you get local stream, but i get this bug ([Unhandled promise rejection: TypeError: null is not an object (evaluating 'WebRTCModule.peerConnectionInit')]). what could have gone wrong?
This is such a great tutorial. However I am encountering some issues in my implementation but I don't know if I am the only one. Turns out on the caller stream viewed from callee app, it only shows a black screen even though video is being sent. Also, when the answer is created, should the offer be deleted? since that's happening. Any help is well received🙏
Hey ... The black screen might be because ur connected to same network. Yes u can delete the offer. But when the call ends we delete the whole document so it will be deleted with it.
@@TechSavvy_ytube Thank you for replying, really appreciate it. I just tested this by switching one phone's network to my mobile hotspot but I keep getting the black screen. Actually , I saw that the callee is only uploading audio sdpMid. Could that be related somehow?
how you overcome with error in util.ts "Type '{ width: number; height: number; frameRate: number; facingMode: "user" | "environment"; deviceId: any; }' is not assignable to type 'boolean | MediaTrackConstraints | undefined'. Object literal may only specify known properties, and 'width' does not exist in type 'MediaTrackConstraints'."
@@TechSavvy_ytube I get warning ([Unhandled promise rejection: TypeError: null is not an object (evaluating 'WebRTCModule.peerConnectionInit')] at node_modules eact-native-webrtc\RTCPeerConnection.js:104:9 in constructor at App.tsx:20:17 in setupWebrtc) before setting up firestore in your video. can you please help
This might happen when setup for webrtc is missed. Try doing it again. github.com/react-native-webrtc/react-native-webrtc/blob/master/Documentation/AndroidInstallation.md
I am getting unexpected error on this line: const offer = await cRef.get().data()?.offer; TypeError: cRef.get().data is not a function. (In 'cRef.get().data()', 'cRef.get().data' is undefined) could you help me please