livecam.js
function(pipeline) {
    Assert.ok(typeof(pipeline), 'string');
    Assert.ok(isAvailable(), "gst-launch is not available.");

    var gst_launch_path = getPath();
    Assert.ok(typeof(gst_launch_path), 'string');

    return Spawn(gst_launch_path, pipeline.split(' '));
  }
function(pipeline) {
    Assert.ok(typeof(pipeline), 'string');
    Assert.ok(isAvailable(), "gst-launch is not available.");

    var gst_launch_path = getPath();
    Assert.ok(typeof(gst_launch_path), 'string');

    return Spawn(gst_launch_path, pipeline.split(' '));
  }
/*!
@fn spawnPipeline
@brief Spawns a GStreamer pipeline using gst-launch
@return A Node <child-process> of the launched pipeline
@see To construct a correct pipeline arg, consult the link below:
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-programs.html
@usage spawnPipeline('videotestsrc ! autovideosink')