Commit 8d8cbad9 authored by Simon Morlat's avatar Simon Morlat

re-implement audio stats

parent 7ef277fd
......@@ -515,7 +515,7 @@ void Daemon::iterateStreamStats() {
while (it->second->queue && (NULL != (ev=ortp_ev_queue_get(it->second->queue)))){
OrtpEventType evt=ortp_event_get_type(ev);
if (evt == ORTP_EVENT_RTCP_PACKET_RECEIVED || evt == ORTP_EVENT_RTCP_PACKET_EMITTED) {
//linphone_call_stream_stats_hack(&it->second->stream->ms, &it->second->stats, ev);
linphone_call_stats_fill(&it->second->stats, &it->second->stream->ms, ev);
if (mUseStatsEvents) mEventQueue.push(new AudioStreamStatsResponse(this,
it->second->stream, &it->second->stats, true));
}
......
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