ifm3d
ifm3d::RtspClient::Config Struct Reference

Configuration for an RtspClient instance. More...

#include <ifm3d/rtsp/rtsp_client.h>

Public Attributes

std::optional< std::string > url
 Full RTSP URL override (e.g. More...
 
std::uint16_t port = 8554
 RTSP server port, used when url is unset.
 
std::string stream_path = "port1"
 Stream path appended to the device IP, used when url is unset.
 
Transport transport = Transport::INTERLEAVED
 RTP transport selection.
 
std::optional< std::string > decoder
 Optional decoder selection. More...
 
OutputFormat output_format = OutputFormat::RGB
 Pixel layout of decoded frames delivered to OnNewFrame. More...
 

Detailed Description

Configuration for an RtspClient instance.

Member Data Documentation

◆ decoder

std::optional<std::string> ifm3d::RtspClient::Config::decoder

Optional decoder selection.

When unset, the first available decoder is used. Set to a decoder name substring (e.g. "ffmpeg") to prefer a specific decoder, or to "null" to explicitly disable decoding (NAL-only mode).

◆ output_format

OutputFormat ifm3d::RtspClient::Config::output_format = OutputFormat::RGB

Pixel layout of decoded frames delivered to OnNewFrame.

Defaults to OutputFormat::RGB.

◆ url

std::optional<std::string> ifm3d::RtspClient::Config::url

Full RTSP URL override (e.g.

rtsp://192.168.0.69:8554/port1). When unset the URL is built from the device IP, port and stream_path.


The documentation for this struct was generated from the following file: