Browse Source

Fix TCP for Android and iOS

QGC4.4
Andrew Voznytsa 5 years ago
parent
commit
08cc4fdb7a
  1. 2
      src/VideoStreaming/VideoStreaming.cc
  2. 3
      src/VideoStreaming/VideoStreaming.pri

2
src/VideoStreaming/VideoStreaming.cc

@ -93,6 +93,7 @@ static void qt_gst_log(GstDebugCategory * category,
GST_PLUGIN_STATIC_DECLARE(matroska); GST_PLUGIN_STATIC_DECLARE(matroska);
GST_PLUGIN_STATIC_DECLARE(mpegtsdemux); GST_PLUGIN_STATIC_DECLARE(mpegtsdemux);
GST_PLUGIN_STATIC_DECLARE(opengl); GST_PLUGIN_STATIC_DECLARE(opengl);
GST_PLUGIN_STATIC_DECLARE(tcp);
#if defined(__android__) #if defined(__android__)
GST_PLUGIN_STATIC_DECLARE(androidmedia); GST_PLUGIN_STATIC_DECLARE(androidmedia);
#elif defined(__ios__) #elif defined(__ios__)
@ -167,6 +168,7 @@ void initializeVideoStreaming(int &argc, char* argv[], int gstDebuglevel)
GST_PLUGIN_STATIC_REGISTER(matroska); GST_PLUGIN_STATIC_REGISTER(matroska);
GST_PLUGIN_STATIC_REGISTER(mpegtsdemux); GST_PLUGIN_STATIC_REGISTER(mpegtsdemux);
GST_PLUGIN_STATIC_REGISTER(opengl); GST_PLUGIN_STATIC_REGISTER(opengl);
GST_PLUGIN_STATIC_REGISTER(tcp);
#if defined(__android__) #if defined(__android__)
GST_PLUGIN_STATIC_REGISTER(androidmedia); GST_PLUGIN_STATIC_REGISTER(androidmedia);

3
src/VideoStreaming/VideoStreaming.pri

@ -91,7 +91,8 @@ LinuxBuild {
-lgstmatroska \ -lgstmatroska \
-lgstmpegtsdemux \ -lgstmpegtsdemux \
-lgstandroidmedia \ -lgstandroidmedia \
-lgstopengl -lgstopengl \
-lgsttcp
# Rest of GStreamer dependencies # Rest of GStreamer dependencies
LIBS += -L$$GST_ROOT/lib \ LIBS += -L$$GST_ROOT/lib \

Loading…
Cancel
Save