GStreamer.h 362 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#pragma once

#include <QObject>
#include <QQuickItem>

#include "VideoReceiver.h"

class GStreamer {
public:
    static void initialize(int argc, char* argv[], int debuglevel);
    static void* createVideoSink(QObject* parent, QQuickItem* widget);
    static void releaseVideoSink(void* sink);
    static VideoReceiver* createVideoReceiver(QObject* parent);
};