Skip to content

Commit fb73445

Browse files
committed
release v0.6.2
1 parent b4da9ca commit fb73445

File tree

7 files changed

+8
-2
lines changed

7 files changed

+8
-2
lines changed

demo/cbplayer.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
debug: false,
2323
p2pConfig: {
2424
// logLevel: 'debug',
25+
// token: YOUR_TOKEN
2526
// Other p2pConfig options provided by CDNBye
2627
}
2728
}

demo/dplayer.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
var player = dashjs.MediaPlayer().create();
2929
var p2pConfig = {
3030
// logLevel: 'debug',
31+
// token: YOUR_TOKEN
3132
}
3233
var engine = new P2PEngineDash(player, p2pConfig);
3334
player.initialize(video, video.src, true);

demo/flowplayer.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ <h3>download info:</h3>
2121

2222
var engine = new P2PEngineDash(player.dash, {
2323
// logLevel: "debug",
24+
// token: YOUR_TOKEN
2425
});
2526
engine.on('stats', function (stats) {
2627
var total = stats.totalHTTPDownloaded + stats.totalP2PDownloaded;

demo/plyr.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ <h3>download info:</h3>
2222
if (P2PEngineDash.isSupported()) {
2323
var p2pConfig = {
2424
// logLevel: 'debug',
25+
// token: YOUR_TOKEN
2526
// Other p2pConfig options if applicable
2627
};
2728
var engine = new P2PEngineDash(dash, p2pConfig);

demo/quick-start.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ <h3>download info:</h3>
1212
document.querySelector('#version').innerText = `dash.js version: ${player.getVersion()} p2p version: ${P2PEngineDash.version}`;
1313
var p2pConfig = {
1414
logLevel: 'debug',
15+
// token: YOUR_TOKEN
1516
}
1617
var engine = new P2PEngineDash(player, p2pConfig);
1718
player.initialize(document.querySelector("#videoPlayer"), url, true);

demo/videojs.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
var myCustomCallback = function(player, mediaPlayer) {
2929
var p2pConfig = {
3030
// logLevel: 'debug',
31+
// token: YOUR_TOKEN
3132
};
3233
var engine = new P2PEngineDash(mediaPlayer, p2pConfig);
3334
};

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "cdnbye-dash",
3-
"version": "0.6.0",
3+
"version": "0.6.2",
44
"description": "Let your viewers become your unlimitedly scalable CDN.",
55
"main": "./dist/dashjs-p2p-engine.min.js",
66
"files": [
77
"dist"
88
],
99
"scripts": {
10-
"git-push": "git add demo && git add package.json && git add README.md && git add Readme_zh.md && git commit -m 'release v0.6.0' && git push origin master",
10+
"git-push": "git add demo && git add package.json && git add README.md && git add Readme_zh.md && git commit -m 'release v0.6.2' && git push origin master",
1111
"git-pull": "git pull origin master",
1212
"publish": "npm publish",
1313
"test": "echo \"Error: no test specified\" && exit 1"

0 commit comments

Comments
 (0)