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
_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users