Comments on: What is WebRTC and What is it Good For? https://bloggeek.me/what-is-webrtc/ The leading authority on WebRTC Sun, 03 Dec 2023 11:19:55 +0000 hourly 1 By: Tsahi Levent-Levi https://bloggeek.me/what-is-webrtc/#comment-146561 Sat, 09 Apr 2022 16:39:48 +0000 https://bloggeek.me/?p=11293#comment-146561 In reply to KC.

Over the signaling layer.

WebRTC needs to negotiate IP addresses with the other side of the call so they can communicate. For that purpose, it will send a slew of IP addresses (local, public, TURN routed) and then the remote side will try to connect to them. Once connected, media can be sent and received.

By “default”, WebRTC assumes it is fine to send any IP address if the user approved access to the camera or mic. This may give away its local IP address over signaling even if the call ends up over a VPN connection. There are mechanisms to overcome that for quite some time now, but “WebRTC IP leak” and the the concerns/FUD around it are still going strong.

]]>
By: KC https://bloggeek.me/what-is-webrtc/#comment-146447 Wed, 06 Apr 2022 16:48:55 +0000 https://bloggeek.me/?p=11293#comment-146447 In reply to Tsahi Levent-Levi.

I know this is an old thread, but I'm a little confused. The first step in the WebRTC connection is going to be a UDP connection to a STUN server to see if you're operating behind a proxy/nat/firewall/vpn. This will be done over UDP, which is routed over the VPN, so the answer is yes. The connection will then be directed to a TURN server so that communication is made using outgoing connections. If your VPN only proxies HTTP traffic, then yes this will leak your IP just as any other protocol you try to use would leak it. I would expect the correctly configured VPN to act as the sole, not preferred, gateway if you're trying to conceal your IP. The traffic to the TURN server would therefore also go through the VPN. Performance would suffer from the limitations of the VPN, but how does the leak occur?

]]>
By: Blake_Butler https://bloggeek.me/what-is-webrtc/#comment-123613 Thu, 01 Oct 2020 08:43:13 +0000 https://bloggeek.me/?p=11293#comment-123613 Encryption is mandatory part of WebRTC and is enforced on all parts of establishing and maintaining a connection.The preferred method for this is to use perfect forward secrecy (PFS) ciphers in a DTLS (Datagram Transport Layer Security) handshake to securely exchange key data. For audio and video, key data can then be used to generate AES (Advanced Encryption Standard) keys which are in turn used by SRTP (Secure Real-time Transport Protocol) to encrypt and decrypt the media.This acronym-rich stack of technologies translates to extremely secure connections that are impossible to break with current technology. Both WebRTC and ORTC mandate this particular stack, which is backwards-compatible and interoperable with VoIP systems. While the basis of WebRTC has historically been peer-to-peer video conferencing, there are many promising add-ons that can help make WebRTC even more powerful of a real-time communications tool.

]]>
By: Tsahi Levent-Levi https://bloggeek.me/what-is-webrtc/#comment-119870 Wed, 06 Nov 2019 06:31:55 +0000 https://bloggeek.me/?p=11293#comment-119870 In reply to Roland.

Thanks Roland.

You can capture the computer audio by using GetDisplayMedia: https://developer.mozilla.org/en-US/docs/Web/API/Screen_Capture_API/Using_Screen_Capture

]]>
By: Roland https://bloggeek.me/what-is-webrtc/#comment-119869 Tue, 05 Nov 2019 22:37:33 +0000 https://bloggeek.me/?p=11293#comment-119869 Hi! Excellent information, just what I required! Thanks!

I only have one question, is possible to stream the audio of a device with WebRTC? I know is possible send the microphone audio, but what about the sound of a notification on my computer as a replacement of PC speakers?

]]>
By: Tsahi Levent-Levi https://bloggeek.me/what-is-webrtc/#comment-119757 Thu, 22 Aug 2019 14:25:57 +0000 https://bloggeek.me/?p=11293#comment-119757 In reply to Selçuk.

Selçuk,

P2P doesn’t scale well beyond a small number of participants. In your case, you want sessions with thousands of participants. There are a team or two trying to achieve this without the use of media servers. I don’t think we’re there at this point due to many different reasons.

If you want to cater for such use cases, then WebRTC can be the solution for you but you will need to deploy media servers as part of the solution.

]]>
By: Selçuk https://bloggeek.me/what-is-webrtc/#comment-119755 Thu, 22 Aug 2019 13:08:00 +0000 https://bloggeek.me/?p=11293#comment-119755 Is it possible to use WebRTC to live broadcast audio when one, two or a few more users up to say ten are listeners and speakers to each other where a large number of other users (say 10K listeners) only listeners to their speech? Is that achieveable by P2P?

]]>
By: Tsahi Levent-Levi https://bloggeek.me/what-is-webrtc/#comment-119458 Fri, 29 Mar 2019 20:55:57 +0000 https://bloggeek.me/?p=11293#comment-119458 In reply to Steven Titchenell.

Steven, there is no extension needed in any of the browsers in order to use WebRTC. Up until recently, Chrome required an extension if you wanted to screen share in WebRTC (anything else worked without the extension) – and even that is going away now.

]]>
By: Steven Titchenell https://bloggeek.me/what-is-webrtc/#comment-119456 Fri, 29 Mar 2019 13:56:23 +0000 https://bloggeek.me/?p=11293#comment-119456 The article says it’s built into most browsers, without having to add anything. With Chrome, you have to add an extension, in order to use it

]]>
By: tricky https://bloggeek.me/what-is-webrtc/#comment-118776 Sat, 27 Oct 2018 18:58:27 +0000 https://bloggeek.me/?p=11293#comment-118776 We have been experimenting with WebRTC because we currently have a Flash-based video chatroom. With Flash quickly becoming obsolete, we have been experimenting with WebRTC as a replacement for this; the really good thing with testing a new alternative is that our users can now use the video chat function on their mobile devices. For us, WebRTC is now the only viable option due to all the modern browser restrictions (including https encryption) when trying to use Flash and it looks likely that we will soon be implementing WebRTC to replace Flash.

]]>