Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#21
|
|||
|
|||
Re: Need help by capturebate-nodeHere is the errors after making that change:
[2016-03-07T063818] dirtykym stopped streaming. Unhandled rejection TypeError: undefined is not a function at /home/jeff/capturebate-node-master/main.js:45:13 at tryCatcher (/home/jeff/capturebate-node-master/node_modules/bluebird/js/main/util.js:26:23) at Function.Promise.attempt.Promise.try (/home/jeff/capturebate-node-master/node_modules/bluebird/js/main/me thod.js:31:24) at getFileSize (/home/jeff/capturebate-node-master/main.js:44:20) at /home/jeff/capturebate-node-master/main.js:129:12 at tryCatcher (/home/jeff/capturebate-node-master/node_modules/bluebird/js/main/util.js:26:23) at Function.Promise.attempt.Promise.try (/home/jeff/capturebate-node-master/node_modules/bluebird/js/main/me thod.js:31:24) at ChildProcess.<anonymous> (/home/jeff/capturebate-node-master/main.js:128:15) at ChildProcess.emit (events.js:110:17) at maybeClose (child_process.js:1019:16) at Process.ChildProcess._handle.onexit (child_process.js:1091:5) |
#22
|
|||
|
|||
Re: Need help by capturebate-nodeThen the problem is your RTMPDump installation, I think (if the models start streaming and immediately close).
|
#23
|
|||
|
|||
Re: Need help by capturebate-nodesince a few days I get this error messages
Code:
Unhandled rejection Error: read ECONNRESET at exports._errnoException (util.js:837:11) at TLSWrap.onread (net.js:544:26) Code:
Unhandled rejection TypeError: fs.statsAsync is not a function at /root/capturebate-node-master/main.js:45:13 at tryCatcher (/root/capturebate-node-master/node_modules/bluebird/js/main/util.js:26:23) at Function.Promise.attempt.Promise.try (/root/capturebate-node-master/node_modules/bluebird/js/main/method.js:31:24) at getFileSize (/root/capturebate-node-master/main.js:44:20) at /root/capturebate-node-master/main.js:129:12 at tryCatcher (/root/capturebate-node-master/node_modules/bluebird/js/main/util.js:26:23) at Function.Promise.attempt.Promise.try (/root/capturebate-node-master/node_modules/bluebird/js/main/method.js:31:24) at ChildProcess.<anonymous> (/root/capturebate-node-master/main.js:128:15) at emitTwo (events.js:87:13) at ChildProcess.emit (events.js:172:7) at maybeClose (internal/child_process.js:817:16) at Socket.<anonymous> (internal/child_process.js:319:11) at emitOne (events.js:77:13) at Socket.emit (events.js:169:7) at Pipe._onclose (net.js:469:12) sorry for bad english |
#24
|
|||
|
|||
Re: Need help by capturebate-nodeQuote:
What ended up fixing the issue for me was changing fs.stats.Async to fs.stat on line 45 of the main.js file. I am no programmer by any means but I think this breaks capturbate-node's behavior of NOT creating a single flv file every time capturebate does a model scan and a model is online but also in private mode. A simple 'find Capture/ -size 0 -delete' gets rid of it. Also another related peculiarity that was going on for me is in the config.yml file, for the modelScanInterval, for my system it should be set in terms of milliseconds NOT seconds. I had it set to scan every 180 in the config.yml thinking it was 3 minutes but it was actually every 180 milliseconds. 180000 would get the effect of 3 minutes |
#25
|
|||
|
|||
Re: Need help by capturebate-nodeThis fork of capturbate-node does not have problems you've just described.
https://github.com/sstativa/capturebate-node Main difference with original capturbate:
|
Tags: capturebate, capturebate node, help, node |
Thread Tools | |
Display Modes | |
|
|