P2P in the browser is done via WebTorrent, which uses WebRTC connections as transport channels to other browsers watching the video. It then uses the BitTorrent protocol for the actual data transfer.
“Why broadcast PeerTube videos through peer-to-peer?”
Peer-to-peer broadcasting allows, thanks to the WebRTC protocol, that Internet users who watch the same video at the same time exchange bits of files, which relieves the server.
How does one do P2P on a web browser? Do you open WebRTC connections with other Peertube users?
P2P in the browser is done via WebTorrent, which uses WebRTC connections as transport channels to other browsers watching the video. It then uses the BitTorrent protocol for the actual data transfer.
They mention the use of WebRTC on their FAQ: https://joinpeertube.org/en/faq/
What question is it under?
“Why broadcast PeerTube videos through peer-to-peer?”
Peer-to-peer broadcasting allows, thanks to the WebRTC protocol, that Internet users who watch the same video at the same time exchange bits of files, which relieves the server.