[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-users] Bug in oRTP Version ortp-0.10.1
From: |
Simon Morlat |
Subject: |
Re: [Linphone-users] Bug in oRTP Version ortp-0.10.1 |
Date: |
Thu, 27 Jul 2006 22:24:40 +0200 |
User-agent: |
KMail/1.9.3 |
Hello,
I'm sure to understand what your problem is:
After destroying a session and creating a new one, this last one blocks into
the code you showed: is that correct ?
If this is correct, then it would help debugging to know the values of
packet_time and sched->time_.
Simon
Le jeudi 27 juillet 2006 05:10, Kannaiyan Natesan a écrit :
> When I end a blocking call, and if I call rtp_session_destroy(session),
>
> In the next session, I'm not receiving the incoming packets, and it is
> becoz it is waiting in the following function code and my calling thread
> blocks,
>
>
> if (TIME_IS_STRICTLY_NEWER_THAN (packet_time, sched->time_))
> {
> wait_point_wakeup_at(&session->recv_wp,packet_time,
> (session->flags & RTP_SESSION_BLOCKING_MODE)!=0);
> session_set_clr(&sched->r_sessions,session);
> }
>
>
> exact function is,
>
> void wait_point_wakeup_at(WaitPoint *wp, uint32_t t, bool_t dosleep){
> wp->time=t;
> wp->wakeup=TRUE;
> if (dosleep) ortp_cond_wait(&wp->cond,&wp->lock);
> }
>
> I guess once the session is destroyed, the ortp_cond_wait must release
> condition.
>
> Please help.
>
> Regards,
> Kannaiyan
>
>
>
>
> _______________________________________________
> Linphone-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-users
Re: [Linphone-users] Build questions, Simon Morlat, 2006/07/27