linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] RTCP stat problem


From: Simon Morlat
Subject: Re: [Linphone-developers] RTCP stat problem
Date: Tue, 22 Apr 2008 16:15:32 +0200
User-agent: KMail/1.9.7

Hi,

You are right.
I'm going to fix this on my CVS tree.
Thank you very much for reporting this problem.

Simon

Le Wednesday 26 March 2008 12:05:11 VisualC, vous avez écrit :
> Hi,
>
> It seems the statistic computed for the RTCP reports uses the RTP header
> size, and according to the RFC it should not.
>
> RFC 1889 (page 24)
> The total number of payload octets (i.e., not including header or padding)
> transmitted in RTP data packets by the sender since starting transmission
> up until the time this SR packet was generated. The count is reset if the
> sender changes its SSRC identifier. This field can be used to estimate the
> average payload data rate.
>
> rtp_session_sendm_with_ts() function should probably be changed from
>       ortp_global_stats.sent += packsize;
>       stream->stats.sent += packsize;
>
> to something like that
>       ortp_global_stats.sent += (packsize - RTP_FIXED_HEADER_SIZE);
>       stream->stats.sent += (packsize - RTP_FIXED_HEADER_SIZE);
>
> Olivier
>
>
>
>
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers






reply via email to

[Prev in Thread] Current Thread [Next in Thread]