Tag

P2P streaming

1 views collected around this technical thread.

Bilibili Tech
Bilibili Tech
Nov 8, 2022 · Frontend Development

Design and Implementation of Bilibili's Self‑Developed Live Streaming P2P System Using WebRTC

Bilibili designed a self‑built live‑streaming P2P system that uses WebRTC DataChannels and a Tracker‑mediated handshake to exchange 60 KB MessagePack‑encoded HLS segment blocks among viewers, employing a free‑market task allocation to balance seeding and consumption, thereby significantly cutting CDN bandwidth costs.

BrowserHLSMessagePack
0 likes · 16 min read
Design and Implementation of Bilibili's Self‑Developed Live Streaming P2P System Using WebRTC
Bilibili Tech
Bilibili Tech
Nov 6, 2022 · Backend Development

Design and Implementation of Bilibili's Live P2P Streaming System Using WebRTC

Bilibili built a browser‑native live P2P streaming system that uses WebRTC data channels to exchange 60 KB‑sized HLS segment blocks via a WebSocket tracker, employs MessagePack for efficient binary messaging, and adopts a decentralized free‑market peer‑role allocation to limit uploads, dramatically cutting bandwidth while supporting massive concurrent viewers.

BilibiliBrowserCDN optimization
0 likes · 16 min read
Design and Implementation of Bilibili's Live P2P Streaming System Using WebRTC