QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
MockVideoStreamServerNull.cc
Go to the documentation of this file.
1
#include "
MockVideoStreamServer.h
"
2
3
// Builds without GStreamer serve no mock video stream: MockLink then advertises the requested stream as not running.
4
5
MockVideoStreamServer::~MockVideoStreamServer
() =
default
;
6
7
bool
MockVideoStreamServer::isStreamTypeAvailable
(StreamType)
8
{
9
return
false
;
10
}
11
12
bool
MockVideoStreamServer::start
(StreamType,
const
QString&, quint16)
13
{
14
return
false
;
15
}
16
17
void
MockVideoStreamServer::stop
() {}
MockVideoStreamServer.h
MockVideoStreamServer::stop
void stop()
Stop the stream and release all resources. Safe to call when not running.
Definition
MockVideoStreamServer.cc:197
MockVideoStreamServer::isStreamTypeAvailable
static bool isStreamTypeAvailable(StreamType type)
Definition
MockVideoStreamServer.cc:76
MockVideoStreamServer::start
bool start(StreamType type, const QString &host, quint16 port)
Definition
MockVideoStreamServer.cc:104
MockVideoStreamServer::~MockVideoStreamServer
~MockVideoStreamServer()
Definition
MockVideoStreamServer.cc:71
src
Comms
MockLink
MockVideoStreamServerNull.cc
Generated by
1.15.0