|
LiveKit C++ Client SDK v1.13.0
Real-time audio/video/data SDK for C++
|
Configuration for encoded ingest from a GStreamer pipeline. More...
#include <capture_source.h>
Public Attributes | |
| std::string | pipeline |
| GStreamer launch description for the encoded producer pipeline. | |
| std::optional< VideoCodec > | codec |
| Codec expected from the pipeline; inferred from pipeline caps when omitted. | |
| std::optional< CaptureResolution > | resolution |
| Encoded frame resolution. | |
| std::optional< GstreamerRateControl > | rate_control |
| Forwards WebRTC rate-control targets to an encoder element's bitrate property. | |
Configuration for encoded ingest from a GStreamer pipeline.
| std::string livekit::capture::GstreamerVideoSourceConfig::pipeline |
GStreamer launch description for the encoded producer pipeline.
appsink name=lk_appsink, or leave exactly one encoded video source pad unlinked for the source to attach one to. | std::optional<GstreamerRateControl> livekit::capture::GstreamerVideoSourceConfig::rate_control |
Forwards WebRTC rate-control targets to an encoder element's bitrate property.
Without this, the pipeline encodes at a fixed bitrate.
| std::optional<CaptureResolution> livekit::capture::GstreamerVideoSourceConfig::resolution |
Encoded frame resolution.
When omitted, it is discovered from the pipeline's negotiated caps; when set, the pipeline output is verified against it.