From 8c400f7a9300e2bd7ab24da5bce04e0b6c4a3554 Mon Sep 17 00:00:00 2001
From: snowinszu <86755838@qq.com>
Date: Tue, 20 Apr 2021 16:52:33 +0800
Subject: [PATCH] release 1.14.0
---
demo/chimee.html | 2 +-
demo/chplayer.html | 2 +-
demo/ckplayer.html | 2 +-
demo/clappr.html | 8 ++++----
demo/dplayer.html | 2 +-
demo/flowplayer.html | 2 +-
demo/fluidplayer.html | 2 +-
demo/jwplayer.html | 2 +-
demo/mediaelement.html | 2 +-
demo/openplayer.html | 2 +-
demo/playerjs/index.html | 2 +-
demo/plyr.html | 2 +-
demo/quick-start.html | 2 +-
demo/standalone.html | 2 +-
demo/tcplayer.html | 2 +-
demo/videojs.html | 4 ++--
demo/xgplayer.html | 2 +-
package.json | 4 ++--
18 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/demo/chimee.html b/demo/chimee.html
index f4ccd00..cd7ebd1 100644
--- a/demo/chimee.html
+++ b/demo/chimee.html
@@ -27,7 +27,7 @@
download info:
liveSyncDuration: 30, // Highly recommended setting
p2pConfig: {
logLevel: 'debug',
- live: false, // set to true in live mode
+ live: true, // set to false in VOD mode
getStats: function (totalP2PDownloaded, totalP2PUploaded, totalHTTPDownloaded) {
var total = totalHTTPDownloaded + totalP2PDownloaded;
document.querySelector('#info').innerText = `p2p ratio: ${Math.round(totalP2PDownloaded/total*100)}%, saved traffic: ${totalP2PDownloaded}KB, uploaded: ${totalP2PUploaded}KB`;
diff --git a/demo/chplayer.html b/demo/chplayer.html
index 7ef30ee..76d51f2 100644
--- a/demo/chplayer.html
+++ b/demo/chplayer.html
@@ -15,7 +15,7 @@
// Other hlsjsConfig options provided by hls.js
p2pConfig: {
logLevel: false,
- live: false,
+ live: true, // set to false in VOD mode
// Other p2pConfig options provided by CDNBye
// https://github.com/cdnbye/hlsjs-p2p-engine/blob/master/docs/%E4%B8%AD%E6%96%87/API.md
}
diff --git a/demo/ckplayer.html b/demo/ckplayer.html
index 203c0f1..d66b6f9 100644
--- a/demo/ckplayer.html
+++ b/demo/ckplayer.html
@@ -17,7 +17,7 @@ download info:
// Other hlsjsConfig options provided by hls.js
p2pConfig: {
logLevel: 'debug',
- live: false, // set to true in live mode
+ live: true, // set to false in VOD mode
getStats: function (totalP2PDownloaded, totalP2PUploaded, totalHTTPDownloaded) {
var total = totalHTTPDownloaded + totalP2PDownloaded;
document.querySelector('#info').innerText = `p2p ratio: ${Math.round(totalP2PDownloaded/total*100)}%, saved traffic: ${totalP2PDownloaded}KB, uploaded: ${totalP2PUploaded}KB`;
diff --git a/demo/clappr.html b/demo/clappr.html
index dae4cca..b9fa091 100644
--- a/demo/clappr.html
+++ b/demo/clappr.html
@@ -5,6 +5,7 @@
CDNBye Clappr Demo
+
@@ -17,11 +18,10 @@ download info: