[Live-devel] RTCP
Msakni Mehdi
mehdi18832001 at yahoo.fr
Wed Apr 26 07:12:42 PDT 2006
Dear Ross,
I'm trying to see the information in RTCP RR but it doesn't work.
void taskfunc_RR(void* clientData)
{
printf("RTCP RR received\n");
int packetLossRatio=-1,totNumPacketsLost=-1,jitter=-1;
RTPTransmissionStatsDB::Iterator statsIter(videoSink->transmissionStatsDB());
RTPTransmissionStats* stats = statsIter.next();
if (stats != NULL) {
packetLossRatio = stats->packetLossRatio();
totNumPacketsLost = stats->totNumPacketsLost();
jitter = stats->jitter();
}
printf("kBytesTotal %d\n",packetLossRatio);
printf("totNumPacketsReceived %d\n",totNumPacketsLost);
printf("totNumPacketsExpected %d\n",jitter);
}
I want to know if the videoSink->transmissionStatsDB() is update automaticaly or should i update it by myself ?
Thanks.
---------------------------------
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Cliquez ici.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20060426/f1c8af9f/attachment.html
More information about the live-devel
mailing list