jesus dude i spent forever watching all these different videos about how to run your own shaders in the browser, literal hours wasted, then i find an 18 minute video that blows everything else out of the water
Good afternoon. I understand that it has been a long time, but I will still try to ask for help. I tried to use your lesson, but after the key is generated on the server side, I enter it into the client field and click connect, nothing happens next. Everything just stops. I'm trying to connect computers that are located in different countries. My nginx server has ssl, but it still doesn't work...
"if( [ "Montreal", "Toronto" ].includes(city) )" is a very useful reason for creating arrays on the fly, but having it inside an IF statement has never been a source of issues. And while I could store this list in a constant, with this array, I already know the content without having to go look what was assigned to the variable. If the list is too big, then externalizing it to a constant makes sense. But in cases where you would have "if (city === "Montreal || city == "Toronto" )", the [],includes() is a more readable format
Dear Kyle, I've been teaching and doing graphic art since 1968 and you are one of the best. I salute you and thank you for sharing your extraordinary talent.
Not good, why? Because u console.log somewhere which we dont know, if its in index.html or where ? Sorry bro man u are not teacher :/ YOu are maybe amazing programer, but I can not hold it and dont told you, I fallow and it didnt work.
oh nice... should show how to do this in ubuntu like in nothing but terminal such as a digital ocean droplet.. or whatever other services call servers .. im sure its most the same.. but still
Great resource. I did this setup on a dedicated server. My setup includes SSL over all required ports and URLs (i.e. Signal, TURN/STUN and WebRTC servers). Everything is going well, but I can only see myself! I can make more than two connections with different computers or phones, no problem. It works very fast and accurately. But the problem is that in all added video tiles, each user can only see himself, i.e. you see yourself 4 times. Or you see yourself 5 times when a new user connects, and so on. I've read similar issues in the comments but unfortunately no answer yet since 4 years.. Or is there?
Hi Kyle, I believe the problem comes from the webrtc-swarm library used in the package.json file. It hasn't been maintained for 5 years and seems to be outdated and relies on deprecated features of the old simple-peer and old webrtc library versions. I modified it with one of the MAINTAINED forks of webrtc-swarm, which is 21 commits ahead of the original library. However, I am still a long way from a truly successful result. Now I don't see myself multiple times, but the other user's stream still doesn't arrive on my screen.
Hello again, I see you are too busy to respond to my comments or you may not have seen them. Anyway, after checking my TURN (coTURN) server configuration, I can now see the incoming and outgoing data bytes (by typing "about:webrtc" in the Firefox URL bar). Everything seems fine with these logs. If I use Chrome I see the stream as a black video (In Firefox, it is white!?). When I try to pause it it crashes and plays again. So I believe the other stream, at least the data bytes of the other stream, is coming through. I've searched and found that the video codecs might be wrong but when I checked (from SPD in the P2P logs on webrtc), it's also correct. Unfortunately, when I don't see any error logs anywhere (including the TURNserver, signalhub, and webrtc logs), I feel like I'm somewhere in the middle of an ocean with no signs. If you can help me it would be greatly appreciated.
is there any way to get Outside result of the Function xmlhttp.onreadystatechange=function(){ if(this.readyState==4 && this.status==200){ var Xs=this.responseText; }} i want OutPut Result here, Out Side of the Function. trying to solve from two month, Please Help
Thank you and greetings from Bulgaria. Please, one off topics question. Regarding the nowadays' fashion for architectural patterns, unit testing and breaking functions to small testable chunks, will it be possible to test compareBears() and next() inside their enclosing function ?? And so in all regards what would be their best place ??
A good alternative to this would be the pm2 module, I've used it a lot for running my Node JS programs 24/7 (not just web servers) for over a year now. It works pretty similarly, but I've had an easier time navigating its menu than with forever. Like forever, it runs everything even with the console closed, as well as restarting the application if an error occurs. If it's forced to shut down about 100 times in quick succession, it marks it as "errored" and stops running it until it's restarted. You can also start, restart, stop, and remove multiple processes at once. I don't use any, but there are more advanced options for the module. I personally just use these commands: $ pm2 list - Lists processes $ pm2 start - Starts process or processes (allows optional tags to determine things like if the application restarts whenever the index is updated) $ pm2 stop - Stops process or processes by ID or name $ pm2 restart - Restarts process or processes by ID or name $ pm2 save - Saves processes to a dump file where it can be later accessed. This is useful for if your machine shuts down and you have to restart it $ pm2 resurrect - Revives all processes from the dump file, if one of the processes is already running, it ignores that one
On one hand, cool, thanks for explaining, great video to show the first steps. On the other hand: dude, what a complexity! Do I really want to get into this? 🤪
Wow, this was one of the deepest dive yet not long videos that actually thoroughly unpacked a challenging concept. Well done! Got a subscribe from me 👌🏻
I got lost at the 30 second mark, you say "just go into here" and create a folder. Can you talk more about "here" as in what buttons do I click to create a folder. What program is that Powershell?