linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-users] Bug in oRTP Version ortp-0.10.1


From: Kannaiyan Natesan
Subject: [Linphone-users] Bug in oRTP Version ortp-0.10.1
Date: Thu, 27 Jul 2006 11:10:11 +0800

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]