8bool GstreamerJsonFactory::publishFrameHeaderImpl(
const GFrameHeader* gframeHeader) {
9 if (!is_building_frame) {
12 "publishFrameHeaderImpl called without an active frame in GstreamerJsonFactory");
18 "gframeHeader is null in GstreamerJsonFactory::publishFrameHeaderImpl");
22 current_frame <<
"\"header\": {"
23 <<
"\"frame_id\": " << gframeHeader->
getFrameID()
26 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.