void RTCPInstance::onExpire1() { // Note: fTotSessionBW is kbits per second double rtcpBW = 0.05*fTotSessionBW*1024/8; // -> bytes per second OnExpire(this, // event numMembers(), // members (fSink != NULL) ? 1 : 0, // senders rtcpBW, // rtcp_bw (fSink != NULL) ? 1 : 0, // we_sent &fAveRTCPSize, // ave_rtcp_size &fIsInitial, // initial dTimeNow(), // tc &fPrevReportTime, // tp &fPrevNumMembers // pmembers ); }
static void rtcp_on_expire(RtspdSession_t* session) { // Note: fTotSessionBW is kbits per second double rtcpBW = 0.05*session->total_session_bw*1024/8; // -> bytes per second //RTSPD_TRACE("OnExpire(%d)\n", session->avg_rtcp_size); OnExpire(session, // event session->members, // members session->senders, // senders rtcpBW, // rtcp_bw 1 , // we_sent &session->avg_rtcp_size, // ave_rtcp_size &session->initial, // initial dTimeNow(), // tc &session->prev_report_time, // tp &session->pmembers// pmembers ); }
void OnDispel(Aura* pDispelledAura, Spell* pDispellingSpell) { OnExpire(pDispelledAura); //does same thing }