⚙️Infrastructure
Platform infrastructure for the streaming service
Last updated
Platform infrastructure for the streaming service
Last updated
Our streaming service is made up of 3 primary components; the portal UI where you manage your streams, the streaming and content delivery network used to broadcast streams, and a smart contract needed for payments.
On the backend we leverage Microsoft Azure for secure hosting of the portal and associated workflows, automations, and databases. No wallet private keys or personal information is ever stored within our cloud.
Azure is also used to host our stream relay components including the m3u8 extractor (Streamlink) needed for all stream relay types, and ffmpeg needed to relay the extracted m3u8 into a supported format for Decentraland.
For streaming infrastructure we leverage Livepeer for all data storage of your video assets (files), transcoding live and on-demand video, and streaming over a global CDN network to provide low-latency jitter-free streaming experiences no matter where your audience is.
For our escrow payment system we leverage Ethereum's L2 Polygon network. This allows us to provide the best possible fees with an efficient purpose-built smart contract platform needed to manage the funding aspects of the service while keeping you in full control of your funds at all times. Our smart contract is located here.
Below is a more detailed description of the streaming solutions and the infrastructure they use.
The Video-On-Demand (VOD) streaming solution provides users the ability to stream recorded audio & video content. This content could be for example movies, news clips, sports segments, training videos, music videos, radio, speeches, or advertising. The files are uploaded to Livepeer, encoded at multi-bitrate in a standard HLS format, and then distributed to Decentraland users via a global Content Delivery Network (CDN).
Similar to VOD Streaming, the Live streaming solution provides users the ability to stream live audio & video content. This includes any content that can be streamed via RTMP, a popular protocol among those who produce their own content such as podcasts, conferences, or host their own webinars. Popular RTMP streaming solutions include OBS, Microsoft Teams, and Zoom.
The RTMP broadcast is streamed to a Livepeer stream (ingest), encoded in real-time to a multi-bitrate standard format, and then distributed via a global CDN to Decentraland users.
The stream relay solution is very similar to the Live streaming solution above, however instead of using RTMP to provide the stream, the solution requires a YouTube or Twitch URL (for example) to the content the user wants to broadcast into Decentraland. This URL is then processed using FFmpeg and routed into Livepeer using H.264 encoding and HLS delivery into Decentraland.
See here for a full list of supported streaming providers.