Make Video Call App in Android with Firebase and WebRTC | #3/3
Вставка
- Опубліковано 19 вер 2024
- In this course, we will create a video call app for android with Firebase and PeerJS
Github Repo Link:
github.com/hey...
Follow me on social media:
/ heyletscode
www.github.com...
/ _heyletscode
/ heyletscode
Does this also work with a connection to a remote Firebase server?
To have an On-The-Move video call by changing network access points at real-time.
Icouldn't connect the two peers because my Firebase URL was null.
I solved that issue by simply running: "Build -> Clean project" and then "Build -> Rebuild project"
Bro!! learnt a lot. Pls can you make it in Java also. Btw,, again thanks!!!
This is a great tutorial. It works when both parties open the app. It looks that the call will not go through if receiver's app is stopped or minimized. How can receiver's phone relaunch or wake up app and answer the phone in Android background or foreground service or using whatever method ? Is there a way to solve this problem ? I would love to see a tutorial to discuss this matter.
hello thank you very much, great what you did, I have a question because calls are not made when trying to make using mobile data and not with wifi
Hello!
Thank you so much for well explained tutorial. I have a question, could you let me know how can get audio voice pcm data from your VoIP call application?
Hi, thanks for this great tutorial. My team have implement this on Java and swift and it's working perfectly. However, it's asking user to turn off their notification on android device. And when app notification is turned off when app is close on device then users will not see calls and will be missing calls too.
Pls do you know how we can achieve something like WhatsApp and Skype that doesn't require app to alway be running on device background for calls to come through or a library to handle the notification part?
Hey Dude its an amazing tutorial.. it helped me a lot .... Can you tell me how to stop video chat and disconnect the connection.
I think there's not a way to do that easily
There's a bug in peerjs library that makes it pretty difficult
Android client is not added when using ip address. It works in emulator(no video support) but android device never connects. Any idea of the issue?
Hi thank you so much for well explained tutorial. I bookmarked this tutorial around six months ago to come back when my project requires video calling feature..
I got along with your code and got my app working as expected. But @16:00 you mentioned that peer js server machine and mobile needs to be on same network. My question is, how to achieve the same functionality if mobile is in other part of world? would that need a web server?
yes, you can host the peerjs on a webserver and then the server will be accessible to any device with an internet connection
@@heyletscode thanks, can you please post a video about online web server only, with LetsEncrypt. Its been a week that I trying to set up a webserver with LetsEncrypt but always fails.
@@heyletscode please do it bro
Hi thanks fo r this amazing tutorial
can you use this for group video call ?
great work done.. can you help out with audio call?
hi, can I handle video calling time ?
Hey the was great learning, thanks 👍🏻👍🏻
Hey, Can we make a layout like youtube with miniplayer? If yes please upload tutorial for that
Awesome tutorial ...
Bro, can I permanently disable the video? I want to make an audio call app.
Felicitaciones!!! Genial está...
Thanks alot bro, you are amazing
Brother can I use my website as a server as you have have created a local server
Alguém tem github completo pra entendimento com Firebase Firestore da api 23 até 34?
Awesome videos! BRO in the end of this course you told that you need to connect your mobile,other person mobile and the server to be connected to the same wifi.Is it possible to go beyond this condition?
You will require to run the peerjs server on a live server. You can buy a server from many hosting services available online after which you can use the server’s IP address in your code
@@heyletscode thanks brother 👍
@@heyletscode Really great course. But in my app, the users will not be on the same internet connection. Like you mentioned running the peerjs server on the live server will help resolve. Could you please help me with how this can be done, like how to get started, I've not done any server setup before, so have no idea. I would really appreciate your help. Thank You
@@heyletscode Could please help on running peerjs server on live server. I haven't any idea on this. But I should do this. Please help me.
@@heyletscode bro how to implement this, i have hostinger hosting,
bro when i enter the caller name i see toast check your internet but my devices is connected with same wifi
Bro same issue
How to add peer.disconnect function in call.js file pls help
Hi I Install the App Successfully. But Its Not Working I am to another person The App Show a Toast Message You have a no Internet Connection. but I have
Same issue
Disconnect kaise kare??
This is so cool!
Mine connects but does not exchange the video stream on real device, finely works on browser
I am also facing this same problem...
Did you find any solution for that??
Finely it worked.
Make sure you the ipaddress are connected to the same ipaddress (router)
man you are the best
amazing bro !!!!!
how to open first the back camera istead of front camera?
in the media constraints, there is a property named “facingMode” set that to “environment” for back and “user” for front camera.
The constraint object would look something like this after that.
{
audio: true,
video: true,
facingMode: { exact: “environment” }
}
@@heyletscode Hi, i did that exactly as you say, in file call.js, but didn't work at all
Hi ! This is a great tutorial, concise, very well explained thanks !
Looks like I have some permissions troubles though. Once each of my users get connected, only own video is shown in PIP, the other user's video is not shown. I noticed the following logcat errors :
chromium: [ERROR:filesystem_posix.cc(62)] mkdir /data/user/0/com.example.videocallapp/cache/WebView/Crashpad: No such file or directory (2)
chromium: [ERROR:gl_surface_egl.cc(549)] eglChooseConfig failed with error EGL_SUCCESS
chromium: [ERROR:gl_surface_egl.cc(549)] eglChooseConfig failed with error EGL_SUCCESS
chromium: [ERROR:address_tracker_linux.cc(245)] Could not send NETLINK request: Permission denied (13)
cr_VideoCapture: CameraDevice.StateCallback onOpened
chromium: [ERROR:web_contents_delegate.cc(218)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
chromium: [ERROR:web_contents_delegate.cc(218)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
Hope you can help on this !
Make video on unity 3D
Saved my life
Como posso falar com você por mídia? Um assunto importante
@Hey! Let's Code I am getting a white blank screen when call gets connected in app and this doesn't happen when I open in browser. Can you or anyone help me?
Seems like I get the same issue as you do, except that I have my own video (as secondary video, in PIP) on each device, it is not fully blank...
Make same as java instead of kotlin please
How many participants can join this meeting
Two, unless you edit the code yourself to scale with more users.
@Hey! Let's Code Hi, the changes I made were: upload my app to the server and then execute the command "peerjs --port 9000 --key peerjs --path / Project".
Then change the path and public ip of my server in call.js.
In the server I see that both connect but the connection is never achieved, could you give me any recommendations please
SIR JI ERROR KOI NHI HAI BUT VIDEO CALLING NHI HO RHI HAI WHITE SCREEN AA RHI HAI PLEASE SOLVE IT
Same issue
This is useless when we need to create a public app
How can we get the host and port addresses when we need to publish app on playstore?
you will have to buy a server and run the node app on it and then you can use the path on which your node app is running in the app
@@heyletscode ok thanks for the response
@@heyletscode Hi, the changes I made were: upload my app to the server and then execute the command "peerjs --port 9000 --key peerjs --path / Project".
Then change the path and public ip of my server in call.js.
In the server I see that both connect but the connection is never achieved, could you give me any recommendations please
@@rodrigoadauto3331 which server do you upload
anybody who has tried on real devices and worked??
Hey! Can anyone help write this JavascriptInterface in java? My code doesn't work (
public class JavascriptInterface {
public JavascriptInterface(VideoCallingScreen videoCallingScreen) {
videoCallingScreen.onPeerConnected();
}
}
@@varytv5259 thanks!
@@varytv5259 But the program still doesn't work for me ((
When I execute Started PeerServer on ::, port: 9000, path: /myapp in the command line, the anroid devices do not connect to the server on my computer.
what do I need to do to make this work?
@@marwilliams34 you should first setup node.js on your computer then install it from command prompt
@@varytv5259 I have done this step. Do I need to do anything else?