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

КОМЕНТАРІ • 76

  • @noname0095
    @noname0095 3 роки тому +3

    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.

  • @williaamlarsson
    @williaamlarsson 3 роки тому +1

    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"

  • @samangupta1670
    @samangupta1670 3 роки тому +2

    Bro!! learnt a lot. Pls can you make it in Java also. Btw,, again thanks!!!

  • @rayj88ify
    @rayj88ify 2 роки тому

    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.

  • @calleb1991
    @calleb1991 3 роки тому

    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

  • @xuantoanbkfet
    @xuantoanbkfet 2 роки тому

    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?

  • @afrocamgist6156
    @afrocamgist6156 2 роки тому

    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?

  • @heenanamaji6049
    @heenanamaji6049 3 роки тому +2

    Hey Dude its an amazing tutorial.. it helped me a lot .... Can you tell me how to stop video chat and disconnect the connection.

    • @the_maroon_knight
      @the_maroon_knight 3 роки тому

      I think there's not a way to do that easily

    • @the_maroon_knight
      @the_maroon_knight 3 роки тому

      There's a bug in peerjs library that makes it pretty difficult

  • @abhinavkumar17
    @abhinavkumar17 2 роки тому

    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?

  • @sebastiansantiago6452
    @sebastiansantiago6452 3 роки тому +2

    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?

    • @heyletscode
      @heyletscode  3 роки тому +1

      yes, you can host the peerjs on a webserver and then the server will be accessible to any device with an internet connection

    • @sebastiansantiago6452
      @sebastiansantiago6452 3 роки тому +2

      ​@@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.

    • @AlphaGamingWorld
      @AlphaGamingWorld Рік тому +1

      @@heyletscode please do it bro

  • @benamarcoding1591
    @benamarcoding1591 3 роки тому

    Hi thanks fo r this amazing tutorial
    can you use this for group video call ?

  • @theophilus494
    @theophilus494 2 роки тому

    great work done.. can you help out with audio call?

  • @canerylmaz577
    @canerylmaz577 Рік тому

    hi, can I handle video calling time ?

  • @aryashailesh12
    @aryashailesh12 2 роки тому

    Hey the was great learning, thanks 👍🏻👍🏻

  • @amanaggarwal5884
    @amanaggarwal5884 4 роки тому

    Hey, Can we make a layout like youtube with miniplayer? If yes please upload tutorial for that

  • @danyhubstudio3628
    @danyhubstudio3628 3 роки тому

    Awesome tutorial ...

  • @sujith5441
    @sujith5441 3 роки тому

    Bro, can I permanently disable the video? I want to make an audio call app.

  • @valdemirsimon8825
    @valdemirsimon8825 4 роки тому

    Felicitaciones!!! Genial está...

  • @quannguyen5832
    @quannguyen5832 3 роки тому

    Thanks alot bro, you are amazing

  • @henrik908
    @henrik908 2 роки тому

    Brother can I use my website as a server as you have have created a local server

  • @empiregood9225
    @empiregood9225 28 днів тому

    Alguém tem github completo pra entendimento com Firebase Firestore da api 23 até 34?

  • @sheryali7435
    @sheryali7435 3 роки тому +2

    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?

    • @heyletscode
      @heyletscode  3 роки тому +2

      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

    • @sheryali7435
      @sheryali7435 3 роки тому

      @@heyletscode thanks brother 👍

    • @arjunbhilare4733
      @arjunbhilare4733 3 роки тому +1

      @@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

    • @venkatesh4307
      @venkatesh4307 3 роки тому

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

    • @GoingOno
      @GoingOno 2 роки тому

      @@heyletscode bro how to implement this, i have hostinger hosting,

  • @muhammadumair7182
    @muhammadumair7182 3 роки тому +1

    bro when i enter the caller name i see toast check your internet but my devices is connected with same wifi

  • @funtoosh8836
    @funtoosh8836 2 роки тому

    How to add peer.disconnect function in call.js file pls help

  • @mudasirkhan8058
    @mudasirkhan8058 2 роки тому

    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

  • @deepeshkumar1704
    @deepeshkumar1704 2 роки тому

    Disconnect kaise kare??

  • @thatonefoxxy
    @thatonefoxxy 3 роки тому

    This is so cool!

  • @danyhubstudio3628
    @danyhubstudio3628 3 роки тому +1

    Mine connects but does not exchange the video stream on real device, finely works on browser

    • @rajatgoyal8155
      @rajatgoyal8155 3 роки тому

      I am also facing this same problem...
      Did you find any solution for that??

    • @danyhubstudio3628
      @danyhubstudio3628 3 роки тому

      Finely it worked.

    • @danyhubstudio3628
      @danyhubstudio3628 3 роки тому

      Make sure you the ipaddress are connected to the same ipaddress (router)

  • @stanleysamatanga
    @stanleysamatanga 4 роки тому

    man you are the best

  • @brucebane7401
    @brucebane7401 3 роки тому

    amazing bro !!!!!

  • @davidb9205
    @davidb9205 3 роки тому +1

    how to open first the back camera istead of front camera?

    • @heyletscode
      @heyletscode  3 роки тому

      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” }
      }

    • @estoquedomomento1554
      @estoquedomomento1554 3 роки тому +2

      @@heyletscode Hi, i did that exactly as you say, in file call.js, but didn't work at all

  • @emmanuelorel76
    @emmanuelorel76 3 роки тому

    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 !

  • @AnirudhSahu
    @AnirudhSahu 4 роки тому +1

    Make video on unity 3D

  • @sukidhardarisi4992
    @sukidhardarisi4992 3 роки тому

    Saved my life

  • @leolima8585
    @leolima8585 3 роки тому

    Como posso falar com você por mídia? Um assunto importante

  • @harrywilson7982
    @harrywilson7982 3 роки тому

    @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?

    • @emmanuelorel76
      @emmanuelorel76 3 роки тому

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

  • @AsianTrackGamerYT
    @AsianTrackGamerYT 2 роки тому

    Make same as java instead of kotlin please

  • @shardadubey8742
    @shardadubey8742 3 роки тому

    How many participants can join this meeting

    • @williaamlarsson
      @williaamlarsson 3 роки тому

      Two, unless you edit the code yourself to scale with more users.

  • @rodrigoadauto3331
    @rodrigoadauto3331 3 роки тому

    @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

  • @dhruvgupta7290
    @dhruvgupta7290 2 роки тому

    SIR JI ERROR KOI NHI HAI BUT VIDEO CALLING NHI HO RHI HAI WHITE SCREEN AA RHI HAI PLEASE SOLVE IT

  • @yashthakur8058
    @yashthakur8058 3 роки тому

    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?

    • @heyletscode
      @heyletscode  3 роки тому +2

      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

    • @yashthakur8058
      @yashthakur8058 3 роки тому

      @@heyletscode ok thanks for the response

    • @rodrigoadauto3331
      @rodrigoadauto3331 3 роки тому +1

      ​@@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

    • @Dev_Musicals
      @Dev_Musicals 3 роки тому

      @@rodrigoadauto3331 which server do you upload

  • @danyhubstudio3628
    @danyhubstudio3628 3 роки тому

    anybody who has tried on real devices and worked??

  • @marwilliams34
    @marwilliams34 3 роки тому +1

    Hey! Can anyone help write this JavascriptInterface in java? My code doesn't work (

    • @varytv5259
      @varytv5259 3 роки тому +1

      public class JavascriptInterface {
      public JavascriptInterface(VideoCallingScreen videoCallingScreen) {
      videoCallingScreen.onPeerConnected();
      }
      }

    • @marwilliams34
      @marwilliams34 3 роки тому +1

      @@varytv5259 thanks!

    • @marwilliams34
      @marwilliams34 3 роки тому +1

      @@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?

    • @varytv5259
      @varytv5259 3 роки тому +1

      @@marwilliams34 you should first setup node.js on your computer then install it from command prompt

    • @marwilliams34
      @marwilliams34 3 роки тому +1

      @@varytv5259 I have done this step. Do I need to do anything else?