Add example of using with Janus video-room

Resolves #268
This commit is contained in:
Sean DuBois
2018-12-08 16:44:47 -08:00
committed by Michiel De Backker
parent 04d691ef96
commit 12fd9b41e4
16 changed files with 161 additions and 206 deletions

View File

@@ -0,0 +1,16 @@
#ifndef GST_H
#define GST_H
#include <glib.h>
#include <gst/gst.h>
#include <stdint.h>
#include <stdlib.h>
extern void goHandlePipelineBuffer(void *buffer, int bufferLen, int samples, int pipelineId);
GstElement *gstreamer_send_create_pipeline(char *pipeline);
void gstreamer_send_start_pipeline(GstElement *pipeline, int pipelineId);
void gstreamer_send_stop_pipeline(GstElement *pipeline);
void gstreamer_send_start_mainloop(void);
#endif