8bool GstreamerJSROFactory::openConnection() {
9 ofile =
new std::ofstream(filename());
10 if (!ofile->is_open()) {
14 log->
info(0,
"GstreamerJSROFactory: opened file " + filename());
18bool GstreamerJSROFactory::closeConnectionImpl() {
19 if (ofile->is_open()) { ofile->close(); }
21 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 successfully.
JLAB SRO binary frame streamer declarations.