swarmcloud-hls-sw
v0.8.1
Published
Let your viewers become your unlimitedly scalable CDN.
Downloads
13
Maintainers
Readme
English | 简体中文
WebRTC has been supported by iOS and Safari since 2017, but MEDIA SOURCE EXTENSIONS still cannot be used. These extensions are indispensable for integrating the P2P client of browser-based eCDN solutions. Without the MEDIA SOURCE EXTENSIONS, it appears that no user data can be intercepted at the XHR object or the fetch API, and creating a cluster for peer-to-peer streaming is almost impossible. Luckily there is another way to intercept HTTP traffic while streaming on an iOS device. Even if iOS restricts the possibilities to make adjustments in the browser’s background to make it perfectly cooperating with your own coding and software, there is a way iOS allows developers to insert some web applications inside of Safari. This standard is called “ServiceWorker”. This SDK creates a communal, distributed CDN with the latest HTML5 APIs — WebRTC to connect browsers, ServiceWorker to fulfill requests. As you might expect, it supports all modern browsers and all web players.
Browser Support
WebRTC has already been incorporated into the HTML5 standard and it is broadly deployed in modern browsers. The compatibility of SwarmCloud depends on the browser support of WebRTC and Service Worker.
Compatibility|Chrome | Firefox | macOS Safari | Opera | Edge | iOS Safari | IE | :-: | :-: | :-: | :-: | :-: | :-:| :-:| :-: WebRTC Datachannel | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ❌ | Service Worker | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ❌ | SwarmCloud | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ❌ |
Usage
See documentation
Related Projects
- hlsjs-p2p-engine - Web Video Delivery Technology with No Plugins for hls.js.
- dashjs-p2p-engine - Web Video Delivery Technology with No Plugins for MPEG-dash.
FAQ
We have collected some frequently asked questions. Before reporting an issue, please search if the FAQ has the answer to your problem.
Contact Us
Email: [email protected] Telegram: @cdnbye Skype: live:86755838