This repository was archived by the owner on Jun 24, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff 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 ) {
Original file line number Diff line number Diff 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 ( )
Original file line number Diff line number Diff 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. */
You can’t perform that action at this time.
0 commit comments