mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-11-28 13:09:10 -05:00
add camera name to rtp packet loss messages
This commit is contained in:
@@ -125,11 +125,14 @@ fn press_test_inner(
|
||||
username: Option<String>,
|
||||
password: Option<String>,
|
||||
) -> Result<String, Error> {
|
||||
let (extra_data, _stream) = stream::FFMPEG.open(stream::Source::Rtsp {
|
||||
url,
|
||||
username,
|
||||
password,
|
||||
})?;
|
||||
let (extra_data, _stream) = stream::FFMPEG.open(
|
||||
"test stream".to_owned(),
|
||||
stream::Source::Rtsp {
|
||||
url,
|
||||
username,
|
||||
password,
|
||||
},
|
||||
)?;
|
||||
Ok(format!(
|
||||
"{}x{} video stream",
|
||||
extra_data.entry.width, extra_data.entry.height
|
||||
|
||||
Reference in New Issue
Block a user