Answer the question
In order to leave comments, you need to log in
Why doesn't GSTREAMER work in Node.js?
I downloaded the
livecam module, installed gstreamer and checked the variable in the environment, rebooted the PC and it still doesn’t work (Have you encountered such a problem, if so, what could be the problem ?
const LiveCam = require('livecam');
const webcam_server = new LiveCam
({
'ui_addr' : '127.0.0.1',
'ui_port' : 11000,
'broadcast_addr' : '127.0.0.1',
'broadcast_port' : 12000,
'gst_tcp_addr' : '127.0.0.1',
'gst_tcp_port' : 10000,
'start' : function() {
console.log('WebCam server started!');
},
'webcam' : {
'grayscale' : true,
'width' : 800,
'height' : 600,
'fake' : false,
'framerate' : 25
}
});
webcam_server.broadcast();
==================================================
Unable to locate gst-launch executable.
Look at https://github.com/sepehr-laal/livecam
You are most likely missing the GStreamer runtime.
==================================================
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question