MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / enqueue_rtp_fragment

Method enqueue_rtp_fragment

OpenHD/ohd_video/src/gst_recorder.cpp:163–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163void GstVideoRecorder::enqueue_rtp_fragment(
164 std::shared_ptr<std::vector<uint8_t>> fragment) {
165 on_video_data(fragment->data(), fragment->size());
166}
167
168void GstVideoRecorder::start() {
169 gst_element_set_state(m_gst_pipeline, GST_STATE_PLAYING);

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected