[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-users] ORTP issues
From: |
Simon Morlat |
Subject: |
Re: [Linphone-users] ORTP issues |
Date: |
Mon, 27 Mar 2006 18:54:51 +0200 |
User-agent: |
KMail/1.9.1 |
Hi,
No doubt that there's a bug in oRTP around that. Unfortunately I have no wince
and no time to spend on that problem. The more I can do is to help you locate
the bug:
the sleep wakeup mechanism is done through
pthread_cond_wait/pthread_cond_signal that maps on windows
WaitForSingleObject and CreateEvent.
I would be very suprised that the bug be here.
However I would rather suspect the scheduler loop to go too fast because of a
bad behaviour of the timer: see posixtimer.c . The win_timer_do() function is
supposed to sleep until the next 10 ms interrupt. Can you check that this
function does its job normally ?
Simon
Le Lundi 27 Mars 2006 14:28, Ram a écrit :
> Hi,
> I have downloaded the latest cvs sources of ortp.
>
> I compiled on evc++ for wince.
>
>
> I am running rtpsend and rtprecv on both the machines.
>
> on the recieve side - i am getting the packets sent by the sender.
>
> what is happening is -
> err=rtp_session_recv_with_ts() returns immediately (before its
> scheduled time of return)
> As a result, my audio driver buffers are full.
>
> in effect :
> while (1) {
> err=rtp_session_recv_with_ts() ;
> }
>
> Always rtp_session_recv_with_ts () returns - i think it is supposed to
> return depending on userts and starting ts. but it returns (silence
> packet).
>
>
> what could be wrong - i think there could be a problem with the
> rtpscheduler (which wakes up threads). i think my thread is not put to
> sleep at all.
>
>
>
> Please advice.
>
>
> Regards,
> sriram