Allowing custom gst-launches and specification of format in the camera
This commit is contained in:
3 files changed
+24
-6
No files matched your search
@@ -21,8 +21,15 @@ pub struct CameraConfig {
|
||||
pub password: Option<String>,
|
||||
|
||||
pub timeout: Option<Duration>,
|
||||
|
||||
#[serde(default = "default_format")]
|
||||
pub format: String,
|
||||
}
|
||||
|
||||
fn default_bind_addr() -> String {
|
||||
"0.0.0.0".to_string()
|
||||
}
|
||||
|
||||
fn default_format() -> String {
|
||||
"h265".to_string()
|
||||
}
|
||||
Reference in new issue
Block a user