Let your viewers become your unlimitedly scalable CDN.
5 |
6 |
7 |
8 |
9 |
10 |
11 | CDNBye dashjs-p2p-engine implements [WebRTC](https://en.wikipedia.org/wiki/WebRTC) datachannel to scale live/vod video streaming by peer-to-peer network using bittorrent-like protocol. The forming peer network can be layed over other CDNs or on top of the origin server. Powered by [dash.js](https://github.com/Dash-Industry-Forum/dash.js), it can play MPEG-dash on PC and mobile.
12 |
13 | ## Features
14 | - WebRTC data channels for lightweight peer-to-peer communication with no plugins
15 | - Support live and VOD streams over MPEG-dash protocol
16 | - Very easy to integrate with an existing dash.js project
17 | - Seamlessly fallback to normal server usage if a browser doesn't support WebRTC
18 | - Compatible with all CDNs, agnostic to DRM and video codecs. No service side changes required.
19 | - Efficient scheduling policies to enhance the performance of P2P streaming
20 | - Use IP database to group up peers by ISP and regions
21 |
22 | ## Getting Started
23 | Put the [quick-start.html](demo/quick-start.html) in your web page, run it. Wait for a few seconds,then open the same page from another browser. Now you have a direct P2P connection between two browsers without plugin!
24 | The first web peer will serve as a seed, if no one else in the same channel.
25 |
26 | ## Browser Support
27 | WebRTC has already been incorporated into the HTML5 standard and it is broadly deployed in modern browsers. The compatibility of CDNBye depends on the browser support of WebRTC and dash.js. Please note that iOS Safari "Mobile" does not support the MediaSource API.
28 |
29 | Compatibility|Chrome | Firefox | macOS Safari| Android Wechat/QQ | Opera | Edge | IE | iOS Safari |
30 | :-: | :-: | :-: | :-: | :-: | :-: | :-:| :-:| :-:
31 | WebRTC Datachannel | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ❌ | ✔ |
32 | dash.js | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
33 | CDNBye | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ❌ | ✔ |
34 |
35 | ## Include
36 | Include the pre-built script of latest version:
37 | ```html
38 |
39 | ```
40 |
41 | ## API and Configuration
42 | See [API.md](https://docs.swarmcloud.net/dashjs/API)
43 |
44 | ## Console
45 | Register your domain in [dashboard](https://dash.swarmcloud.net), where you can view p2p-related information.
46 |
47 | ## Related Projects
48 | - [shaka-p2p-engine](https://github.com/cdnbye/shaka-p2p-engine) - P2P engine for Shaka Player.
49 | - [hlsjs-p2p-engine](https://github.com/cdnbye/hlsjs-p2p-engine) - Web Video Delivery Technology with No Plugins for hls.js.
50 | - [mp4-p2p-engine](https://github.com/cdnbye/mp4-p2p-engine) - Web Video Delivery Technology with No Plugins for MP4.
51 |
52 | ## FAQ
53 | We have collected some [frequently asked questions](https://docs.swarmcloud.net/faq). Before reporting an issue, please search if the FAQ has the answer to your problem.
54 |
55 | ## Contact Us
56 | Email: service@cdnbye.com
57 |
58 | Telegram: @cdnbye
59 |
60 | Skype: live:86755838
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/Readme_zh.md:
--------------------------------------------------------------------------------
1 | **[English](README.md) | 简体中文**
2 |
3 |