Real Time Video Chat Tutorial Using Django and WebRTC

Поділитися
Вставка
  • Опубліковано 24 січ 2025

КОМЕНТАРІ • 255

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

    you are the best, you saved my life, I had a thesis and I could not solve these problems in any way,but your video saved me!!!

  • @tanmoysarkarpias5986
    @tanmoysarkarpias5986 3 роки тому +4

    Great tutorial! Keep up the good work. Hoping to see more like this. All the best

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

      Thank you, Sir. It is an honour. By the mercy of the Creator, I learned from the best. Wish you all the best, Sir.

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

    At min 48:20 when I write new webSocket it shows an error that webSocket is not a constructor. Can someone tell me how to get rid of that problem?

  • @sayali7367
    @sayali7367 3 роки тому +6

    Thankuuuu soooo much for this video really helpful for this my internship project

  • @marsitschool9495
    @marsitschool9495 3 місяці тому

    this is the thing that I needed so much

  • @umairramay8041
    @umairramay8041 2 роки тому +7

    Hi Great Content. Can you please share the github repo or the source code also because that will be very helpful especially in the html,js and css context. Thanks

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

    Awesome vid, keep going brother!!

  • @saitejavignesh4799
    @saitejavignesh4799 3 місяці тому

    bro at 53:50 for you getting Connection Opened! but for it's getting Connection Closed! i tried to it coudn't wt is solution for that?????

    • @ObanijessuAjayi-tu5rz
      @ObanijessuAjayi-tu5rz 29 днів тому

      Hi, does it still work till now??. I mean is there no changes after 3 years?

  • @ilkay3359
    @ilkay3359 2 роки тому +2

    I wish you shared a github repo.

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

    Thank You so much brother, you are just spectacular.

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

    This helped me, thanks a lot!

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

    Great Job...are you planning for new video on share screen functionality.

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

    Great work sir, how can I get the source code

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

    Thanks A Lot for the video sir.. It's very helpful....

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

    love from bhopal brother

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

    I learned a lot from you. Where can I get the full code? thank U 🥰

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

    Can we use this approach for get the frames from client then process some ML model at server side and revert back the frames to the client?

    • @tulsiroy8631
      @tulsiroy8631 10 місяців тому

      I dont think webRTC allows the server to interfere between the connection, i am not completely sure, but i dont think if its going to be possible to run the ML in the server-side.
      For example, As much as i know, Google meet also uses WebRTC and for ML, it runs those on cloud , not exactly on the server-side... And for many other applications like Discord, they run it in the client-side.
      So i think the best idea would be to keep a light-weight ML model and make it run in the client-side, ofcourse you would have much more limited resources... But probably that's the best thing if you're working on a personal project....or dont want to invest much.
      I also thought of the same thing, did some research and learned a lot of new stuff... I hope i was helpful:)

    • @tulsiroy8631
      @tulsiroy8631 10 місяців тому

      Moreover, i think running it in the client side would have very less latency...

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

    I Loved This Video, It Helped Me A Lot

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

    Woow really good job 🙂 Thank you so much
    Do you already have the second part of this video chat? to share screen or other stuff? thank you so much again

  • @신윤철-i3d
    @신윤철-i3d 3 роки тому

    Thank You so much.. It really helped me a lot!!

  • @BakiHanma-xx6ok
    @BakiHanma-xx6ok 3 роки тому

    Thank you, this tutorial is very helpful.

  • @srimahalakshmiadivishnu6415
    @srimahalakshmiadivishnu6415 3 роки тому +4

    I hv'e done everything perfect and no errors..but i couldn't open the localhost as two peers in chrome..i duplicated the tab and opened it ..but it was not working☹️..can someone help me out..!🙃

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

      Same here!!!!

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

      What do your browser console and your terminal show?

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

      @@TauhidCodes asusally,it was just showing connection opened when i console and in terminal also there is no error found.the problem is it was opening as individual peer..two persons were unalbe to connect even after clicking join room.

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

      @@TauhidCodes [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted.

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

      @@srimahalakshmiadivishnu6415 Could you share your code in a code sharing platform so I may have a better look?

  • @guneetsingh1416
    @guneetsingh1416 10 місяців тому

    how u are accessing the camera, what's the source? is the rtsp can be access.

  • @shinydevil9294
    @shinydevil9294 9 місяців тому

    Hi , i modified your code to make more rooms . It works locally well but after deployment devices only connect if they are on same wifi network.

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

    Hello, that was a nice project of yours, works good, but I have a question. How do I adapt this code to MCU approach ?

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

    Great! Thank you for your sharing...

  • @ucduyvo4552
    @ucduyvo4552 10 місяців тому

    This code support for webcam, how about video from camera IP support rtsp method

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

    Thanks a lot for this nice tuto.
    Is it possible to make a recording of the video chats on the server ?
    Is it possible to force the communications to keep going through the server and not to connect directly P2P browser to browser ?
    Best regards

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

      I believe WebSocket can stream audio/video itself but it is probably a little more complicated to implement (haven't tried it).
      If you implement another architecture like SFU or MCU by using WebRTC on the server then you can stream audio/video through the server as well.

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

    you are a good person. I like you

  • @hoomanjafari9477
    @hoomanjafari9477 15 днів тому

    please share a github repository that has source code of this project, thank u alot

  • @전다운-f4w
    @전다운-f4w 3 роки тому

    Thank you for your sharing.
    and I want to learn making multiple rooms and screen sharing!
    please make video Thank you!!

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

    Hey, thanks for the tutorial. I'm having an error that says KeyError: 'receiver_channel_name'. I have tried to debug on my own but I cannot seem to find the root of the problem. Please would you happen to have an idea on what might be causing this error. The console says Connection Opened and then Connection Closed as soon as I put in a username. Thank you.

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

    please make video on one to one video calling and voice calling using django channels

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

      Sure. I'll looking into that. But it cannot be built using only django-channels. The video/voice calling part needs some other technology like WebRTC.

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

      @@TauhidCodes bro making full project on that

  • @JuanMorales-tm3dj
    @JuanMorales-tm3dj 3 роки тому +1

    Hi, this video was awesome. Is there a way where I can make this to connect to people on another network or can make a video about it?

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

      Thanks for watching.
      As mentioned in the video, it will only work when the devices are in the same network. Otherwise, you will need STUN/TURN servers which you can either pay for or configure your own. Once you have access to STUN/TURN servers, you can put their credentials in a Javascript object and pass it as the argument to the RTCPeerConnection constructor. No other changes are likely to be required in the code.
      If I can find a way to configure my own STUN/TURN server, then I will try to make a video on it. But I hope that somebody does that before I do.

    • @JuanMorales-tm3dj
      @JuanMorales-tm3dj 3 роки тому

      @@TauhidCodes thanks

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

    Its helped me very much
    Thanks to you
    but I am getting a problem
    the track of newly joined client is not being received by the user joined before that user
    Can you help me in that

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

      There might be some mistakes in adding tracks of the answerer or setting remote tracks in the offerer.
      Could you share your code in a code sharing platform so that I can take a closer look?

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

      @@TauhidCodes it seems the function to get the media from user is running after the whole code such that the connection is established first and empty media stream is being sent
      Can you tell me the solution from here
      if not where should I share the code with you

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

      @@TauhidCodes I just found the solution
      anyway thanks for the reply I just subscribed and keep uploading such amazing videos
      Best wishes for you bro

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

      @@kshitizbhurtel9137 Glad that you found it helpful. Thanks a lot, brother.

    • @Sahil-do4pr
      @Sahil-do4pr 3 роки тому

      hii bro,i am also facing same problem ,can you please tell me how you solved it??

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

    Thanks for making this video.

  • @marsitschool9495
    @marsitschool9495 3 місяці тому

    thanks my bro

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

    it works at localhost, but when it been deployed as it is on a real public server, users can't see nor chat each others

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

    How to make video conferencing which allows to join more than 2 people??

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

    Thanks for making this
    I'll try to adapt this in flask

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

      Awesome. That would be a new kind of implementation which could benefit somebody who's searching for something similar.

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

      Hi
      Could you talk more about django channel
      Like what it is
      And what does it do

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

      It seems that django channel is a websocket library for django
      So i guess flask-websocket is similar to django-channels (removing the async part)

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

      @@drac8854 django-channels supports protocols such as WebSocket, MQTT, etc.
      I don't know about flask-websocket but if you're trying to adapt it in flask then you need to write code that accepts WebSocket connections in your Flask server just as django-channels was used in the video.

  • @m.shahrulnizam4655
    @m.shahrulnizam4655 9 місяців тому

    Hi, did you use react here?

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

    Thank you very much. I'm making file streams for images, videos, and audio.

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

    very good!
    production level code will need what else?
    got a few other questions.

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

      Daphne as ASGI server, ssl certification, Redis for Channel Layer and STUN/TURN servers for p2p connections.

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

      @@TauhidCodes Thanks .. found your github repo. would be good to connect

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

      @@rameshrao3792 sure. That would be great.

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

      ​​@@rameshrao3792 Hi.. Can you share the git repo plz

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

    I am getting an error of this: Failed to load resource: the server responded with a status of 404 (Not Found) any 1 CAN HELPPP!!!

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

    Helpful !! Thank you !

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

      Thanks for the support, Sandhi.

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

    Please post screen sharing tutorial... I am waiting for learn...

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

    Great work 👍

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

    thanks soo much for this

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

    Where is the final full source code !

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

    Great tutorial

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

      Glad that it was helpful. Thank you for watching.

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

    Bro ,it's showing
    Uncaught TypeError : btnjoin is null
    What to do

  • @Sandeep-nr3mj
    @Sandeep-nr3mj 3 роки тому

    Hii bro actually in my code auto play is not working I mean video tab is not showing and i have followed your code only can you tell me please 🙏🙏

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

    Hey is it possible to create a chat room where one's streams get shared only after starting a call and not right away?

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

      Start with a page with an input field for room name and one for username. Whenever somebody enters with a username and room name, go to the chat page where the room name is appended as a keyword argument to your url route. Asign the room name to room_group_name in your AsyncWebsocketConsumer connect function using self.scope['url_route']['kwargs']['room_name'] if room_name is the keyword that you specified in your routing.py.
      Now, anybody who joins with the same room name will be in the same room and isolated from all other rooms.

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

    Good work but it shows an error that "Cannot import ASGI_APPLICATION module %r" % path", i dont know how to deal with it because i tried so many times by following the documentation and it failed, any help?

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

    i am waiting for second tutorial screen sharing

  • @NGUYỄNHOÀNGLINH-w4u
    @NGUYỄNHOÀNGLINH-w4u 4 місяці тому

    i have an error : receiver_channel_name not found

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

    how are you acessing webcam on http? mediaDevices.getUserMedia is supposed to work at https right?

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

      It only works when you're on localhost. If you try to access it from another device, you'll get an error. So you'll have to use https:

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

    Is it possible sfu architecture in Django

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

    Thank you bro.
    Can you please share the code, there are some errors coming.
    eg: sendSignal is not defined at WebSocket , sendSignal('new-peer',{});

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

      You should probably define the sendSignal function first as shown in the video.
      If you have already done so before experiencing this error, clear your cache and cookies and test it again. Your browser may store the main.js file as cache and may not reflect the changes that you make later.
      I will put the repository link in the description once it is pushed.

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

      @@TauhidCodes In case you have repo link, please paste it. It would be really helpful.

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

    I am getting the error cannot read property send of undefined websocket

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

      Could you share your code from a code sharing platform? It is possible that your websocket variable is null.

  • @CEISG-ACDelaCruz
    @CEISG-ACDelaCruz 3 роки тому

    Hi sir, can you help me, i have an error; when answering
    Uncaught (in promise) DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Called in wrong state: stable

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

      The issue might be in the answerer logic. Could you share your code in a code sharing platform and post the link?

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

    how to solve the error
    raise ImproperlyConfigured("Cannot import ASGI_APPLICATION module %r" % path)
    django.core.exceptions.ImproperlyConfigured: Cannot import ASGI_APPLICATION module 'video.asgi'

  • @VivekSingh-nt1vg
    @VivekSingh-nt1vg 3 роки тому

    can I host this project on herouko or pythonanywhere? will I be able to do it?

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

      You can deploy it on Heroku but you need to know how to deploy projects that use ASGI. PythonAnywhere does not support ASGI yet so you cannot deploy it there.

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

    I m getting error while writing chat.routing as no module name found?

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

      Help me with this?

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

      ​@@gopilayarao6701 Do you have a routing.py module under the chat app? Have you included the chat app in your installed apps?

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

      @@TauhidCodes got it

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

      @@TauhidCodes yes, I have routing.py under chat app and i've included chat app in installed app still getting the same erroe would you please me with this?

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

    Sir, how to find our http link in this program...

  • @BahadırArslan-b5s
    @BahadırArslan-b5s Рік тому

    how can I add sounds as subtitles, please can you help

    • @tulsiroy8631
      @tulsiroy8631 10 місяців тому

      You need to apply some ML, either in the cloud or in the client-side, not sure if its gonna run in the server-side.

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

    the console doesnt show "connection opened" but shows error occurred if any.

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

      CHANNEL_LAYERS = {
      "default": {
      "BACKEND": "channels.layers.InMemoryChannelLayer"
      }
      }
      use this in settings.py and if error is still there then try pasting this
      CHANNEL_LAYERS = {
      "default": {
      "BACKEND": "channels_redis.core.RedisChannelLayer",
      "CONFIG": {
      "hosts": [("127.0.0.1", 6379)],
      },
      },
      }

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

      @@tanmaysurendra5379 Thank you for cooperating. Redis channel layer will only work if Redis is configured.

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

      Does it show anything in your browser console and terminal?

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

    why showing this error "Uncaught (in promise) DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Called in wrong state: stable" can you help me?

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

    Very good

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

    Great Job! This is WHAT I searching for! And can you share the code ? Thanks.

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

      Glad to know that it helped. I will put the Github link in the description after I push it. But I can't find the time to do it.

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

      @@TauhidCodes Looking forwrad to your code! Hope that you can find some time to put your code hh.

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

      And by the way ,I would like to know can your code run directly on a linux cloud server? But not localhost? Thanks

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

      @@andrewlau9691 if you want to deploy then the first thing you need to do is change your channel layer to redis instead of the in-memory channel layer that we used in the tutorial. You can configure redis in your Linux server and then specify the host name and port in your channel layer in settings.py. There probably won't be any more changes in the code.
      You can search how to deploy a django channels app. There are some good tutorials on that.

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

      @@TauhidCodes Thanks for your help. I have already try the official channels demo in server . However, I can only do text chat on localhost. Once I deploy it in server, it doesn't work still. So could you show your settings.py to me? Or you would like other way to chat privately but not in utube? Thanks

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

    Good Job.

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

      Thanks for the support, Shatabdy.

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

    pls can you share the repo link of this code?

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

      I haven't pushed the code yet. I will put it in the description when I do.

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

    Code plz

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

    How can I arrange different room for different conference?

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

      You can have another text input besides the one for username so that users can enter the room name that they want to join. Then send that to your consumer so that the room name is assigned to self.room_group_name in the connect method. All users who connect to the consumer with the same room name will then be connected together.

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

    is there any way to create multiple room and join multiple people?

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

      Yes, brother. You can generate and store the room name, using the room name as the self.room_group_name attribute in your consumer connect method. Whenever somebody tries to join the room, you can check if they are authorized and allow them by adding their channel name to the group.

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

      @@TauhidCodes unable to configure the stun server..can u help me .

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

      @@Manassahoolipu I have not yet configured a STUN/TURN server. I believe that there are numerous guides that you can find. Best wishes.

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

      @@TauhidCodes thanks for ur support

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

    Can you share the js code for this please...

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

    Sir muje e project set-up kariye na..iska me charges jo hai vo dunga please reply me

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

    i have a doubt. how do i reach u? contact?

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

    Thanks a lot for this tutorial!
    But I am facing few errors while implementing this..
    Ex. DOMException: Failed to set remote answer sdp. Called in wrong state.
    And..I have infinite childnodes(video elements) getting appended during the video call..but I am not able to resolve it.Need help in resolving this issue :(

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

      Perhaps it is continuously creating (hence, infinite videos) and sending an answer due to an error in handling the answerer logic.
      Could you share the link to your code from a repository sharing website? It is very difficult to understand code in the comments.

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

      @@satvikakoti1065 Do you mean Google colab? I haven't used it that much. Github: Tauhid-UAP

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

      @@TauhidCodes No No...I meant to add you as a collaborator on GitHub instead of viewing so that changes can be made regarding the areas of error in my codes. Added you as collaborator.

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

      I got the same issue broo

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

      @@satvikakoti1065 alright. I'll do what I can. I checked your code and couldn't find any errors. You can try clearing your history and cache of the past 7 days and then test it again. Sometimes your browser stores the main.js file in the cache so your changes aren't reflected.

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

    Sir, Is the program code is available?

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

    Love it!

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

    Can you show us how to deploy it?

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

    Sir, My connection gets closed as soon as its opened, What may be the issue?

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

      same with me , how to fix it?

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

      @@yashodanaik3920 I later downloaded his github repo to understand the error, I just replaced few lines of code, Don't know where exactly the error persisted.

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

      @@sanjayrao2147 is it solved now?

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

      @@yashodanaik3920 Yes, The project works well without error

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

    hey can you share the code please? something is not working, I don't have any errors but..

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

      I haven't pushed the code yet. I will share it when I do. Thank you for watching.

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

    Awesome, Can I have the source code?

  • @visheshpanchal306
    @visheshpanchal306 2 роки тому +1

    code ...

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

    Can you please give me the source code? I tried to follow you but maybe somewhere I did a mistake.

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

      I will put it in the description after I push it.

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

    I tried..Some error occured...not able to see vedeos and messages in one tab...Please can you share the code

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

      What error does it show in your javascript and your console? I haven't been able to push the code yet.

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

      @TauhidCodes user B tab vedeo is not showing on user A tab... and A is not in B

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

      @@abnaparveen8556 Maybe the connections are not being established properly. Can you put the code in a code sharing platform and share the link so that I can have a look?

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

      @@TauhidCodes github.com/abnaparveen/vedeo.git

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

      @@hafiznihal8277 I cannot understand the folder structure in the repository. Are you sure that it is correct? If you are trying to use Django channels like in this tutorial then many essential files are missing (asgi.py, settings.py). In that case, I would suggest that you redo the project from the beginning and do not skip any step.
      Also, I see that the template is still referred to as 'chat/main.html' in main_view in views.py even though there is no chat app/directory in your repository.

  • @flowwithr_r_s1540
    @flowwithr_r_s1540 4 місяці тому

    bro please share the code

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

    can i get code

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

    sir, could you please provide source code..

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

    help ful

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

    Thanks for the Tutorial!!
    TypeError: Group name must be a valid unicode string containing only ASCII alphanumerics, hyphens, or periods.
    WebSocket DISCONNECT / [127.0.0.1:58783]
    getting error for this line "webSocket = new WebSocket(endPoint);"
    can you help me out with this error

    • @117tarun2
      @117tarun2 3 роки тому

      @TauhidCodes can you help me out with this error

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

      Add encoding at the head of the code files

    • @117tarun2
      @117tarun2 3 роки тому

      @@Genialbonehead you mean in the main.js file??

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

      @@117tarun2 use explicit encoding ewerywhere. I mean in .py files and .html, but you can add in main.js too. Add explicit and save as desired encoding

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

    hay bro please give us github ripo link . thanks in advance

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

      I haven't pushed the code yet. I will share it when I do. Thank you for watching.

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

    Please make video on screen share.

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

      I plan on doing it but it might take a while. Thank you for watching.

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

    Dada, Can you pleeeeeease provide the source code or GitHub repo. Khub upokar hoi :(

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

      Dada, akhono code ta push korar shomoy pai ni. Korle description a diye dibo.

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

    Can you share the source code.

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

      I cannot find the time to push it. I will put it in the description when I do.

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

    Is the source code available?

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

      I will put it in the description after I push it.

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

    Asslamu Alikom Akhi), Hope that you are dong well, firstly let me please thank for you effort), after i hope that you may accept my request in the future videos make it small and partitioned as possible it will be easier to understand and to produce as well
    and please please please my dear brother in islam don't copy and past the code it is not good pattern in coding instead use function and call it as much as you want

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

    hi bro, i have some problem,
    what is written in this place
    NUMB_TURN_CREDENTIAL = config('NUMB_TURN_CREDENTIAL', default=None)
    NUMB_TURN_USERNAME = config('NUMB_TURN_USERNAME', default=None)