This repository has been archived by the owner on Dec 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 105
EventEmitter codepath crashes node.js #30
Labels
Comments
Thanks! I'll check. |
Can you give me some .js for node.js to test? |
Simply var WebChimera = require("webchimera.js");
var player = WebChimera.createPlayer([ "-vvv" ]);
player.onFrameSetup = function(width, height, pixelFormat) {
console.log("frame setup",width,height)
};
player.onFrameReady = function(frame) { typeof(display)=="function" && display() };
player.play("file:///Users/ivogeorgiev/Downloads/1.mkv"); // update that
global.player = player; Node.js 0.12.2 |
Thanks! |
Did you reproduce it? I can't figure why this is happening. |
trying... |
by some reason |
will try investigate it deeply tomorrow. |
It seems the problem is on
so to solve this issue I need understand where I can find |
That makes sense. Can't we just get require from the current context? |
In c++ I need some object to get it's function, with nwjs I use |
Use module.
Module is like the global context in node.js |
thanks, I'll try |
Amazing, thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When running webchimera.js in node.js, we get:
The fault should be in how Require is implemented here
https://github.com/RSATom/WebChimera.js/blob/master/src/NodeTools.cpp
The text was updated successfully, but these errors were encountered: