[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-users] oRTP set select on rtp_session_recv_with_ts
From: |
Ghan Vashishtha |
Subject: |
[Linphone-users] oRTP set select on rtp_session_recv_with_ts |
Date: |
Wed, 1 Oct 2014 11:51:26 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Hi all,
I am using oRTP in a proprietary section i added. The application
requirement made me implement select() as I dont want the loop/thread to run
continuously. But it is not waiting and getting inside to
recv. I used the following to do it:
SessionSet *set;int ret;
set=session_set_new();
while(1)
{
session_set_set(set,session);
ret=session_set_select(set,NULL,NULL);
if (session_set_is_set(set,session))
{
// Core business logic
}
}
session_set_destroy(set);
Relevant session Configuration is as :
rtp_session_set_scheduling_mode(session,TRUE); tried with false
rtp_session_set_recv_buf_size(session,1500);
rtp_session_set_blocking_mode(session,0); tried with 1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Linphone-users] oRTP set select on rtp_session_recv_with_ts,
Ghan Vashishtha <=