Jetson Inference
DNN Vision Library
|
RTSP server for transmitting encoded GStreamer pipelines to client devices. More...
#include <RTSPServer.h>
Public Member Functions | |
void | Release () |
Release a reference to the server instance. More... | |
bool | AddRoute (const char *path, _GstElement *pipeline) |
Register a GStreamer pipeline to be served at the specified path. More... | |
bool | AddRoute (const char *path, const char *pipeline) |
Create a GStreamer pipeline and register it to be served at the specified path. More... | |
Static Public Member Functions | |
static RTSPServer * | Create (uint16_t port=RTSP_DEFAULT_PORT) |
Create a RTSP server on this port. More... | |
Protected Member Functions | |
RTSPServer (uint16_t port) | |
~RTSPServer () | |
bool | init () |
Static Protected Member Functions | |
static void * | runThread (void *user_data) |
Protected Attributes | |
uint16_t | mPort |
uint32_t | mRefCount |
Thread * | mThread |
bool | mRunning |
_GMainLoop * | mMainLoop |
_GstRTSPServer * | mServer |
RTSP server for transmitting encoded GStreamer pipelines to client devices.
This is integrated into videoOutput/gstEncoder, but can be used standalone (
|
protected |
|
protected |
bool RTSPServer::AddRoute | ( | const char * | path, |
_GstElement * | pipeline | ||
) |
Register a GStreamer pipeline to be served at the specified path.
It will be able to be viewed from clients at rtsp://hostname:port/path
bool RTSPServer::AddRoute | ( | const char * | path, |
const char * | pipeline | ||
) |
Create a GStreamer pipeline and register it to be served at the specified path.
It will be able to be viewed from clients at rtsp://hostname:port/path
|
static |
Create a RTSP server on this port.
If this port is already in use, the existing server instance will be returned.
|
protected |
void RTSPServer::Release | ( | ) |
Release a reference to the server instance.
Server will be shut down when the reference count reaches zero.
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |