同步操作将从 Pear/PearDownloader.js 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
The release of PearPlayer.js has attracted constant attention from industry and we have received many precious suggestions. On the one hand, we will continue maintaining and updating PearPlayer to support more extended functions. On the other hand, we will rearrange the related module that is of deeper layer, more flexible and applicable to wider areas. Besides, focused on node selection and data scheduling, we separate out multi-source transmission parts and thus form PearDownloader.js.
PearDownloader (梨享下载器) [Demo], serving as base download module of the PearPlayer, combines HTTP (including HTTPS, HTTP2) & WebRTC and accelarates the streaming media on Web. It supports multiple protocols, multiple sources, and achieves low latency and high bandwidth utilization. Our customized algorithms, based on high efficiency, can integrate data from multi nodes to form a complete file or transfer well-organised data/media stream to upper layer applications like audio & video players. Thus, PearDownloader can ensure the downloading speed while maximizing the P2P ratio at the same time.
PearDownloader aims to lower the migration cost for Content Providers (CP) of the present well-developed players: CP manufacturers can choose to integrate it into their own products and achieve Web P2P ability. They can also schedule the massive node sources of Pear Fog to enjoy low-cost, high-quality shared fog CDN service. PearDownloader supports more kinds of file types, provides more flexible scheduling algorithm & strategies and satisfies broader and more flexible business situations and needs.
Simply import pear-downloader.min.js
to HTML via <script>
tag. Refer to code example or consult /examples/downloader-test.html
or get-started for usages.
First, use script tag to import pear-downloader.min.js:
<script src="./dist/pear-downloader.min.js"></script>
or use CDN
<script src="https://cdn.jsdelivr.net/npm/peardownloader@latest"></script></script>
If we want to download https://example.com/file.zip
<script>
var downloader = new PearDownloader('https://example.com/file.zip');
</script>
The file above has already been dispatched. So how to speed up other files? It's a piece of cake. Just add your file URL into File distribution system. And then you can feel free to use Pear's massive nodes to accelerate your file downloading! Please click here for detailed guide. (You need to add Pear-Demo
prefix in front of the file name, such as Pear-Demo-file.zip
)
Special thanks goes to the following projects that provide some inspirations and API design references:
MIT. Copyright (c) Pear Limited and snowinszu.
E-mail: service@pear.hk; QQ Group: 373594967
; CP/CDN, OEM and other business cooperations
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。