6bool GstreamerJSROFactory::publishPayloadImpl([[maybe_unused]]
const std::vector<GIntegralPayload*>* payload) {
10 std::vector<unsigned int> payload_data(frame_data.size() - header_offset);
11 std::copy(frame_data.cbegin() + header_offset, frame_data.cend(), payload_data.begin());
12 ofile->write(
reinterpret_cast<const char*
>(payload_data.data()),
13 sizeof(
unsigned int) * payload_data.size());
std::shared_ptr< GLogger > log
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 (file/device not accessible).
JLAB SRO frame streamer plugin definitions.