Archived
2
0

move gst and broadcast under capture.

This commit is contained in:
Miroslav Šedivý
2022-09-12 22:16:08 +02:00
parent de4f6b45e5
commit c0ca073b2d
6 changed files with 6 additions and 7 deletions

View File

@ -0,0 +1,13 @@
#pragma once
#include <gst/gst.h>
#include <gst/app/gstappsrc.h>
extern void goHandlePipelineBuffer(void *buffer, int bufferLen, int samples, int pipelineId);
GstElement *gstreamer_send_create_pipeline(char *pipeline, GError **error);
void gstreamer_send_start_pipeline(GstElement *pipeline, int pipelineId);
void gstreamer_send_play_pipeline(GstElement *pipeline);
void gstreamer_send_stop_pipeline(GstElement *pipeline);
void gstreamer_init(void);