Linphone::Core::LinphoneCallStats::LinphoneCallStats(::LinphoneCall *call, Linphone::Core::MediaType mediaType) : call(call) { API_LOCK; const ::LinphoneCallStats *stats = nullptr; if (mediaType == Linphone::Core::MediaType::Audio) { stats = linphone_call_get_audio_stats(this->call); } else { stats = linphone_call_get_video_stats(this->call); } FillStats(stats); }
Linphone::Core::LinphoneCallStats::LinphoneCallStats(::LinphoneCallStats *callStats) { API_LOCK; FillStats(callStats); }
stats player::GSt() { FillStats(); return Stats; }