Archived
2
0
This repository has been archived on 2024-06-24. You can view files and clone it, but cannot push or open issues or pull requests.
neko-custom/server/internal/capture/gst/gst.h

14 lines
454 B
C
Raw Normal View History

2021-11-08 05:09:00 +13:00
#pragma once
2020-01-13 21:05:38 +13:00
#include <gst/gst.h>
2021-11-08 05:09:00 +13:00
#include <gst/app/gstappsrc.h>
2020-01-13 21:05:38 +13:00
extern void goHandlePipelineBuffer(void *buffer, int bufferLen, int samples, int pipelineId);
2021-08-16 01:37:27 +12:00
GstElement *gstreamer_send_create_pipeline(char *pipeline, GError **error);
2020-01-19 12:30:09 +13:00
2020-01-13 21:05:38 +13:00
void gstreamer_send_start_pipeline(GstElement *pipeline, int pipelineId);
2020-09-24 18:09:02 +12:00
void gstreamer_send_play_pipeline(GstElement *pipeline);
2020-01-13 21:05:38 +13:00
void gstreamer_send_stop_pipeline(GstElement *pipeline);
2020-01-19 12:30:09 +13:00
void gstreamer_init(void);