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
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/linphone-users


_______________________________________________
Linphone-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to