docs/html/classRTSPServer.html
| | Jetson Inference
DNN Vision Library |
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
RTSPServer Class Reference Utilities Library (jetson-utils) » Networking
RTSP server for transmitting encoded GStreamer pipelines to client devices. More...
#include <RTSPServer.h>
|
|
| 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 RTSPServer * | Create (uint16_t port=RTSP_DEFAULT_PORT) |
| | Create a RTSP server on this port. More...
|
| |
|
| | | RTSPServer (uint16_t port) | | | | | ~RTSPServer () | | | | bool | init () | | |
|
| | static void * | runThread (void *user_data) | | |
|
| | 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 (
See alsortsp-server example)
|
| RTSPServer::RTSPServer | ( | uint16_t | port | ) | |
| protected |
|
| RTSPServer::~RTSPServer | ( | | ) | |
| 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 RTSPServer* RTSPServer::Create | ( | uint16_t | port = RTSP_DEFAULT_PORT | ) | |
| static |
Create a RTSP server on this port.
If this port is already in use, the existing server instance will be returned.
|
| bool RTSPServer::init | ( | | ) | |
| protected |
| void RTSPServer::Release | ( | | ) | |
Release a reference to the server instance.
Server will be shut down when the reference count reaches zero.
|
| static void* RTSPServer::runThread | ( | void * | user_data | ) | |
| staticprotected |
|
| _GMainLoop* RTSPServer::mMainLoop |
| protected |
|
| uint16_t RTSPServer::mPort |
| protected |
|
| uint32_t RTSPServer::mRefCount |
| protected |
|
| bool RTSPServer::mRunning |
| protected |
|
| _GstRTSPServer* RTSPServer::mServer |
| protected |
|
| Thread* RTSPServer::mThread |
| protected |
The documentation for this class was generated from the following file:
jetson-utils/RTSPServer.h
Generated on Fri Mar 17 2023 14:29:30 for Jetson Inference by 1.8.17