Update RtpProcess.cpp
This commit is contained in:
parent
ed6c80cf07
commit
c1b4ccd041
|
|
@ -291,6 +291,7 @@ int RtpProcess::getLossRate(MediaSource &sender, TrackType type)
|
||||||
if (!expected) {
|
if (!expected) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return help->geLostInterval() * 100 / expected;
|
return help->geLostInterval() * 100 / expected;
|
||||||
}
|
}
|
||||||
}//namespace mediakit
|
}//namespace mediakit
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue