How to use the warn function from cli
Find comprehensive JavaScript cli.warn code examples handpicked from public code repositorys.
GitHub: JoeBartelmo/goddard
60 61 62 63 64 65 66 67 68 69
cmd += '! queue ! omxh264enc bitrate=' + options.bitrate + ' ! mp4mux ! queue ! filesink location=' + options.filename + '-' + cameraInfo.name.replace(/ /g, '') + '.mp4'; cli.info(cmd) defer.resolve(cmd); } else { cli.warn('Unknown Camera ' + camera +'. Register in knownCameras.json'); defer.resolve(undefined); } }); gstCommands.push(defer.promise);
1
4
8
+ 3 other calls in file