For a technology that is peer to peer. and not peer to itself, it is very odd that every example youre going to find showing peer to peer WebRTC has it all taking place within a single web page. Im watching this video about peer to server because I want to know that too. but come on Google, Microsoft or Mozilla. Give us a straightforward and simple example of peer to peer. Its going to take 2 different URLs, but that shouldnt be too tough.
How is TURN used 24% of the time when every home user is behind a NAT as in their ISP's modem/router. Maybe 24% in a corporate environment but not in residential home users. Very misleading.
SQL can create the initial answer that the creator needs to respond to, or create the answer that creators respond to, regardless signaling servers can be built in MySQL alongside Server Sent Events, which is incompatible with Edge, as of this post, but may change because Edge is changing to Chromium.
one very confusing part about signaling vs NAT traversal (STUN TURN) is that does NAT traversal happens after or during SDP signaling. Because if you look at SDP data it includes ICE servers. Meaning client must have already contacted the STUN or TURN server and then included the results in STUN server. Please someone correct me if im wrong? If Browsers connect to STUN server afterwards then what is point of ICE candidates in SDP as seen at 2:52
Ice candidate are for route the remote peer wants to use. Ice candidate contains both local IP/port and public internet IP/port. If two peers or web browser s are on same network. They will use the closest route for media exchange. If they are on different networks they use public or internet ip/ port for media exchange. The other peer that sent it's sdp, negotiated those public IP / ports With a stun servers before sending them over signalling medium.
Hi, Thank you very much for this type videos. It is really helpful. One problem that I have faced, want to share with you. Cordova App is fully HTML, CSS and JS based. But when I want to run WebRTC application in cordova then it is not running. Have you any suggestion on it? If you have any type tutorial on it then please share it to me. It will be very helpful for me.
If you're designing a web-based ACD (Automatic Call Distribution) system for video calls by customers to an inbound call center, is there a risk that as you scale it up to hundreds of thousands of calls/month you'd have to change the signalling and SDP protocols while the system is in flight?
My recommendation is ... Don't use PHP. Ok, maybe you can do the front end in PHP and maybe the STUN server, but the TURN is best done in Node, as well as the signaling part as that whole interface should basically live in the same language if you can. If you want an idea on how to use sockets in PHP anyway, take a look at one of my projects called PRISM. GitHub.com/Dygear/PRISM/ The entire application lives and dies with this line and this function call. github.com/Dygear/PRISM/blob/master/PHPInSimMod.php#L224
Pavel Kopachevsky thanks for the reply Pavel I was also looking for a public open source turn server ended up using viagenie it is working ok but not sure this is the best server choice
one very confusing part about signaling vs NAT traversal (STUN TURN) is that does NAT traversal happens after or during SDP signaling. Because if you look at SDP data it includes ICE servers. Meaning client must have already contacted the STUN or TURN server and then included the results in STUN server. Please someone correct me if im wrong? If Browsers connect to STUN server afterwards then what is point of ICE candidates in SDP as seen at 2:52
@@bindasbol1558 I dont remember what i was asking or doing, it's been so long but i believe connection happens first and then sdp is sent. there were some youtube video on video streaming that helped.
Could someone help me understand how to create a webrtc mcu server or application? (look I am really stupid in servers and programming, I'm just a Designer)
You will have to configure them separately. The usefulness of (MCU/SFU)->(Better connections) is totally different than (STUN/TURN)->(Connection setup)