mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 19:51:49 +08:00
Update RtpProcess.cpp
This commit is contained in:
@@ -291,6 +291,7 @@ int RtpProcess::getLossRate(MediaSource &sender, TrackType type)
|
||||
if (!expected) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return help->geLostInterval() * 100 / expected;
|
||||
}
|
||||
}//namespace mediakit
|
||||
|
||||
Reference in New Issue
Block a user