Hi,

I know thats not right place to ask it here, but i don't know right 
place and many of this list users know the answer.

I'm trying to implement RTCP/RTP but some places in rfc will stay unclear.

RFC 3550 6.3

....
*******************************************************************
To execute these rules, a session participant must maintain several
   pieces of state:

   tp: the last time an RTCP packet was transmitted;

   tc: the current time;

   tn: the next scheduled transmission time of an RTCP packet;

   pmembers: the estimated number of session members at the time tn
      was last recomputed;

   members: the most current estimate for the number of session
      members;

   senders: the most current estimate for the number of senders in
      the session;

   rtcp_bw: The target RTCP bandwidth, i.e., the total bandwidth
      that will be used for RTCP packets by all members of this session,
      in octets per second.  This will be a specified fraction of the
      "session bandwidth" parameter supplied to the application at
      startup.

   we_sent: Flag that is true if the application has sent data
      since the 2nd previous RTCP report was transmitted.

   avg_rtcp_size: The average compound RTCP packet size, in octets,
      over all RTCP packets sent and received by this participant.  The
      size includes lower-layer transport and network protocol headers
      (e.g., UDP and IP) as explained in Section 6.2.

   initial: Flag that is true if the application has not yet sent
      an RTCP packet.
************************************************************

Ok from there i get each session participant holds that info.
But now from 6.3.4 Receiving an RTCP BYE Packet

***********************************************************
o  The value for tn is updated according to the following formula:

         tn = tc + (members/pmembers) * (tn - tc)

   o  The value for tp is updated according the following formula:

         tp = tc - (members/pmembers) * (tc - tp).

   o  The next RTCP packet is rescheduled for transmission at time tn,
      which is now earlier.

**********************************************************

How that affects next RTCP packet time, if each participant holds that 
state and is responsible for sending it's sender report(SR) ?
Or i miss something ?

And about receiver reports and also sender reports, what is responsible 
sending of them, RTP session or participant.

Thanks







_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to