Hi everybody,

I've tested my software and I've found out that getFirstTimestamp() method
returns 0, but it shouldn't return 0, because packets are on that specific
port (I can see them with Ethereal) ...

any hints, please ?

Thanks,

Carmelo


        --------- Original Message --------
        Da: Carmelo <[EMAIL PROTECTED]>
        To: [email protected] <[email protected]>
        Oggetto: ccRTP Receiver problem
        Data: 05/10/07 14:36
        
        > 
> 
> 
> 
> 
> Hi,
> 
> I have a problem in receiving rtp packets with my application.
> I'm using ccrtp v. 1.5.1. With my application I am able to transmit RTP
> packets (on the remote pc I can hear voice), but I am not able to hear
> anything on local pc when remote pc send me voice! I can debug my software
> and see that adu is always NULL!! 
> I'm almost sure I receive RTP packets, because I have checked it through
> Ethereal. I create a socket and listen on the right port, but I don't
> understand why it doesn't work!!
> 
> My code is
> // begin code
> for(i=0; true; i++)
> {
>   const AppDataUnit *adu;
>   do{
>      adu = socket->getData(socket->getFirstTimestamp());
>      if(NULL == adu)
>      {
>         Thread::sleep(5);
>      }
>   } while ((NULL == adu) || (adu->getSize() <= 0));
> 
>   ...
> }
> // end code
> 
> Could anybody help me ??
> 
> Thanks in advance,
> 
> Carmelo 
>  --
>  Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>  
>  Sponsor:
>  Scopri Premia di Fiditalia, il primo prestito con 11 rate all'anno
> 
>  Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7066&d=20071005
> 
> 
>  
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Dimagrire in 30 giorni: Garanzia soddisfatti o rimborsati


 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7108&d=20071008




_______________________________________________
Ccrtp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ccrtp-devel

Reply via email to