mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 17:23:28 +00:00
formatted some rust docs
This commit is contained in:
@@ -70,7 +70,10 @@ pub fn start_stream(
|
||||
let rtsp_url = if username.is_empty() || password.is_empty() {
|
||||
format!("rtsp://{}:{}/{}", address, port, stream_path)
|
||||
} else {
|
||||
format!("rtsp://{}:{}@{}:{}/{}", username, password, address, port, stream_path)
|
||||
format!(
|
||||
"rtsp://{}:{}@{}:{}/{}",
|
||||
username, password, address, port, stream_path
|
||||
)
|
||||
};
|
||||
|
||||
let mut cmd = Command::new("ffmpeg");
|
||||
|
||||
Reference in New Issue
Block a user