#include "modules/config.h" #include "modules/exceptions.h" #include "modules/streamer.h" #include #include #include int main(int argc, char *argv[]) { IceGStreamer::Config::_config config; try { config = IceGStreamer::Config::load(argc, argv); IceGStreamer::Streamer::start(argc, argv, config); } catch (IceGStreamer::Exceptions::PlayerExceptionBase &e) { std::cerr << "Exception: " << e.what() << std::endl; return 1; } catch (YAML::Exception &e) { std::cerr << e.what() << std::endl; return 1; } // for (int x = 0; x< 1000000000; x++) // IceGStreamer::Streamer::start(argc, argv, config); return 0; }