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

Commit

Permalink
bump to 0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioribeiro committed Nov 10, 2014
1 parent 1b6b897 commit 17e72cb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "p2phls",
"version": "0.1.4",
"version": "0.1.5",
"description": "BemTV Peer-to-Peer plugin for HTTP Live Streaming transmissions on Clappr Media Player",
"main": "dist/p2phls.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class Log {

onOff() {
Settings.logging = !Settings.logging
if (Settings.logging) console.log('%c [WARNING] log enabled', 'color: red')
else console.log('%c [WARNING] log disabled', 'color: red')
if (Settings.logging) console.log('%c [INFO] log enabled', 'color: blue')
else console.log('%c [INFO] log disabled', 'color: blue')
}

log(level, message) {
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class P2PHLS extends HLS {
}

constructor(options) {
options.swfPath = "http://s.videos.globo.com/p3/plugins/assets/P2PHLSPlayer.swf"
options.swfPath = "http://s.videos.globo.com/p3/plugins/assets/P2PHLSPlayer2.swf"
Settings = _.extend(Settings, options.bemtv)
this.resourceRequester = new ResourceRequester({swarm: btoa(options.src.split("?")[0]), tracker: options.tracker})
this.uploadHandler = UploadHandler.getInstance()
Expand Down
2 changes: 1 addition & 1 deletion src/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
Turn on/off logging on browser's console on
initialization. You can always turn on/off
by pressing ctrl+shift+l on your browser tab. */
logging: true,
logging: false,

/* maxStorageChunks
Maximum size of the storage in number of chunks. */
Expand Down

0 comments on commit 17e72cb

Please sign in to comment.