Le mardi 19 décembre 2006 04:22, Kannaiyan a écrit : > Hi Simon, > > The reason for the need is below, > > 1. To anaylse how is the communication performance between the end parties. I think for this you just need to look at received RTCP packet. See linphone/mediastreamer2/test/mediastream.c for a quick code to get and parse RTCP packets using oRTP.
> 2. When the bandwidth occupied is high and the quality of voice is low, > need to switch to low bit rate codec. Unfortunately there are no bandwidth indications in RTCP as defined in rfc3551. The interrarival jitter and number of packet lost of incoming RTCP packets can be used to estimate the quality of the communication. > 3. When it comes to video, sometimes the base frame is not proper, so we > might need to ask the remote party to start sending the pilot frame or base > frame. Nothing exists in rfc3551 for that but I think there are draft being developped for that. Currently there is no real API to create and send custom RTCP packets with oRTP. You may have to use the internal routines in rtcp.c to build your rtcp packets. Simon > > Thanks. > > Regards, > Kannaiyan > > ----- Original Message ----- > From: "Kannaiyan" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; <[email protected]> > Sent: Tuesday, December 19, 2006 10:10 AM > Subject: Re: [Linphone-users] ORTP with Symmetric > > > Hi Simon, > > > > Thanks for the help. > > I want to send the RTCP packets to be sent out with a desired interval. > > Also what is the best way to take control of the RTCP and do the > > transmission by myself, rather than asking ortp to do it. > > > > Regards, > > Kannaiyan > > > > ----- Original Message ----- > > From: "Simon Morlat" <[EMAIL PROTECTED]> > > To: <[email protected]>; "Kannaiyan" <[EMAIL PROTECTED]> > > Sent: Saturday, December 16, 2006 5:15 AM > > Subject: Re: [Linphone-users] ORTP with Symmetric > > > > > > Hi, > > > > I think all you need is to create a RtpSession with RTP_SESSION_SENDRECV, > > thus > > call rtp_session_set_symmetric_rtp() that would make outgoing packets go > > to > > the source of incoming packets. > > RTCP packets will be compound packets with SDES and SR (including a RR). > > > > Simon > > > > Le mercredi 13 décembre 2006 03:35, Kannaiyan a écrit : > >> Hi, > >> > >> I want to receive rtp with a Symmetric Nat and send it back from where I > >> received the RTP FROM. > >> Shall I start a session with RTP_SESSION_SENDRECV and change the > >> sending port once I receive the RTP > >> > >> What is the best way of achieveing this? > >> > >> Currently I do a single voice call with two sessions, > >> > >> RTP_SESSION_SENDONLY > >> RTP_SESSION_RECVONLY > >> > >> and works fine. > >> > >> Shall I send RTCP Report as a single RTCP Packet for both send and > >> receive? > >> Anyway to merge the reports of two sessions and send the RTCP Report? > >> > >> Thanks. > >> > >> Regards, > >> Kannaiyan > >> > >> > >> > >> > >> _______________________________________________ > >> Linphone-users mailing list > >> [email protected] > >> http://lists.nongnu.org/mailman/listinfo/linphone-users > > > > _______________________________________________ > > Linphone-users mailing list > > [email protected] > > http://lists.nongnu.org/mailman/listinfo/linphone-users > > _______________________________________________ > Linphone-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/linphone-users _______________________________________________ Linphone-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/linphone-users
