Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit 17e72cb

Browse files
committed
bump to 0.1.5
1 parent 1b6b897 commit 17e72cb

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "p2phls",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"description": "BemTV Peer-to-Peer plugin for HTTP Live Streaming transmissions on Clappr Media Player",
55
"main": "dist/p2phls.js",
66
"scripts": {

src/log.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class Log {
1919

2020
onOff() {
2121
Settings.logging = !Settings.logging
22-
if (Settings.logging) console.log('%c [WARNING] log enabled', 'color: red')
23-
else console.log('%c [WARNING] log disabled', 'color: red')
22+
if (Settings.logging) console.log('%c [INFO] log enabled', 'color: blue')
23+
else console.log('%c [INFO] log disabled', 'color: blue')
2424
}
2525

2626
log(level, message) {

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class P2PHLS extends HLS {
2727
}
2828

2929
constructor(options) {
30-
options.swfPath = "http://s.videos.globo.com/p3/plugins/assets/P2PHLSPlayer.swf"
30+
options.swfPath = "http://s.videos.globo.com/p3/plugins/assets/P2PHLSPlayer2.swf"
3131
Settings = _.extend(Settings, options.bemtv)
3232
this.resourceRequester = new ResourceRequester({swarm: btoa(options.src.split("?")[0]), tracker: options.tracker})
3333
this.uploadHandler = UploadHandler.getInstance()

src/settings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
Turn on/off logging on browser's console on
99
initialization. You can always turn on/off
1010
by pressing ctrl+shift+l on your browser tab. */
11-
logging: true,
11+
logging: false,
1212

1313
/* maxStorageChunks
1414
Maximum size of the storage in number of chunks. */

0 commit comments

Comments
 (0)