6 ms·
I'm not very familiar with WebRTC & how the browser pulls video usually, in what way is this better? Also, what benefits does WebRTC give over other protocols?
by crakenzak 6y ago
I'm not very familiar with WebRTC & how the browser pulls video usually, in what way is this better?
Also, what benefits does WebRTC give over other protocols?
- ianlevesque 6y agoPeople mostly do this for lower latency.
- rapsey 6y agoWebRTC is generally for video conferencing as that requires real time communication. Live streams or videos on the web are most commonly hls or dash protocols. Just mp4 file play while download also works. Hls/dash are not built for lower latencies. They are built for easy CDN distribution and flexible switching between different resolutions and bitrates. Live streams generally are at least a few seconds behind.
- skeletal88 6y agoWhat other protocols do you know that offer low latency almost real time video and all that in the browser? There is RTSP but that does not work in browsers.
- mypalmike 6y agoHow is it better than what?
- zip1234 6y agoMy understanding: Most IP cameras only have an RTSP stream, which would need to be proxied expensively by some server if you want to view it over the internet or be exposed directly to the internet. WebRTC would allow the server to help negotiate a connection directly from client to camera, thereby bypassing having to host expensive proxy.
- BlueTemplar 6y agoNot any more with IPv6 ?
- Sean-Der 6y agoIf you have the time give WebRTC for the Curious[0] a read. I try and explain what WebRTC is and how it actually works. The big advantages that I see are. * Can do P2P (and Client/Server) * Mandatory Encryption * Handles codec/track negotation. You don't need to know ahead of time what is being sent. * Data channels. Can also be configured to be lossy/unordered for kind of performance needed for gaming. * Uses existing protocols. Really easy to bridge with SIP/RTSP. This software/hardware goes all the way back to the late 90s * Multiple implementations and available in the browser. No other protocol comes close in availability. [0] https://webrtcforthecurious.com/docs/01-what-why-and-how/ https://webrtcforthecurious.com/docs/01-what-why-and-how/
- pratio 6y agoExcellent website btw, thank you.