Commit 66b50d66 authored by Simon Morlat's avatar Simon Morlat

add estimated bandwidth statistics

parent 7219a87b
......@@ -243,6 +243,10 @@
<source>callStatsDownloadBandwidth</source>
<translation>Download bandwidth</translation>
</message>
<message>
<source>callStatsEstimatedDownloadBandwidth</source>
<translation>Estimated download bandwidth</translation>
</message>
<message>
<source>callStatsIceState</source>
<translation>ICE state</translation>
......
......@@ -243,6 +243,10 @@
<source>callStatsDownloadBandwidth</source>
<translation>Bande passante de réception</translation>
</message>
<message>
<source>callStatsEstimatedDownloadBandwidth</source>
<translation>Bande passante de réception estimée</translation>
</message>
<message>
<source>callStatsIceState</source>
<translation>État ICE</translation>
......
......@@ -653,6 +653,7 @@ void CallModel::updateStats (const shared_ptr<const linphone::CallStats> &callSt
statsList << ::createStat(tr("callStatsJitterBuffer"), QStringLiteral("%1 ms").arg(callStats->getJitterBufferSizeMs()));
break;
case linphone::StreamTypeVideo: {
statsList << ::createStat(tr("callStatsEstimatedDownloadBandwidth"), QStringLiteral("%1 kbits/s").arg(int(callStats->getEstimatedDownloadBandwidth())));
const QString sentVideoDefinitionName = ::Utils::coreStringToAppString(params->getSentVideoDefinition()->getName());
const QString sentVideoDefinition = QStringLiteral("%1x%2")
.arg(params->getSentVideoDefinition()->getWidth())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment