| 432 | } |
| 433 | |
| 434 | void GStreamerStream::loop_infinite() { |
| 435 | while (m_keep_looping) { |
| 436 | try { |
| 437 | stream_once(); |
| 438 | } catch (std::exception& ex) { |
| 439 | std::cerr << "GStreamerStream::Error: " << ex.what() << std::endl; |
| 440 | } catch (...) { |
| 441 | std::cerr << "GStreamerStream::Unknown exception occurred" << std::endl; |
| 442 | } |
| 443 | } |
| 444 | } |
| 445 | |
| 446 | void GStreamerStream::stream_once() { |
| 447 | // The user can disable streaming for a camera, in which case a restart is |
nothing calls this directly
no outgoing calls
no test coverage detected