Hi, basically you have two options to get info from RTCP packet. The first is shown in the example rtplisten: redefining virtuals such as onGotSR and onGotRR -which get as parameters structures for the RTCP reports. If you want rtpsend to report the reception of RTCP packets, just add the redefinitions of virtuals such as onGotSR, onGotRR, etc. This will give you access to all RTCP packets.
The other and simpler option is using the methods getMRSenderInfo and getMRReceiverInfo, which will provide just the most recently received sender/receiver reports for a source. On Wed, Sep 14, 2005 at 05:22:08PM +0000, Mario Mateos wrote: > Hi, > How can i send RTCP packets from a receiver to a sender? My problem is that > my sender sends automatically RTCP packets (SR when RTP packets were sent > and RR when there were not RTP packets). But my Receiver doesn't send any > RTCP packet to the sender. > I've used RTPListen, RTPSend, audiotx and audiorx. > If I want to see the number of lost packets from sender to Receiver, isn't > this information in RTCP packets from Receiver? Or am i mistaken and that > info can be consulted in RTCP packets from Sender to Receiver? > Anyway, how can i see the information in RTCP packets? (information like > Cummulative packets lost, fraction lost,...) > Thanks a lot > > > > > _______________________________________________ > Ccrtp-devel mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/ccrtp-devel _______________________________________________ Ccrtp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/ccrtp-devel
