Hi,

I see. I've been thinking about it and I've come to the conclusion that I'll
try to implement the RTCP protocol by myself. What do you recommend me?, to
use WP Classic or NG? I think that could be better for the community to make
it in NG, but I'm scared about the fault of reliability, and the problems I
would have to solve to make it work properly. 
Could somebody tell me how long could it take to implement the RTCP? If you
think that this work could be very hard, please, tell me why, to consider
it.

Thanks.
Fernando

-----Mensaje original-----
De: David Ferlier [mailto:[EMAIL PROTECTED] 
Enviado el: miércoles, 10 de mayo de 2006 18:38
Para: Fernando Camarero
CC: 'Wengophone-Devel'
Asunto: Re: [Wengophone-devel] RTCP code

Hi,

The packets you catched are not RTCP packets, these are RTP packets. 
Port 10600 is reserved for RTP audio data by phapi. The 
"media-2.host.wengo.fr" machine is one of our RTP proxies.

David

Fernando Camarero wrote:
> Hi,
>
> I haven't built the NG version, but using the WengoPhone 0.99 and
> windump.exe I've noticed that there are RTCP packets sent to and received
> from 80.118.99.23.36136 (media-2.host.wengo.fr.38714).
>
> I paste here two packets catched by windump.exe
>
> 14:59:34.564433 IP 80.118.99.23.36136 > 192.168.1.212.10600:  type-0x6f 84
> 14:59:34.582437 IP 192.168.1.212.10600 > 80.118.99.23.36136:  type-0x6f 32

> type-0xff 262144
>
> 15:02:09.622257 IP media-2.host.wengo.fr.38714 > MEROVINGIO.10600:  
> type-0x6f 36 type-0xff 262144
> 15:02:09.634856 IP MEROVINGIO.10600 > media-2.host.wengo.fr.38714:  
> type-0x6f 12 type-0xa6 53260
>
> It seems to be a RTCP communication. I don’t know if NG works like v0.99.
>
> Mercy et a plus tard.
>
> -----Mensaje original-----
> De: David Ferlier [mailto:[EMAIL PROTECTED] 
> Enviado el: miércoles, 10 de mayo de 2006 15:50
> Para: Fernando Camarero
> CC: Wengophone-Devel
> Asunto: Re: [Wengophone-devel] RTCP code
>
> Hi,
>
> For RTP matters in the wengophone world, phapi uses ortp. ORTP, as it is 
> in our repository, has a very poor RTCP implementation that you can find 
> here :
>
>
http://dev.openwengo.com/trac/openwengo/trac.cgi/browser/wengophone-ng/trunk
> /wifo/ortp/src/rtcp.c
>
> As of today, RTCP is *not* used by any part of the wengophone or phapi 
> (unless i'm proven wrong). I don't recommend you going through the 
> process of trying to do any actual RTCP stuff with ortp, but if you 
> really want to, i can somewhat help you. Back in the days when i wrote 
> the video support of phapi, i had tried to write an automatic regulator 
> of the bandwidth used by the video codecs. It used RTCP for that matter.
>
> To make it work i had to modify ortp's code a little. If you look here :
>
>
http://dev.openwengo.com/trac/openwengo/trac.cgi/browser/wengophone-ng/trunk
> /wifo/ortp/src/rtpsession.h
>
> At lines 227-231 :
>
> *void* (*rtcp_rr_sent_cb)(RtpSession *, rtcp_t *);
> *void* (*rtcp_rr_received_cb)(RtpSession *, rtcp_t *);
> *void* (*rtcp_sr_sent_cb)(RtpSession *, rtcp_t *);
> *void* (*rtcp_sr_received_cb)(RtpSession *, rtcp_t *);
>
> These are RTCP callbacks per rtp session. To set them, just use 
> session->rtcp_rr_received_cb = process_func.
>
> To make your own RRs and SRs, look at rtcp.h. It's not very hard.
>
> Hope it helps somewhat,
>
> David
>
> Fernando Camarero wrote:
>   
>> Hello everyone,
>>
>> I’d like to know where is the RTCP protocol called in the NG code. I’m 
>> goint to try to perform a RTCP between the SR and the RR directly, 
>> without using the wengo server. I’m searching in the code, and I 
>> haven’t found yet the main code in where the RTCP protocol is used. I 
>> mean the part of the program where it’s set the IP address of the 
>> receiver of the RTCP packet, where the RTCP packet is sent and 
>> received, and where the control process of these packets take place.
>>
>> I’d be very grateful if somebody knows it and answers me.
>>
>> Best regards
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Wengophone-devel mailing list
>> [email protected]
>> http://dev.openwengo.com/mailman/listinfo/wengophone-devel
>>     
>
>
>   


-- 
     David Ferlier -- [EMAIL PROTECTED]

      "Humor is mankind's greatest blessing."
              --  Mark Twain 

_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to