7bool GstreamerJSROFactory::openConnection() {
8 ofile =
new std::ofstream(filename());
9 if (!ofile->is_open()) {
13 log->
info(0,
"GstreamerJSROFactory: opened file " + filename());
17bool GstreamerJSROFactory::closeConnectionImpl() {
18 if (ofile->is_open()) { ofile->close(); }
20 if (ofile->is_open()) {
std::shared_ptr< GLogger > log
void info(int level, Args &&... args) const
void error(int exit_code, Args &&... args) const
Shared constants and error codes for the gstreamer module.
#define ERR_CANTOPENOUTPUT
Output medium could not be opened (file/device not accessible).
JLAB SRO frame streamer plugin definitions.