|
Jetson Inference
DNN Vision Library
|
Go to the documentation of this file.
23 #ifndef __RTSP_SERVER_H__
24 #define __RTSP_SERVER_H__
33 struct _GstRTSPServer;
41 #define RTSP_DEFAULT_PORT 8554
47 #define LOG_RTSP "[rtsp] "
74 bool AddRoute(
const char* path, _GstElement* pipeline );
80 bool AddRoute(
const char* path,
const char* pipeline );
88 static void*
runThread(
void* user_data );
RTSP server for transmitting encoded GStreamer pipelines to client devices.
Definition: RTSPServer.h:55
bool AddRoute(const char *path, _GstElement *pipeline)
Register a GStreamer pipeline to be served at the specified path.
#define RTSP_DEFAULT_PORT
Default port used by RTSP server.
Definition: RTSPServer.h:41
_GMainLoop * mMainLoop
Definition: RTSPServer.h:96
RTSPServer(uint16_t port)
bool mRunning
Definition: RTSPServer.h:94
Thread * mThread
Definition: RTSPServer.h:93
uint16_t mPort
Definition: RTSPServer.h:90
_GstRTSPServer * mServer
Definition: RTSPServer.h:97
static RTSPServer * Create(uint16_t port=RTSP_DEFAULT_PORT)
Create a RTSP server on this port.
static void * runThread(void *user_data)
Thread class for launching an asynchronous operating-system dependent thread.
Definition: Thread.h:44
void Release()
Release a reference to the server instance.
uint32_t mRefCount
Definition: RTSPServer.h:91