mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-11-24 19:46:17 -05:00
allow setting rtsp transport per-stream
This commit is contained in:
@@ -209,6 +209,10 @@ pub struct StreamConfig {
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub url: Option<Url>,
|
||||
|
||||
/// The RTSP transport (`tcp` or `udp`) to use.
|
||||
#[serde(default, skip_serializing_if = "String::is_empty")]
|
||||
pub rtsp_transport: String,
|
||||
|
||||
/// The number of bytes of video to retain, excluding the
|
||||
/// currently-recording file.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user