8bool GstreamerJsonFactory::publishFrameHeaderImpl(
const GFrameHeader* gframeHeader) {
9 if (!is_building_frame) {
11 "publishFrameHeaderImpl called without an active frame in GstreamerJsonFactory");
16 "gframeHeader is null in GstreamerJsonFactory::publishFrameHeaderImpl");
20 current_frame <<
"\"header\": {"
21 <<
"\"frame_id\": " << gframeHeader->
getFrameID()
24 current_frame_has_header =
true;
std::shared_ptr< GLogger > log
Shared constants and error codes for the gstreamer module.
JSON streamer plugin declarations.
constexpr int ERR_PUBLISH_ERROR
Publish sequence encountered invalid state or invalid input data.